Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Dsunxi_nand.c2060 struct dma_slave_config dmac_cfg = { }; in sunxi_nfc_dma_init() local
2062 dmac_cfg.src_addr = r->start + nfc->caps->reg_io_data; in sunxi_nfc_dma_init()
2063 dmac_cfg.dst_addr = dmac_cfg.src_addr; in sunxi_nfc_dma_init()
2064 dmac_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in sunxi_nfc_dma_init()
2065 dmac_cfg.dst_addr_width = dmac_cfg.src_addr_width; in sunxi_nfc_dma_init()
2066 dmac_cfg.src_maxburst = nfc->caps->dma_maxburst; in sunxi_nfc_dma_init()
2067 dmac_cfg.dst_maxburst = nfc->caps->dma_maxburst; in sunxi_nfc_dma_init()
2068 dmaengine_slave_config(nfc->dmac, &dmac_cfg); in sunxi_nfc_dma_init()