/drivers/scsi/ |
D | sr_ioctl.c | 55 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_tochdr() 89 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_tocentry() 155 cgc.data_direction = DMA_NONE; in sr_fake_playtrkind() 175 cgc.data_direction = DMA_NONE; in sr_play_trkind() 205 result = scsi_execute(SDev, cgc->cmd, cgc->data_direction, in sr_do_ioctl() 277 cgc.data_direction = DMA_NONE; in sr_tray_move() 406 cgc.data_direction = DMA_FROM_DEVICE; in sr_get_mcn() 439 cgc.data_direction = DMA_NONE; in sr_select_speed() 514 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_cd() 557 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_sector()
|
D | sr_vendor.c | 153 cgc.data_direction = DMA_TO_DEVICE; in sr_set_blocklength() 201 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check() 228 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check() 257 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check() 285 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check() 303 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check()
|
D | scsi_ioctl.c | 742 unsigned char data_direction; member 765 .data_direction = cgc32.data_direction, in scsi_get_cdrom_generic_arg() 790 .data_direction = cgc->data_direction, in scsi_put_cdrom_generic_arg() 825 switch (cgc.data_direction) { in scsi_cdrom_send_packet()
|
/drivers/target/iscsi/ |
D | iscsi_target_seq_pdu_list.c | 213 if (cmd->se_cmd.data_direction == DMA_TO_DEVICE) in iscsit_determine_counts_for_list() 296 if (cmd->se_cmd.data_direction == DMA_TO_DEVICE) in iscsit_do_build_pdu_and_seq_lists() 445 if (bl->data_direction & ISCSI_PDU_WRITE) { in iscsit_do_build_pdu_and_seq_lists() 452 } else if (bl->data_direction & ISCSI_PDU_READ) { in iscsit_do_build_pdu_and_seq_lists() 464 if (bl->data_direction & ISCSI_PDU_WRITE) { in iscsit_do_build_pdu_and_seq_lists() 471 } else if (bl->data_direction & ISCSI_PDU_READ) { in iscsit_do_build_pdu_and_seq_lists() 506 if (cmd->data_direction == DMA_NONE) in iscsit_build_pdu_and_seq_lists() 512 if (cmd->data_direction == DMA_FROM_DEVICE) { in iscsit_build_pdu_and_seq_lists() 513 bl.data_direction = ISCSI_PDU_READ; in iscsit_build_pdu_and_seq_lists() 520 bl.data_direction = ISCSI_PDU_WRITE; in iscsit_build_pdu_and_seq_lists()
|
D | iscsi_target_tmr.c | 395 switch (cmd->data_direction) { in iscsit_task_reassign_complete_scsi_cmnd() 404 cmd->data_direction); in iscsit_task_reassign_complete_scsi_cmnd() 790 if (ref_cmd->data_direction == DMA_NONE) in iscsit_check_task_reassign_expdatasn() 800 if (ref_cmd->data_direction == DMA_FROM_DEVICE) { in iscsit_check_task_reassign_expdatasn() 826 if (ref_cmd->data_direction == DMA_TO_DEVICE) { in iscsit_check_task_reassign_expdatasn() 838 ref_cmd->data_direction); in iscsit_check_task_reassign_expdatasn()
|
D | iscsi_target_seq_pdu_list.h | 49 int data_direction; member
|
D | iscsi_target.c | 997 int data_direction, payload_length; in iscsit_setup_scsi_cmd() local 1100 data_direction = (hdr->flags & ISCSI_FLAG_CMD_WRITE) ? DMA_TO_DEVICE : in iscsit_setup_scsi_cmd() 1104 cmd->data_direction = data_direction; in iscsit_setup_scsi_cmd() 1143 cmd->data_direction == DMA_FROM_DEVICE) { in iscsit_setup_scsi_cmd() 1159 cmd->data_direction, sam_task_attr, in iscsit_setup_scsi_cmd() 1472 if (cmd->data_direction != DMA_TO_DEVICE) { in __iscsit_check_dataout_hdr() 1776 cmd->data_direction = DMA_NONE; in iscsit_setup_nop_out() 2009 cmd->data_direction = DMA_NONE; in iscsit_handle_task_mgt_cmd() 2184 cmd->data_direction = DMA_NONE; in iscsit_setup_text_cmd() 2490 cmd->data_direction = DMA_NONE; in iscsit_handle_logout_cmd() [all …]
|
D | iscsi_target_erl1.c | 451 switch (cmd->data_direction) { in iscsit_handle_recovery_datain_or_r2t() 459 cmd->data_direction); in iscsit_handle_recovery_datain_or_r2t() 944 if ((cmd->data_direction == DMA_TO_DEVICE) && in iscsit_execute_cmd()
|
D | iscsi_target_util.c | 174 cmd->data_direction = DMA_NONE; in iscsit_allocate_cmd() 729 if (cmd->data_direction == DMA_TO_DEVICE) { in __iscsit_free_cmd() 733 if (cmd->data_direction == DMA_FROM_DEVICE) in __iscsit_free_cmd()
|
D | iscsi_target_erl2.c | 384 if (cmd->data_direction == DMA_TO_DEVICE) in iscsit_prepare_cmds_for_reallegiance()
|
/drivers/target/ |
D | target_core_rd.c | 418 enum dma_data_direction data_direction) in rd_execute_rw() argument 450 data_direction == DMA_FROM_DEVICE ? "Read" : "Write", in rd_execute_rw() 454 data_direction == DMA_TO_DEVICE) { in rd_execute_rw() 462 data_direction == DMA_FROM_DEVICE ? in rd_execute_rw() 486 if (data_direction == DMA_FROM_DEVICE) in rd_execute_rw() 522 data_direction == DMA_FROM_DEVICE) { in rd_execute_rw()
|
D | target_core_file.c | 263 enum dma_data_direction data_direction) in fd_execute_rw_aio() argument 265 int is_write = !(data_direction == DMA_FROM_DEVICE); in fd_execute_rw_aio() 588 enum dma_data_direction data_direction) in fd_execute_rw_buffered() argument 600 if (data_direction == DMA_FROM_DEVICE) { in fd_execute_rw_buffered() 672 enum dma_data_direction data_direction) in fd_execute_rw() argument 689 return fd_execute_rw_aio(cmd, sgl, sgl_nents, data_direction); in fd_execute_rw() 690 return fd_execute_rw_buffered(cmd, sgl, sgl_nents, data_direction); in fd_execute_rw()
|
D | target_core_device.c | 61 if (se_cmd->data_direction == DMA_TO_DEVICE) in transport_lookup_cmd_lun() 64 else if (se_cmd->data_direction == DMA_FROM_DEVICE) in transport_lookup_cmd_lun() 68 if ((se_cmd->data_direction == DMA_TO_DEVICE) && in transport_lookup_cmd_lun() 111 if ((se_cmd->data_direction != DMA_FROM_DEVICE) && in transport_lookup_cmd_lun() 112 (se_cmd->data_direction != DMA_NONE)) in transport_lookup_cmd_lun() 132 if (se_cmd->data_direction == DMA_TO_DEVICE) in transport_lookup_cmd_lun() 135 else if (se_cmd->data_direction == DMA_FROM_DEVICE) in transport_lookup_cmd_lun()
|
D | target_core_transport.c | 1000 switch (cmd->data_direction) { in transport_dump_cmd_direction() 1380 if (cmd->data_direction == DMA_FROM_DEVICE) { in target_cmd_size_check() 1385 if (cmd->data_direction == DMA_TO_DEVICE) { in target_cmd_size_check() 1420 int data_direction, in __target_init_cmd() argument 1438 cmd->data_direction = data_direction; in __target_init_cmd() 1776 se_cmd->data_direction == DMA_FROM_DEVICE) { in target_submit() 2388 switch (cmd->data_direction) { in transport_complete_qf() 2545 switch (cmd->data_direction) { in target_complete_ok_work() 2616 " data_direction: %d\n", cmd, cmd->data_direction); in target_complete_ok_work() 2808 if (cmd->data_direction != DMA_TO_DEVICE || cmd->data_length == 0) { in transport_generic_new_cmd() [all …]
|
D | target_core_pscsi.c | 688 cmd->data_direction == DMA_FROM_DEVICE) { in pscsi_complete_cmd() 856 int rw = (cmd->data_direction == DMA_TO_DEVICE); in pscsi_map_sg() 984 cmd->data_direction == DMA_TO_DEVICE ? in pscsi_execute_cmd()
|
D | target_core_sbc.c | 410 cmd->data_direction); in sbc_execute_rw() 931 if (cmd->data_direction != DMA_TO_DEVICE || in sbc_parse_cdb() 1306 (cmd->data_direction == DMA_TO_DEVICE) ? in sbc_dif_generate()
|
D | target_core_iblock.c | 717 enum dma_data_direction data_direction) in iblock_execute_rw() argument 732 if (data_direction == DMA_TO_DEVICE) { in iblock_execute_rw()
|
/drivers/scsi/pm8001/ |
D | pm8001_defs.h | 65 enum data_direction { enum
|
/drivers/vhost/ |
D | scsi.c | 585 u32 exp_data_len, int data_direction) in vhost_scsi_get_cmd() argument 620 cmd->tvc_data_direction = data_direction; in vhost_scsi_get_cmd() 934 u32 exp_data_len, data_direction; in vhost_scsi_handle_vq() local 1009 data_direction = DMA_TO_DEVICE; in vhost_scsi_handle_vq() 1013 data_direction = DMA_FROM_DEVICE; in vhost_scsi_handle_vq() 1021 data_direction = DMA_NONE; in vhost_scsi_handle_vq() 1031 if (data_direction != DMA_TO_DEVICE) { in vhost_scsi_handle_vq() 1038 if (data_direction != DMA_FROM_DEVICE) { in vhost_scsi_handle_vq() 1084 data_direction); in vhost_scsi_handle_vq() 1098 " %d\n", cmd, exp_data_len, prot_bytes, data_direction); in vhost_scsi_handle_vq() [all …]
|
/drivers/cdrom/ |
D | cdrom.c | 1577 cgc->data_direction = type; in init_cdrom_command() 1605 cgc->data_direction = CGC_DATA_READ; in setup_report_key() 1627 cgc->data_direction = CGC_DATA_WRITE; in setup_send_key() 1995 cgc->data_direction = CGC_DATA_READ; in cdrom_mode_sense() 2010 cgc->data_direction = CGC_DATA_WRITE; in cdrom_mode_select() 2139 cgc.data_direction = CGC_DATA_READ; in cdrom_read_cdda_old() 2741 cgc.data_direction = CGC_DATA_WRITE; in cdrom_switch_blocksize() 2935 cgc->data_direction = CGC_DATA_READ; in mmc_ioctl_cdrom_read_data() 3050 cgc->data_direction = CGC_DATA_NONE; in mmc_ioctl_cdrom_play_msf() 3070 cgc->data_direction = CGC_DATA_NONE; in mmc_ioctl_cdrom_play_blk() [all …]
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 50 PAGE_SIZE, rxq->data_direction); in qede_alloc_rx_buffer() 576 PAGE_SIZE, rxq->data_direction); in qede_realloc_rx_buffer() 987 PAGE_SIZE, rxq->data_direction); in qede_tpa_end() 1124 rxq->data_direction); in qede_rx_xdp() 1131 *len, rxq->data_direction); in qede_rx_xdp() 1148 rxq->data_direction); in qede_rx_xdp()
|
/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 500 size_t buffer_length, enum dma_data_direction data_direction) in pqi_map_single() argument 504 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single() 508 data_direction); in pqi_map_single() 521 enum dma_data_direction data_direction) in pqi_pci_unmap() argument 525 if (data_direction == DMA_NONE) in pqi_pci_unmap() 532 data_direction); in pqi_pci_unmap() 558 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 568 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 577 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 584 request->data_direction = SOP_WRITE_FLAG; in pqi_build_raid_path_request() [all …]
|
D | smartpqi.h | 272 u8 data_direction : 2; member 296 u8 data_direction : 2; member 327 u8 data_direction : 2; member 360 u8 data_direction : 2; member
|
/drivers/usb/gadget/function/ |
D | storage_common.h | 168 enum data_direction { enum
|
/drivers/s390/scsi/ |
D | zfcp_fsf.h | 334 u32 data_direction; member
|