Lines Matching refs:sc_data_direction
822 int nseg, datadir = scsi_cmnd->sc_data_direction; in lpfc_scsi_prep_dma_buf_s3()
1549 int datadir = sc->sc_data_direction; in lpfc_bg_setup_bpl()
1698 int datadir = sc->sc_data_direction; in lpfc_bg_setup_bpl_prot()
1982 if (sc->sc_data_direction == DMA_FROM_DEVICE) { in lpfc_bg_setup_sgl()
2471 if (sc->sc_data_direction == DMA_FROM_DEVICE) { in lpfc_bg_scsi_adjust_dl()
2513 int datasegcnt, protsegcnt, datadir = scsi_cmnd->sc_data_direction; in lpfc_bg_scsi_prep_dma_buf_s3()
2649 scsi_cmnd->sc_data_direction); in lpfc_bg_scsi_prep_dma_buf_s3()
3249 scsi_cmnd->sc_data_direction == DMA_TO_DEVICE) { in lpfc_scsi_prep_dma_buf_s4()
3312 int datasegcnt, protsegcnt, datadir = scsi_cmnd->sc_data_direction; in lpfc_bg_scsi_prep_dma_buf_s4()
3445 scsi_cmnd->sc_data_direction == DMA_TO_DEVICE) { in lpfc_bg_scsi_prep_dma_buf_s4()
3493 scsi_cmnd->sc_data_direction); in lpfc_bg_scsi_prep_dma_buf_s4()
3623 } else if ((cmnd->sc_data_direction == DMA_FROM_DEVICE) && in lpfc_send_scsi_error_event()
3680 psb->pCmd->sc_data_direction); in lpfc_scsi_unprep_dma_buf()
3974 ((cmnd->sc_data_direction == DMA_FROM_DEVICE) ? in lpfc_handle_fcp_err()
4314 cmd->sc_data_direction == DMA_FROM_DEVICE && in lpfc_fcp_io_cmd_wqe_cmpl()
4629 int datadir = scsi_cmnd->sc_data_direction; in lpfc_scsi_prep_cmnd_buf_s3()
4709 int datadir = scsi_cmnd->sc_data_direction; in lpfc_scsi_prep_cmnd_buf_s4()
5280 cmnd->sc_data_direction == DMA_FROM_DEVICE && in lpfc_queuecommand()
5391 cmnd->sc_data_direction, in lpfc_queuecommand()