Searched refs:__dw_regs (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/misc/ |
D | dw-xdata-pcie.c | 73 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-6.1.9/drivers/dma/dw-edma/ |
D | dw-edma-v0-core.c | 26 static inline struct dw_edma_v0_regs __iomem *__dw_regs(struct dw_edma *dw) in __dw_regs() function 32 writel(value, &(__dw_regs(dw)->name)) 35 readl(&(__dw_regs(dw)->name)) 59 writeq(value, &(__dw_regs(dw)->name)) 62 readq(&(__dw_regs(dw)->name)) 86 writel(value, &(__dw_regs(dw)->type.unroll.name)) 100 return &(__dw_regs(dw)->type.legacy.ch); in __dw_ch_regs() 103 return &__dw_regs(dw)->type.unroll.ch[ch].wr; in __dw_ch_regs() 105 return &__dw_regs(dw)->type.unroll.ch[ch].rd; in __dw_ch_regs() 122 &(__dw_regs(dw)->type.legacy.viewport_sel)); in writel_ch() [all …]
|
/linux-6.1.9/drivers/dma/dw/ |
D | regs.h | 344 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))
|
D | idma32.c | 49 void __iomem *misc = __dw_regs(dw); in idma32_initialize_chan_xbar()
|
D | core.c | 1167 dwc->ch_regs = &__dw_regs(dw)->CHAN[i]; in do_dma_probe() 1181 void __iomem *addr = &__dw_regs(dw)->DWC_PARAMS[r]; in do_dma_probe()
|