Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc_dma/
Dkpc_dma_driver.h24 u32 __iomem *eng_regs; member
149 return readl(eng->eng_regs + 0); in GetEngineCapabilities()
155 writel(value, eng->eng_regs + 1); in WriteEngineControl()
161 return readl(eng->eng_regs + 1); in GetEngineControl()
177 writel(desc->MyDMAAddr, eng->eng_regs + 2); in SetEngineNextPtr()
183 writel(desc->MyDMAAddr, eng->eng_regs + 3); in SetEngineSWPtr()
189 writel(0, eng->eng_regs + 4); in ClearEngineCompletePtr()
195 return readl(eng->eng_regs + 4); in GetEngineCompletePtr()
Dkpc_dma_driver.c73 readl(ldev->eng_regs + 1), in show_engine_regs()
74 readl(ldev->eng_regs + 2), in show_engine_regs()
75 readl(ldev->eng_regs + 3), in show_engine_regs()
76 readl(ldev->eng_regs + 4), in show_engine_regs()
124 ldev->eng_regs = ioremap(r->start, resource_size(r)); in kpc_dma_probe()
125 if (!ldev->eng_regs) { in kpc_dma_probe()