Lines Matching refs:sc_data_direction
1191 (scmnd->sc_data_direction != DMA_TO_DEVICE && in srp_unmap_data()
1192 scmnd->sc_data_direction != DMA_FROM_DEVICE)) in srp_unmap_data()
1214 scmnd->sc_data_direction); in srp_unmap_data()
1643 if (!scsi_sglist(scmnd) || scmnd->sc_data_direction == DMA_NONE) in srp_map_data()
1646 if (scmnd->sc_data_direction != DMA_FROM_DEVICE && in srp_map_data()
1647 scmnd->sc_data_direction != DMA_TO_DEVICE) { in srp_map_data()
1650 scmnd->sc_data_direction); in srp_map_data()
1661 count = ib_dma_map_sg(ibdev, scat, nents, scmnd->sc_data_direction); in srp_map_data()
1668 scmnd->sc_data_direction == DMA_TO_DEVICE) { in srp_map_data()
1788 if (scmnd->sc_data_direction == DMA_TO_DEVICE) in srp_map_data()
1797 if (scmnd->sc_data_direction == DMA_TO_DEVICE) in srp_map_data()