Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-ismt.c448 dma_direction = DMA_FROM_DEVICE; in ismt_access()
462 dma_direction = DMA_TO_DEVICE; in ismt_access()
472 dma_direction = DMA_FROM_DEVICE; in ismt_access()
482 dma_direction = DMA_TO_DEVICE; in ismt_access()
493 dma_direction = DMA_FROM_DEVICE; in ismt_access()
502 dma_direction = DMA_BIDIRECTIONAL; in ismt_access()
516 dma_direction = DMA_TO_DEVICE; in ismt_access()
525 dma_direction = DMA_FROM_DEVICE; in ismt_access()
559 dma_direction = DMA_TO_DEVICE; in ismt_access()
568 dma_direction = DMA_FROM_DEVICE; in ismt_access()
[all …]
H A 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_cleanup_dma()
455 pd->msg->len, pd->dma_direction); in sh_mobile_i2c_cleanup_dma()
457 pd->dma_direction = DMA_NONE; in sh_mobile_i2c_cleanup_dma()
537 pd->dma_direction = dir; in sh_mobile_i2c_xfer_dma()
692 if (pd->dma_direction != DMA_NONE) in sh_mobile_xfer()
924 pd->dma_direction = DMA_NONE; in sh_mobile_i2c_probe()
H A 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()
H A Di2c-rcar.c140 enum dma_data_direction dma_direction; member
388 struct dma_chan *chan = priv->dma_direction == DMA_FROM_DEVICE in rcar_i2c_cleanup_dma()
396 sg_dma_len(&priv->sg), priv->dma_direction); in rcar_i2c_cleanup_dma()
400 priv->dma_direction == DMA_FROM_DEVICE) in rcar_i2c_cleanup_dma()
403 priv->dma_direction = DMA_NONE; in rcar_i2c_cleanup_dma()
460 priv->dma_direction = dir; in rcar_i2c_dma()
876 if (priv->dma_direction != DMA_NONE) in rcar_i2c_master_xfer()
1091 priv->dma_direction = DMA_NONE; in rcar_i2c_probe()
/openbmc/u-boot/include/
H A Ddma.h22 enum dma_direction { enum
/openbmc/linux/drivers/scsi/megaraid/
H A Dmega_common.h71 uint32_t dma_direction; member
H A Dmegaraid_mbox.c1075 scb->dma_direction = DMA_NONE; in megaraid_alloc_cmd_packets()
1523 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1622 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1717 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1755 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1818 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
3443 scb->dma_direction = DMA_NONE; in megaraid_cmm_register()
3581 scb->dma_direction = DMA_NONE; in megaraid_mbox_mm_command()
/openbmc/u-boot/drivers/dma/
H A Dsandbox-dma-test.c24 enum dma_direction dir;
/openbmc/linux/drivers/scsi/
H A Dmegaraid.c651 scb->dma_direction = DMA_NONE; in mega_build_cmd()
715 scb->dma_direction = DMA_FROM_DEVICE; in mega_build_cmd()
845 scb->dma_direction = DMA_FROM_DEVICE; in mega_build_cmd()
848 scb->dma_direction = DMA_TO_DEVICE; in mega_build_cmd()
883 scb->dma_direction = DMA_NONE; in mega_build_cmd()
977 scb->dma_direction = DMA_BIDIRECTIONAL; in mega_prepare_passthru()
1041 scb->dma_direction = DMA_BIDIRECTIONAL; in mega_prepare_extpassthru()
H A Dmegaraid.h193 u32 dma_direction; member
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_bsg.c1142 uint32_t dma_direction = DMA_NONE; in qla84xx_mgmt_cmd() local
1173 dma_direction = DMA_FROM_DEVICE; in qla84xx_mgmt_cmd()
1224 dma_direction = DMA_TO_DEVICE; in qla84xx_mgmt_cmd()
1307 if (dma_direction == DMA_TO_DEVICE) in qla84xx_mgmt_cmd()
1310 else if (dma_direction == DMA_FROM_DEVICE) in qla84xx_mgmt_cmd()