Lines Matching refs:sc_data_direction

31 	if (cmd->sc_data_direction == DMA_TO_DEVICE) {  in qla2x00_get_cmd_direction()
35 } else if (cmd->sc_data_direction == DMA_FROM_DEVICE) { in qla2x00_get_cmd_direction()
207 if (!scsi_bufflen(cmd) || cmd->sc_data_direction == DMA_NONE) { in qla2x00_build_scsi_iocbs_32()
263 if (!scsi_bufflen(cmd) || cmd->sc_data_direction == DMA_NONE) { in qla2x00_build_scsi_iocbs_64()
368 scsi_sg_count(cmd), cmd->sc_data_direction); in qla2x00_start_scsi()
604 if (!scsi_bufflen(cmd) || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_type_6_iocbs()
613 if (cmd->sc_data_direction == DMA_TO_DEVICE) { in qla24xx_build_scsi_type_6_iocbs()
617 } else if (cmd->sc_data_direction == DMA_FROM_DEVICE) { in qla24xx_build_scsi_type_6_iocbs()
714 if (!scsi_bufflen(cmd) || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_iocbs()
722 if (cmd->sc_data_direction == DMA_TO_DEVICE) { in qla24xx_build_scsi_iocbs()
726 } else if (cmd->sc_data_direction == DMA_FROM_DEVICE) { in qla24xx_build_scsi_iocbs()
1101 direction_to_device = cmd->sc_data_direction == DMA_TO_DEVICE; in qla24xx_walk_and_build_prot_sglist()
1417 if (!data_bytes || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_crc_2_iocbs()
1425 if (cmd->sc_data_direction == DMA_TO_DEVICE) { in qla24xx_build_scsi_crc_2_iocbs()
1428 } else if (cmd->sc_data_direction == DMA_FROM_DEVICE) { in qla24xx_build_scsi_crc_2_iocbs()
1477 if (cmd->sc_data_direction == DMA_TO_DEVICE) in qla24xx_build_scsi_crc_2_iocbs()
1479 else if (cmd->sc_data_direction == DMA_FROM_DEVICE) in qla24xx_build_scsi_crc_2_iocbs()
1552 if (!data_bytes || cmd->sc_data_direction == DMA_NONE) { in qla24xx_build_scsi_crc_2_iocbs()
1630 scsi_sg_count(cmd), cmd->sc_data_direction); in qla24xx_start_scsi()
1775 scsi_sg_count(cmd), cmd->sc_data_direction); in qla24xx_dif_start_scsi()
1805 scsi_prot_sg_count(cmd), cmd->sc_data_direction); in qla24xx_dif_start_scsi()
1950 scsi_sg_count(cmd), cmd->sc_data_direction); in qla2xxx_start_scsi_mq()
2110 scsi_sg_count(cmd), cmd->sc_data_direction); in qla2xxx_dif_start_scsi_mq()
2140 scsi_prot_sg_count(cmd), cmd->sc_data_direction); in qla2xxx_dif_start_scsi_mq()
3119 scsi_sg_count(cmd), cmd->sc_data_direction); in qla82xx_start_scsi()
3249 if (cmd->sc_data_direction == DMA_TO_DEVICE) in qla82xx_start_scsi()
3251 else if (cmd->sc_data_direction == DMA_FROM_DEVICE) in qla82xx_start_scsi()