/linux/drivers/scsi/ |
A D | sr_ioctl.c | 55 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_tochdr() 86 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_tocentry() 149 cgc.data_direction = DMA_NONE; in sr_fake_playtrkind() 169 cgc.data_direction = DMA_NONE; in sr_play_trkind() 199 result = scsi_execute(SDev, cgc->cmd, cgc->data_direction, in sr_do_ioctl() 271 cgc.data_direction = DMA_NONE; in sr_tray_move() 400 cgc.data_direction = DMA_FROM_DEVICE; in sr_get_mcn() 430 cgc.data_direction = DMA_NONE; in sr_select_speed() 505 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_cd() 548 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_sector()
|
A 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()
|
A 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()
|
/linux/net/smc/ |
A D | smc_ib.h | 82 enum dma_data_direction data_direction); 85 enum dma_data_direction data_direction); 100 enum dma_data_direction data_direction); 103 enum dma_data_direction data_direction);
|
A D | smc_ib.c | 732 enum dma_data_direction data_direction) in smc_ib_sync_sg_for_cpu() argument 745 data_direction); in smc_ib_sync_sg_for_cpu() 752 enum dma_data_direction data_direction) in smc_ib_sync_sg_for_device() argument 765 data_direction); in smc_ib_sync_sg_for_device() 772 enum dma_data_direction data_direction) in smc_ib_buf_map_sg() argument 779 data_direction); in smc_ib_buf_map_sg() 788 enum dma_data_direction data_direction) in smc_ib_buf_unmap_sg() argument 796 data_direction); in smc_ib_buf_unmap_sg()
|
/linux/drivers/target/iscsi/ |
A 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()
|
A 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()
|
A D | iscsi_target_seq_pdu_list.h | 49 int data_direction; member
|
A 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 …]
|
A 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()
|
/linux/include/scsi/ |
A D | scsi_device.h | 451 int data_direction, void *buffer, unsigned bufflen, 456 #define scsi_execute(sdev, cmd, data_direction, buffer, bufflen, sense, \ argument 461 __scsi_execute(sdev, cmd, data_direction, buffer, bufflen, \ 466 const unsigned char *cmd, int data_direction, void *buffer, in scsi_execute_req() argument 470 return scsi_execute(sdev, cmd, data_direction, buffer, in scsi_execute_req()
|
A D | scsi_eh.h | 37 enum dma_data_direction data_direction; member
|
/linux/drivers/target/ |
A 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()
|
A D | target_core_file.c | 264 enum dma_data_direction data_direction) in fd_execute_rw_aio() argument 266 int is_write = !(data_direction == DMA_FROM_DEVICE); in fd_execute_rw_aio() 589 enum dma_data_direction data_direction) in fd_execute_rw_buffered() argument 601 if (data_direction == DMA_FROM_DEVICE) { in fd_execute_rw_buffered() 673 enum dma_data_direction data_direction) in fd_execute_rw() argument 690 return fd_execute_rw_aio(cmd, sgl, sgl_nents, data_direction); in fd_execute_rw() 691 return fd_execute_rw_buffered(cmd, sgl, sgl_nents, data_direction); in fd_execute_rw()
|
A 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()
|
A 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 …]
|
A 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()
|
/linux/drivers/scsi/pm8001/ |
A D | pm8001_defs.h | 65 enum data_direction { enum
|
/linux/drivers/vhost/ |
A 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 …]
|
/linux/drivers/cdrom/ |
A D | cdrom.c | 1583 cgc->data_direction = type; in init_cdrom_command() 1611 cgc->data_direction = CGC_DATA_READ; in setup_report_key() 1633 cgc->data_direction = CGC_DATA_WRITE; in setup_send_key() 2001 cgc->data_direction = CGC_DATA_READ; in cdrom_mode_sense() 2145 cgc.data_direction = CGC_DATA_READ; in cdrom_read_cdda_old() 2790 cgc.data_direction = CGC_DATA_WRITE; in cdrom_switch_blocksize() 2984 cgc->data_direction = CGC_DATA_READ; in mmc_ioctl_cdrom_read_data() 3099 cgc->data_direction = CGC_DATA_NONE; in mmc_ioctl_cdrom_play_msf() 3119 cgc->data_direction = CGC_DATA_NONE; in mmc_ioctl_cdrom_play_blk() 3207 cgc->data_direction = CGC_DATA_NONE; in mmc_ioctl_cdrom_start_stop() [all …]
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A 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() 984 PAGE_SIZE, rxq->data_direction); in qede_tpa_end() 1121 rxq->data_direction); in qede_rx_xdp() 1128 *len, rxq->data_direction); in qede_rx_xdp() 1145 rxq->data_direction); in qede_rx_xdp()
|
/linux/drivers/scsi/smartpqi/ |
A D | smartpqi_init.c | 509 data_direction); in pqi_map_single() 522 enum dma_data_direction data_direction) in pqi_pci_unmap() argument 526 if (data_direction == DMA_NONE) in pqi_pci_unmap() 533 data_direction); in pqi_pci_unmap() 559 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 563 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 573 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 586 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 593 request->data_direction = SOP_WRITE_FLAG; in pqi_build_raid_path_request() 605 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() [all …]
|
A D | smartpqi.h | 289 u8 data_direction : 2; member 313 u8 data_direction : 2; member 344 u8 data_direction : 2; member 377 u8 data_direction : 2; member
|
/linux/drivers/usb/gadget/function/ |
A D | storage_common.h | 168 enum data_direction { enum
|
/linux/include/target/ |
A D | target_core_fabric.h | 233 switch (se_cmd->data_direction) { in target_reverse_dma_direction()
|