Lines Matching defs:stat
39 #include <linux/stat.h>
709 unsigned char stat, fifo_stat;
723 stat = nsp_index_read(base, SCSIBUSMON);
724 stat &= BUSMON_PHASE_MASK;
730 if (stat == BUSPHASE_DATA_IN) { /* phase changed? */
734 nsp_dbg(NSP_DEBUG_DATA_IO, "phase changed stat=0x%x", stat);
741 stat == BUSPHASE_DATA_IN) {
808 unsigned char stat;
821 stat = nsp_index_read(base, SCSIBUSMON);
822 stat &= BUSMON_PHASE_MASK;
824 if (stat != BUSPHASE_DATA_OUT) {
827 nsp_dbg(NSP_DEBUG_DATA_IO, "phase changed stat=0x%x, res=%d\n", stat, res);