Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4_dma.c126 value = readl(ioaddr + DMA_CHAN_CONTROL(dwmac4_addrs, chan)); in dwmac4_dma_init_channel()
129 writel(value, ioaddr + DMA_CHAN_CONTROL(dwmac4_addrs, chan)); in dwmac4_dma_init_channel()
144 value = readl(ioaddr + DMA_CHAN_CONTROL(dwmac4_addrs, chan)); in dwmac410_dma_init_channel()
148 writel(value, ioaddr + DMA_CHAN_CONTROL(dwmac4_addrs, chan)); in dwmac410_dma_init_channel()
200 reg_space[DMA_CHAN_CONTROL(default_addrs, channel) / 4] = in _dwmac4_dump_dma_regs()
201 readl(ioaddr + DMA_CHAN_CONTROL(dwmac4_addrs, channel)); in _dwmac4_dump_dma_regs()
537 value = readl(ioaddr + DMA_CHAN_CONTROL(dwmac4_addrs, chan)); in dwmac4_enable_sph()
542 writel(value, ioaddr + DMA_CHAN_CONTROL(dwmac4_addrs, chan)); in dwmac4_enable_sph()
H A Ddwmac4_dma.h114 #define DMA_CHAN_CONTROL(addrs, x) dma_chanx_base_addr(addrs, x) macro