Lines Matching refs:value
33 #define SET_32(dw, name, value) \ argument
34 writel(value, &(__dw_regs(dw)->name))
39 #define SET_RW_32(dw, dir, name, value) \ argument
42 SET_32(dw, wr_##name, value); \
44 SET_32(dw, rd_##name, value); \
52 #define SET_BOTH_32(dw, name, value) \ argument
54 SET_32(dw, wr_##name, value); \
55 SET_32(dw, rd_##name, value); \
58 #define SET_64(dw, name, value) \ argument
59 writeq(value, &(__dw_regs(dw)->name))
64 #define SET_RW_64(dw, dir, name, value) \ argument
67 SET_64(dw, wr_##name, value); \
69 SET_64(dw, rd_##name, value); \
77 #define SET_BOTH_64(dw, name, value) \ argument
79 SET_64(dw, wr_##name, value); \
80 SET_64(dw, rd_##name, value); \
83 #define SET_COMPAT(dw, name, value) \ argument
84 writel(value, &(__dw_regs(dw)->type.unroll.name))
86 #define SET_RW_COMPAT(dw, dir, name, value) \ argument
89 SET_COMPAT(dw, wr_##name, value); \
91 SET_COMPAT(dw, rd_##name, value); \
107 u32 value, void __iomem *addr) in writel_ch() argument
121 writel(value, addr); in writel_ch()
125 writel(value, addr); in writel_ch()
132 u32 value; in readl_ch() local
146 value = readl(addr); in readl_ch()
150 value = readl(addr); in readl_ch()
153 return value; in readl_ch()
156 #define SET_CH_32(dw, dir, ch, name, value) \ argument
157 writel_ch(dw, dir, ch, value, &(__dw_ch_regs(dw, dir, ch)->name))