Home
last modified time | relevance | path

Searched refs:dma_direction (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/drivers/i2c/busses/
Di2c-ismt.c399 enum dma_data_direction dma_direction = 0; in ismt_access() local
442 dma_direction = DMA_FROM_DEVICE; in ismt_access()
456 dma_direction = DMA_TO_DEVICE; in ismt_access()
466 dma_direction = DMA_FROM_DEVICE; in ismt_access()
476 dma_direction = DMA_TO_DEVICE; in ismt_access()
487 dma_direction = DMA_FROM_DEVICE; in ismt_access()
496 dma_direction = DMA_BIDIRECTIONAL; in ismt_access()
507 dma_direction = DMA_TO_DEVICE; in ismt_access()
516 dma_direction = DMA_FROM_DEVICE; in ismt_access()
530 dma_direction = DMA_BIDIRECTIONAL; in ismt_access()
[all …]
Di2c-sh_mobile.c138 enum dma_data_direction dma_direction; member
416 if (pd->dma_direction == DMA_TO_DEVICE && pd->pos == 0) in sh_mobile_i2c_isr()
427 if (pd->dma_direction == DMA_FROM_DEVICE && pd->pos == 1) in sh_mobile_i2c_isr()
447 struct dma_chan *chan = pd->dma_direction == DMA_FROM_DEVICE in sh_mobile_i2c_dma_unmap()
451 pd->msg->len, pd->dma_direction); in sh_mobile_i2c_dma_unmap()
453 pd->dma_direction = DMA_NONE; in sh_mobile_i2c_dma_unmap()
458 if (pd->dma_direction == DMA_NONE) in sh_mobile_i2c_cleanup_dma()
460 else if (pd->dma_direction == DMA_FROM_DEVICE) in sh_mobile_i2c_cleanup_dma()
462 else if (pd->dma_direction == DMA_TO_DEVICE) in sh_mobile_i2c_cleanup_dma()
545 pd->dma_direction = dir; in sh_mobile_i2c_xfer_dma()
[all …]
Di2c-rcar.c141 enum dma_data_direction dma_direction; member
372 struct dma_chan *chan = priv->dma_direction == DMA_FROM_DEVICE in rcar_i2c_dma_unmap()
376 sg_dma_len(&priv->sg), priv->dma_direction); in rcar_i2c_dma_unmap()
380 priv->dma_direction == DMA_FROM_DEVICE) in rcar_i2c_dma_unmap()
383 priv->dma_direction = DMA_NONE; in rcar_i2c_dma_unmap()
391 if (priv->dma_direction == DMA_NONE) in rcar_i2c_cleanup_dma()
393 else if (priv->dma_direction == DMA_FROM_DEVICE) in rcar_i2c_cleanup_dma()
395 else if (priv->dma_direction == DMA_TO_DEVICE) in rcar_i2c_cleanup_dma()
452 priv->dma_direction = dir; in rcar_i2c_dma()
848 if (priv->dma_direction != DMA_NONE) in rcar_i2c_master_xfer()
[all …]
Di2c-amd-mp2-plat.c45 enum dma_data_direction dma_direction = in i2c_amd_dma_map()
52 dma_direction); in i2c_amd_dma_map()
67 enum dma_data_direction dma_direction = in i2c_amd_dma_unmap()
72 i2c_common->msg->len, dma_direction); in i2c_amd_dma_unmap()
/Linux-v5.15/drivers/scsi/megaraid/
Dmega_common.h71 uint32_t dma_direction; member
Dmegaraid_mbox.c1072 scb->dma_direction = DMA_NONE; in megaraid_alloc_cmd_packets()
1522 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1621 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1716 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1754 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1817 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
3442 scb->dma_direction = DMA_NONE; in megaraid_cmm_register()
3580 scb->dma_direction = DMA_NONE; in megaraid_mbox_mm_command()
/Linux-v5.15/drivers/scsi/
Dmegaraid.c653 scb->dma_direction = DMA_NONE; in mega_build_cmd()
717 scb->dma_direction = DMA_FROM_DEVICE; in mega_build_cmd()
847 scb->dma_direction = DMA_FROM_DEVICE; in mega_build_cmd()
850 scb->dma_direction = DMA_TO_DEVICE; in mega_build_cmd()
885 scb->dma_direction = DMA_NONE; in mega_build_cmd()
979 scb->dma_direction = DMA_BIDIRECTIONAL; in mega_prepare_passthru()
1043 scb->dma_direction = DMA_BIDIRECTIONAL; in mega_prepare_extpassthru()
Dmegaraid.h192 u32 dma_direction; member
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_bsg.c1136 uint32_t dma_direction = DMA_NONE; in qla84xx_mgmt_cmd() local
1167 dma_direction = DMA_FROM_DEVICE; in qla84xx_mgmt_cmd()
1218 dma_direction = DMA_TO_DEVICE; in qla84xx_mgmt_cmd()
1301 if (dma_direction == DMA_TO_DEVICE) in qla84xx_mgmt_cmd()
1304 else if (dma_direction == DMA_FROM_DEVICE) in qla84xx_mgmt_cmd()