Home
last modified time | relevance | path

Searched refs:dmaengine_cfg (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/dma/
Dimx-sdma.c1082 struct dma_slave_config *dmaengine_cfg = (void *)arg; in sdma_control() local
1089 if (dmaengine_cfg->direction == DMA_DEV_TO_MEM) { in sdma_control()
1090 sdmac->per_address = dmaengine_cfg->src_addr; in sdma_control()
1091 sdmac->watermark_level = dmaengine_cfg->src_maxburst * in sdma_control()
1092 dmaengine_cfg->src_addr_width; in sdma_control()
1093 sdmac->word_size = dmaengine_cfg->src_addr_width; in sdma_control()
1095 sdmac->per_address = dmaengine_cfg->dst_addr; in sdma_control()
1096 sdmac->watermark_level = dmaengine_cfg->dst_maxburst * in sdma_control()
1097 dmaengine_cfg->dst_addr_width; in sdma_control()
1098 sdmac->word_size = dmaengine_cfg->dst_addr_width; in sdma_control()
[all …]
Dimx-dma.c608 struct dma_slave_config *dmaengine_cfg = (void *)arg; in imxdma_control() local
623 if (dmaengine_cfg->direction == DMA_DEV_TO_MEM) { in imxdma_control()
624 imxdmac->per_address = dmaengine_cfg->src_addr; in imxdma_control()
625 imxdmac->watermark_level = dmaengine_cfg->src_maxburst; in imxdma_control()
626 imxdmac->word_size = dmaengine_cfg->src_addr_width; in imxdma_control()
628 imxdmac->per_address = dmaengine_cfg->dst_addr; in imxdma_control()
629 imxdmac->watermark_level = dmaengine_cfg->dst_maxburst; in imxdma_control()
630 imxdmac->word_size = dmaengine_cfg->dst_addr_width; in imxdma_control()