Lines Matching refs:ocount
722 int ocount, res; in nsp_pio_read() local
725 ocount = data->FifoCount; in nsp_pio_read()
728 SCpnt, scsi_get_resid(SCpnt), ocount, scsi_pointer->ptr, in nsp_pio_read()
742 res = nsp_fifo_count(SCpnt) - ocount; in nsp_pio_read()
785 ocount += res; in nsp_pio_read()
803 data->FifoCount = ocount; in nsp_pio_read()
810 nsp_dbg(NSP_DEBUG_DATA_IO, "read ocount=0x%x", ocount); in nsp_pio_read()
825 int ocount, res; in nsp_pio_write() local
828 ocount = data->FifoCount; in nsp_pio_write()
844 res = ocount - nsp_fifo_count(SCpnt); in nsp_pio_write()
851 ocount -= res; in nsp_pio_write()
856 res = ocount - nsp_fifo_count(SCpnt); in nsp_pio_write()
858 nsp_dbg(NSP_DEBUG_DATA_IO, "wait for all data out. ocount=0x%x res=%d", ocount, res); in nsp_pio_write()
888 ocount += res; in nsp_pio_write()
903 data->FifoCount = ocount; in nsp_pio_write()
909 nsp_dbg(NSP_DEBUG_DATA_IO, "write ocount=0x%x", ocount); in nsp_pio_write()