Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/misc/
Ddw-xdata-pcie.c73 static inline struct dw_xdata_regs __iomem *__dw_regs(struct dw_xdata *dw) in __dw_regs() function
84 burst = readl(&(__dw_regs(dw)->burst_cnt)); in dw_xdata_stop()
88 writel(burst, &(__dw_regs(dw)->burst_cnt)); in dw_xdata_stop()
105 writel(0x0, &(__dw_regs(dw)->status)); in dw_xdata_start()
108 writel(BURST_REPEAT | BURST_VALUE, &(__dw_regs(dw)->burst_cnt)); in dw_xdata_start()
111 writel(PATTERN_VALUE, &(__dw_regs(dw)->pattern)); in dw_xdata_start()
121 writel(control, &(__dw_regs(dw)->control)); in dw_xdata_start()
129 status = readl(&(__dw_regs(dw)->status)); in dw_xdata_start()
141 *data = readl(&(__dw_regs(dw)->wr_cnt_msb)); in dw_xdata_perf_meas()
143 *data |= readl(&(__dw_regs(dw)->wr_cnt_lsb)); in dw_xdata_perf_meas()
[all …]
/Linux-v6.6/drivers/dma/dw-edma/
Ddw-edma-v0-core.c28 static inline struct dw_edma_v0_regs __iomem *__dw_regs(struct dw_edma *dw) in __dw_regs() function
34 writel(value, &(__dw_regs(dw)->name))
37 readl(&(__dw_regs(dw)->name))
59 writeq(value, &(__dw_regs(dw)->name))
62 readq(&(__dw_regs(dw)->name))
84 writel(value, &(__dw_regs(dw)->type.unroll.name))
98 return &(__dw_regs(dw)->type.legacy.ch); in __dw_ch_regs()
101 return &__dw_regs(dw)->type.unroll.ch[ch].wr; in __dw_ch_regs()
103 return &__dw_regs(dw)->type.unroll.ch[ch].rd; in __dw_ch_regs()
120 &(__dw_regs(dw)->type.legacy.viewport_sel)); in writel_ch()
[all …]
Ddw-hdma-v0-core.c26 static inline struct dw_hdma_v0_regs __iomem *__dw_regs(struct dw_edma *dw) in __dw_regs() function
35 return &(__dw_regs(dw)->ch[ch].wr); in __dw_ch_regs()
37 return &(__dw_regs(dw)->ch[ch].rd); in __dw_ch_regs()
/Linux-v6.6/drivers/dma/dw/
Dregs.h344 static inline struct dw_dma_regs __iomem *__dw_regs(struct dw_dma *dw) in __dw_regs() function
350 readl(&(__dw_regs(dw)->name))
352 writel((val), &(__dw_regs(dw)->name))
355 hi_lo_readq(&(__dw_regs(dw)->name))
357 hi_lo_writeq((val), &(__dw_regs(dw)->name))
Didma32.c49 void __iomem *misc = __dw_regs(dw); in idma32_initialize_chan_xbar()
Dcore.c1166 dwc->ch_regs = &__dw_regs(dw)->CHAN[i]; in do_dma_probe()
1180 void __iomem *addr = &__dw_regs(dw)->DWC_PARAMS[r]; in do_dma_probe()