Lines Matching refs:io_dir
361 struct ScsiReqBlk *srb, u16 io_dir);
2245 struct ScsiReqBlk *srb, u16 io_dir) in data_io_transfer() argument
2252 ((io_dir & DMACMD_DIR) ? 'r' : 'w'), in data_io_transfer()
2281 io_dir |= DMACMD_SG; in data_io_transfer()
2291 io_dir &= ~DMACMD_SG; in data_io_transfer()
2301 if (io_dir & DMACMD_DIR) { /* read */ in data_io_transfer()
2304 DC395x_write16(acb, TRM_S1040_DMA_COMMAND, io_dir); in data_io_transfer()
2306 DC395x_write16(acb, TRM_S1040_DMA_COMMAND, io_dir); in data_io_transfer()
2323 if (io_dir & DMACMD_DIR) { /* read */ in data_io_transfer()
2390 if (io_dir & DMACMD_DIR) { in data_io_transfer()
2405 if (io_dir & DMACMD_DIR) in data_io_transfer()
2413 bval = (io_dir & DMACMD_DIR) ? SCMD_FIFO_IN : SCMD_FIFO_OUT; in data_io_transfer()