Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-ismt.c390 enum dma_data_direction dma_direction = 0; in ismt_access() local
432 dma_direction = DMA_FROM_DEVICE; in ismt_access()
446 dma_direction = DMA_TO_DEVICE; in ismt_access()
456 dma_direction = DMA_FROM_DEVICE; in ismt_access()
466 dma_direction = DMA_TO_DEVICE; in ismt_access()
477 dma_direction = DMA_FROM_DEVICE; in ismt_access()
486 dma_direction = DMA_BIDIRECTIONAL; in ismt_access()
497 dma_direction = DMA_TO_DEVICE; in ismt_access()
506 dma_direction = DMA_FROM_DEVICE; in ismt_access()
525 dma_direction = DMA_TO_DEVICE; in ismt_access()
[all …]
Di2c-sh_mobile.c148 enum dma_data_direction dma_direction; member
494 if (pd->dma_direction == DMA_TO_DEVICE && pd->pos == 0) in sh_mobile_i2c_isr()
505 if (pd->dma_direction == DMA_FROM_DEVICE && pd->pos == 1) in sh_mobile_i2c_isr()
524 struct dma_chan *chan = pd->dma_direction == DMA_FROM_DEVICE in sh_mobile_i2c_dma_unmap()
528 pd->msg->len, pd->dma_direction); in sh_mobile_i2c_dma_unmap()
530 pd->dma_direction = DMA_NONE; in sh_mobile_i2c_dma_unmap()
535 if (pd->dma_direction == DMA_NONE) in sh_mobile_i2c_cleanup_dma()
537 else if (pd->dma_direction == DMA_FROM_DEVICE) in sh_mobile_i2c_cleanup_dma()
539 else if (pd->dma_direction == DMA_TO_DEVICE) in sh_mobile_i2c_cleanup_dma()
622 pd->dma_direction = dir; in sh_mobile_i2c_xfer_dma()
[all …]
/drivers/scsi/megaraid/
Dmegaraid_mbox.c1087 scb->dma_direction = PCI_DMA_NONE; in megaraid_alloc_cmd_packets()
1433 if (scb->dma_direction == PCI_DMA_TODEVICE) in mbox_post_cmd()
1546 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1647 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1742 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1780 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
1843 scb->dma_direction = scp->sc_data_direction; in DEF_SCSI_QCMD()
2199 if (scb->dma_direction == PCI_DMA_FROMDEVICE) in megaraid_mbox_sync_scb()
3520 scb->dma_direction = PCI_DMA_NONE; in megaraid_cmm_register()
3658 scb->dma_direction = PCI_DMA_NONE; in megaraid_mbox_mm_command()
Dmega_common.h75 uint32_t dma_direction; member
/drivers/ide/
Dsgiioc4.c357 static void sgiioc4_configure_for_dma(int dma_direction, ide_drive_t *drive) in sgiioc4_configure_for_dma() argument
401 writel(dma_direction, (void __iomem *)ioc4_dma_addr); in sgiioc4_configure_for_dma()
/drivers/scsi/
Dmegaraid.c652 scb->dma_direction = PCI_DMA_NONE; in mega_build_cmd()
716 scb->dma_direction = PCI_DMA_FROMDEVICE; in mega_build_cmd()
846 scb->dma_direction = PCI_DMA_FROMDEVICE; in mega_build_cmd()
849 scb->dma_direction = PCI_DMA_TODEVICE; in mega_build_cmd()
884 scb->dma_direction = PCI_DMA_NONE; in mega_build_cmd()
978 scb->dma_direction = PCI_DMA_BIDIRECTIONAL; in mega_prepare_passthru()
1041 scb->dma_direction = PCI_DMA_BIDIRECTIONAL; in mega_prepare_extpassthru()
Dmegaraid.h191 u32 dma_direction; member
/drivers/scsi/qla2xxx/
Dqla_bsg.c1096 uint32_t dma_direction = DMA_NONE; in qla84xx_mgmt_cmd() local
1128 dma_direction = DMA_FROM_DEVICE; in qla84xx_mgmt_cmd()
1179 dma_direction = DMA_TO_DEVICE; in qla84xx_mgmt_cmd()
1263 if (dma_direction == DMA_TO_DEVICE) in qla84xx_mgmt_cmd()
1266 else if (dma_direction == DMA_FROM_DEVICE) in qla84xx_mgmt_cmd()