/linux/drivers/md/ |
H A D | dm-cache-policy-internal.h | 17 int data_dir, bool fast_copy, bool *background_queued) in policy_lookup() argument 19 return p->lookup(p, oblock, cblock, data_dir, fast_copy, background_queued); in policy_lookup() 24 int data_dir, bool fast_copy, in policy_lookup_with_work() argument 29 return p->lookup(p, oblock, cblock, data_dir, fast_copy, NULL); in policy_lookup_with_work() 32 return p->lookup_with_work(p, oblock, cblock, data_dir, fast_copy, work); in policy_lookup_with_work()
|
H A D | dm-cache-policy.h | 58 int data_dir, bool fast_copy, bool *background_queued); 71 int data_dir, bool fast_copy,
|
H A D | dm-cache-policy-smq.c | 1292 int data_dir, bool fast_promote) in should_promote() argument 1294 if (data_dir == WRITE) { in should_promote() 1377 int data_dir, bool fast_copy, in __lookup() argument 1401 pr = should_promote(mq, hs_e, data_dir, fast_copy); in __lookup() 1412 int data_dir, bool fast_copy, in smq_lookup() argument 1421 data_dir, fast_copy, in smq_lookup() 1430 int data_dir, bool fast_copy, in smq_lookup_with_work() argument 1439 r = __lookup(mq, oblock, cblock, data_dir, fast_copy, work, &background_queued); in smq_lookup_with_work()
|
/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_task.c | 45 if (task->data_dir == DMA_NONE) in asd_map_scatterlist() 52 task->data_dir); in asd_map_scatterlist() 68 task->num_scatter, task->data_dir); in asd_map_scatterlist() 115 task->num_scatter, task->data_dir); in asd_map_scatterlist() 124 if (task->data_dir == DMA_NONE) in asd_unmap_scatterlist() 131 task->total_xfer_len, task->data_dir); in asd_unmap_scatterlist() 138 task->num_scatter, task->data_dir); in asd_unmap_scatterlist() 388 flags |= data_dir_flags[task->data_dir]; in asd_build_ata_ascb() 490 scb->ssp_task.data_dir = data_dir_flags[task->data_dir]; in asd_build_ssp_ascb()
|
H A D | aic94xx_sas.h | 326 u8 data_dir; /* :1,0 */ member 563 u8 data_dir; /* 01b */ member
|
/linux/drivers/scsi/aacraid/ |
H A D | commctrl.c | 492 u32 data_dir; in aac_send_raw_srb() local 542 data_dir = DMA_TO_DEVICE; in aac_send_raw_srb() 545 data_dir = DMA_BIDIRECTIONAL; in aac_send_raw_srb() 548 data_dir = DMA_FROM_DEVICE; in aac_send_raw_srb() 551 data_dir = DMA_NONE; in aac_send_raw_srb() 559 if ((data_dir == DMA_NONE) && user_srbcmd->sg.count) { in aac_send_raw_srb() 590 switch (data_dir) { in aac_send_raw_srb() 692 data_dir); in aac_send_raw_srb() 754 sg_count[i], data_dir); in aac_send_raw_srb() 810 sg_count[i], data_dir); in aac_send_raw_srb() [all …]
|
/linux/drivers/target/tcm_fc/ |
H A D | tfc_cmd.c | 490 int data_dir = 0; in ft_send_work() local 510 data_dir = DMA_NONE; in ft_send_work() 513 data_dir = DMA_FROM_DEVICE; in ft_send_work() 516 data_dir = DMA_TO_DEVICE; in ft_send_work() 549 task_attr, data_dir, TARGET_SCF_ACK_KREF)) in ft_send_work()
|
/linux/drivers/memstick/host/ |
H A D | jmb38x_ms.c | 333 if (host->req->data_dir == WRITE) in jmb38x_ms_transfer_data() 354 if (!length && host->req->data_dir == WRITE) { in jmb38x_ms_transfer_data() 390 if (host->req->data_dir == READ) in jmb38x_ms_issue_cmd() 419 host->req->data_dir == READ in jmb38x_ms_issue_cmd() 437 t_val |= host->req->data_dir == READ in jmb38x_ms_issue_cmd() 448 if (host->req->data_dir == WRITE) { in jmb38x_ms_issue_cmd() 487 host->req->data_dir == READ in jmb38x_ms_complete_cmd() 491 if (host->req->data_dir == READ) in jmb38x_ms_complete_cmd() 557 if (host->req->data_dir == READ) { in jmb38x_ms_isr()
|
H A D | tifm_ms.c | 217 t_size = host->req->data_dir == WRITE in tifm_ms_transfer_data() 234 if (!length && (host->req->data_dir == WRITE)) { in tifm_ms_transfer_data() 281 host->req->data_dir == READ in tifm_ms_issue_cmd() 294 if (host->req->data_dir == WRITE) in tifm_ms_issue_cmd() 352 host->req->data_dir == READ in tifm_ms_complete_cmd() 609 host->req->data_dir == READ in tifm_ms_remove()
|
H A D | rtsx_usb_ms.c | 230 static int ms_transfer_data(struct rtsx_usb_ms *host, unsigned char data_dir, in ms_transfer_data() argument 242 __func__, tpc, (data_dir == READ) ? "READ" : "WRITE", in ms_transfer_data() 245 if (data_dir == READ) { in ms_transfer_data() 470 err = ms_transfer_data(host, req->data_dir, in rtsx_usb_ms_issue_cmd() 473 if (req->data_dir == READ) in rtsx_usb_ms_issue_cmd()
|
/linux/drivers/scsi/megaraid/ |
H A D | megaraid_mm.c | 392 kioc->data_dir = UIOC_RD; in mimd_to_kioc() 416 if (mimd.outlen) kioc->data_dir = UIOC_RD; in mimd_to_kioc() 417 if (mimd.inlen) kioc->data_dir |= UIOC_WR; in mimd_to_kioc() 432 if (mimd.outlen) kioc->data_dir = UIOC_RD; in mimd_to_kioc() 433 if (mimd.inlen) kioc->data_dir |= UIOC_WR; in mimd_to_kioc() 458 if (kioc->data_dir & UIOC_WR) { in mimd_to_kioc() 484 if (kioc->data_dir & UIOC_WR) { in mimd_to_kioc()
|
H A D | megaraid_ioctl.h | 125 uint32_t data_dir; member
|
/linux/sound/soc/tegra/ |
H A D | tegra210_ope.c | 208 ucontrol->value.enumerated.item[0] = ope->data_dir; in tegra210_ope_get_data_dir() 220 if (value == ope->data_dir) in tegra210_ope_put_data_dir() 223 ope->data_dir = value; in tegra210_ope_put_data_dir()
|
H A D | tegra210_ope.h | 63 unsigned int data_dir; member
|
/linux/drivers/scsi/isci/ |
H A D | request.c | 156 task->data_dir); in sci_request_build_sgl() 651 if (task->data_dir == DMA_NONE) in sci_atapi_construct() 699 if (task->data_dir == DMA_NONE) { in sci_io_request_construct_sata() 731 task->data_dir, in sci_io_request_construct_basic_ssp() 760 copy = (task->data_dir == DMA_NONE) ? false : true; in sci_io_request_construct_basic_sata() 764 task->data_dir, in sci_io_request_construct_basic_sata() 1634 if (task->data_dir == DMA_NONE) in atapi_d2h_reg_frame_handler() 1667 if (task->data_dir == DMA_TO_DEVICE) { in scu_atapi_construct_task_context() 1930 if (task->data_dir == DMA_FROM_DEVICE) { in sci_io_request_frame_handler() 1932 } else if (task->data_dir == DMA_TO_DEVICE) { in sci_io_request_frame_handler() [all …]
|
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_app.c | 1672 if (drv_bufs->data_dir == DMA_NONE || in mpi3mr_total_num_ioctl_sges() 1766 if (drv_buf_iter->data_dir == DMA_NONE || in mpi3mr_bsg_build_sgl() 1780 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_bsg_build_sgl() 1894 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_build_nvme_sgl() 2025 if (drv_buf_iter->data_dir == DMA_NONE) in mpi3mr_build_nvme_prp() 2270 if (drv_buf->data_dir == DMA_TO_DEVICE) { in mpi3mr_map_data_buffer_dma() 2396 drv_buf_iter->data_dir = DMA_TO_DEVICE; in mpi3mr_bsg_process_mpt_cmds() 2404 drv_buf_iter->data_dir = DMA_FROM_DEVICE; in mpi3mr_bsg_process_mpt_cmds() 2412 drv_buf_iter->data_dir = DMA_FROM_DEVICE; in mpi3mr_bsg_process_mpt_cmds() 2421 drv_buf_iter->data_dir = DMA_TO_DEVICE; in mpi3mr_bsg_process_mpt_cmds() [all …]
|
/linux/drivers/parport/ |
H A D | parport_atari.c | 188 st_mfp.data_dir &= ~1; in parport_atari_init()
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_fsf.c | 2517 static int zfcp_fsf_set_data_dir(struct scsi_cmnd *scsi_cmnd, u32 *data_dir) in zfcp_fsf_set_data_dir() argument 2523 *data_dir = FSF_DATADIR_CMND; in zfcp_fsf_set_data_dir() 2526 *data_dir = FSF_DATADIR_READ; in zfcp_fsf_set_data_dir() 2529 *data_dir = FSF_DATADIR_WRITE; in zfcp_fsf_set_data_dir() 2537 *data_dir = FSF_DATADIR_DIF_READ_STRIP; in zfcp_fsf_set_data_dir() 2540 *data_dir = FSF_DATADIR_DIF_WRITE_INSERT; in zfcp_fsf_set_data_dir() 2543 *data_dir = FSF_DATADIR_DIF_READ_CONVERT; in zfcp_fsf_set_data_dir() 2546 *data_dir = FSF_DATADIR_DIF_WRITE_CONVERT; in zfcp_fsf_set_data_dir()
|
/linux/drivers/target/sbp/ |
H A D | sbp_target.c | 1166 u32 *data_len, enum dma_data_direction *data_dir) in sbp_calc_data_length_direction() argument 1175 *data_dir = DMA_NONE; in sbp_calc_data_length_direction() 1179 *data_dir = direction ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in sbp_calc_data_length_direction() 1198 enum dma_data_direction data_dir; in sbp_handle_command() local 1214 sbp_calc_data_length_direction(req, &data_length, &data_dir); in sbp_handle_command() 1217 req->orb_pointer, unpacked_lun, data_length, data_dir); in sbp_handle_command() 1223 TCM_SIMPLE_TAG, data_dir, TARGET_SCF_ACK_KREF); in sbp_handle_command()
|
/linux/include/target/ |
H A D | target_core_fabric.h | 173 int task_attr, int data_dir, int flags);
|
/linux/drivers/scsi/libsas/ |
H A D | sas_ata.c | 192 task->data_dir = qc->dma_dir; in sas_ata_qc_issue() 194 task->data_dir = DMA_NONE; in sas_ata_qc_issue() 201 task->data_dir = qc->dma_dir; in sas_ata_qc_issue()
|
/linux/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 458 if (task->data_dir == DMA_FROM_DEVICE) in mvs_task_prep_ata() 546 if (task->data_dir == DMA_FROM_DEVICE) in mvs_task_prep_ata() 752 task->data_dir); in mvs_task_prep() 832 task->data_dir); in mvs_task_prep() 877 slot->n_elem, task->data_dir); in mvs_slot_task_free()
|
/linux/drivers/scsi/libfc/ |
H A D | fc_fcp.c | 1512 enum dma_data_direction data_dir; in fc_fcp_rec_resp() local 1570 data_dir = fsp->cmd->sc_data_direction; in fc_fcp_rec_resp() 1591 if (data_dir == DMA_TO_DEVICE) { in fc_fcp_rec_resp() 1624 if (data_dir == DMA_TO_DEVICE) { in fc_fcp_rec_resp()
|
/linux/drivers/scsi/ |
H A D | stex.c | 240 u8 data_dir; member 709 req->data_dir = MSG_DATA_DIR_IN; in stex_queuecommand_lck() 711 req->data_dir = MSG_DATA_DIR_OUT; in stex_queuecommand_lck() 713 req->data_dir = MSG_DATA_DIR_ND; in stex_queuecommand_lck()
|
/linux/drivers/target/ |
H A D | target_core_transport.c | 1690 u32 data_length, int task_attr, int data_dir, int flags) in target_init_cmd() argument 1714 data_dir, task_attr, sense, unpacked_lun, in target_init_cmd() 1832 u32 data_length, int task_attr, int data_dir, int flags) in target_submit_cmd() argument 1837 task_attr, data_dir, flags); in target_submit_cmd()
|