/kernel/linux/linux-5.10/net/smc/ |
D | smc_ib.h | 66 enum dma_data_direction data_direction); 69 enum dma_data_direction data_direction); 84 enum dma_data_direction data_direction); 87 enum dma_data_direction data_direction);
|
D | smc_ib.c | 434 enum dma_data_direction data_direction) in smc_ib_sync_sg_for_cpu() argument 447 data_direction); in smc_ib_sync_sg_for_cpu() 454 enum dma_data_direction data_direction) in smc_ib_sync_sg_for_device() argument 467 data_direction); in smc_ib_sync_sg_for_device() 474 enum dma_data_direction data_direction) in smc_ib_buf_map_sg() argument 481 data_direction); in smc_ib_buf_map_sg() 490 enum dma_data_direction data_direction) in smc_ib_buf_unmap_sg() argument 498 data_direction); in smc_ib_buf_unmap_sg()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
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 | sr_ioctl.c | 59 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_tochdr() 90 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_tocentry() 153 cgc.data_direction = DMA_NONE; in sr_fake_playtrkind() 173 cgc.data_direction = DMA_NONE; in sr_play_trkind() 203 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()
|
/kernel/linux/linux-5.10/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() 1470 if (cmd->data_direction != DMA_TO_DEVICE) { in __iscsit_check_dataout_hdr() 1774 cmd->data_direction = DMA_NONE; in iscsit_setup_nop_out() 2007 cmd->data_direction = DMA_NONE; in iscsit_handle_task_mgt_cmd() 2182 cmd->data_direction = DMA_NONE; in iscsit_setup_text_cmd() 2488 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() 946 if ((cmd->data_direction == DMA_TO_DEVICE) && in iscsit_execute_cmd()
|
/kernel/linux/linux-5.10/include/scsi/ |
D | scsi_device.h | 443 int data_direction, void *buffer, unsigned bufflen, 448 #define scsi_execute(sdev, cmd, data_direction, buffer, bufflen, sense, \ argument 453 __scsi_execute(sdev, cmd, data_direction, buffer, bufflen, \ 458 const unsigned char *cmd, int data_direction, void *buffer, in scsi_execute_req() argument 462 return scsi_execute(sdev, cmd, data_direction, buffer, in scsi_execute_req()
|
D | scsi_eh.h | 37 enum dma_data_direction data_direction; member
|
/kernel/linux/linux-5.10/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 | 262 enum dma_data_direction data_direction) in fd_execute_rw_aio() argument 264 int is_write = !(data_direction == DMA_FROM_DEVICE); in fd_execute_rw_aio() 596 enum dma_data_direction data_direction) in fd_execute_rw_buffered() argument 608 if (data_direction == DMA_FROM_DEVICE) { in fd_execute_rw_buffered() 680 enum dma_data_direction data_direction) in fd_execute_rw() argument 697 return fd_execute_rw_aio(cmd, sgl, sgl_nents, data_direction); in fd_execute_rw() 698 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() 80 if ((se_cmd->data_direction == DMA_TO_DEVICE) && in transport_lookup_cmd_lun() 119 if ((se_cmd->data_direction != DMA_FROM_DEVICE) && in transport_lookup_cmd_lun() 120 (se_cmd->data_direction != DMA_NONE)) { in transport_lookup_cmd_lun() 135 if (se_cmd->data_direction == DMA_TO_DEVICE) in transport_lookup_cmd_lun() 138 else if (se_cmd->data_direction == DMA_FROM_DEVICE) in transport_lookup_cmd_lun()
|
D | target_core_transport.c | 952 switch (cmd->data_direction) { in transport_dump_cmd_direction() 1317 if (cmd->data_direction == DMA_TO_DEVICE) { in target_cmd_size_check() 1377 int data_direction, in transport_init_se_cmd() argument 1395 cmd->data_direction = data_direction; in transport_init_se_cmd() 1698 se_cmd->data_direction == DMA_FROM_DEVICE) { in target_submit_cmd_map_sgls() 2264 switch (cmd->data_direction) { in transport_complete_qf() 2421 switch (cmd->data_direction) { in target_complete_ok_work() 2492 " data_direction: %d\n", cmd, cmd->data_direction); in target_complete_ok_work() 2684 if (cmd->data_direction != DMA_TO_DEVICE || cmd->data_length == 0) { in transport_generic_new_cmd() 3004 data_dir_name(cmd->data_direction), in target_show_cmd()
|
D | target_core_pscsi.c | 690 cmd->data_direction == DMA_FROM_DEVICE) { in pscsi_complete_cmd() 858 int rw = (cmd->data_direction == DMA_TO_DEVICE); in pscsi_map_sg() 987 cmd->data_direction == DMA_TO_DEVICE ? in pscsi_execute_cmd()
|
/kernel/linux/linux-5.10/block/ |
D | scsi_ioctl.c | 643 unsigned char data_direction; member 666 .data_direction = cgc32.data_direction, in scsi_get_cdrom_generic_arg() 691 .data_direction = cgc->data_direction, in scsi_put_cdrom_generic_arg() 727 switch (cgc.data_direction) { in scsi_cdrom_send_packet()
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_defs.h | 65 enum data_direction { enum
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | scsi.c | 601 u32 exp_data_len, int data_direction) in vhost_scsi_get_cmd() argument 636 cmd->tvc_data_direction = data_direction; in vhost_scsi_get_cmd() 954 u32 exp_data_len, data_direction; in vhost_scsi_handle_vq() local 1029 data_direction = DMA_TO_DEVICE; in vhost_scsi_handle_vq() 1033 data_direction = DMA_FROM_DEVICE; in vhost_scsi_handle_vq() 1041 data_direction = DMA_NONE; in vhost_scsi_handle_vq() 1051 if (data_direction != DMA_TO_DEVICE) { in vhost_scsi_handle_vq() 1058 if (data_direction != DMA_FROM_DEVICE) { in vhost_scsi_handle_vq() 1104 data_direction); in vhost_scsi_handle_vq() 1118 " %d\n", cmd, exp_data_len, prot_bytes, data_direction); in vhost_scsi_handle_vq() [all …]
|
/kernel/linux/linux-5.10/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() 2796 cgc.data_direction = CGC_DATA_WRITE; in cdrom_switch_blocksize() 2990 cgc->data_direction = CGC_DATA_READ; in mmc_ioctl_cdrom_read_data() 3103 cgc->data_direction = CGC_DATA_NONE; in mmc_ioctl_cdrom_play_msf() 3123 cgc->data_direction = CGC_DATA_NONE; in mmc_ioctl_cdrom_play_blk() [all …]
|
/kernel/linux/linux-5.10/include/target/ |
D | target_core_fabric.h | 225 switch (se_cmd->data_direction) { in target_reverse_dma_direction()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 50 PAGE_SIZE, rxq->data_direction); in qede_alloc_rx_buffer() 581 PAGE_SIZE, rxq->data_direction); in qede_realloc_rx_buffer() 989 PAGE_SIZE, rxq->data_direction); in qede_tpa_end() 1135 rxq->data_direction); in qede_rx_xdp() 1142 *len, rxq->data_direction); in qede_rx_xdp() 1159 rxq->data_direction); in qede_rx_xdp()
|
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 429 size_t buffer_length, enum dma_data_direction data_direction) in pqi_map_single() argument 433 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single() 437 data_direction); in pqi_map_single() 450 enum dma_data_direction data_direction) in pqi_pci_unmap() argument 454 if (data_direction == DMA_NONE) in pqi_pci_unmap() 461 data_direction); in pqi_pci_unmap() 487 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 497 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 506 request->data_direction = SOP_READ_FLAG; in pqi_build_raid_path_request() 512 request->data_direction = SOP_WRITE_FLAG; in pqi_build_raid_path_request() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | storage_common.h | 168 enum data_direction { enum
|
/kernel/linux/linux-5.10/include/linux/ |
D | cdrom.h | 26 unsigned char data_direction; member
|