Lines Matching refs:__reg_addr
54 #define DEFINE_REG_READ(__reg_name, __reg_addr, __dreg) \ argument
57 return z_mcr20a_read_reg(dev, __dreg, __reg_addr); \
60 #define DEFINE_REG_WRITE(__reg_name, __reg_addr, __dreg) \ argument
64 return z_mcr20a_write_reg(dev, __dreg, __reg_addr, value); \
67 #define DEFINE_DREG_READ(__reg_name, __reg_addr) \ argument
68 DEFINE_REG_READ(__reg_name, __reg_addr, true)
69 #define DEFINE_DREG_WRITE(__reg_name, __reg_addr) \ argument
70 DEFINE_REG_WRITE(__reg_name, __reg_addr, true)
72 #define DEFINE_IREG_READ(__reg_name, __reg_addr) \ argument
73 DEFINE_REG_READ(__reg_name, __reg_addr, false)
74 #define DEFINE_IREG_WRITE(__reg_name, __reg_addr) \ argument
75 DEFINE_REG_WRITE(__reg_name, __reg_addr, false)
138 #define DEFINE_BITS_SET(__reg_name, __reg_addr, __nibble) \ argument
141 value = (value << __reg_addr##__nibble##_SHIFT) & \
142 __reg_addr##__nibble##_MASK; \
153 #define DEFINE_BURST_WRITE(__reg_addr, __addr, __sz, __dreg) \ argument
154 static inline bool write_burst_##__reg_addr( \
160 #define DEFINE_BURST_READ(__reg_addr, __addr, __sz, __dreg) \ argument
161 static inline bool read_burst_##__reg_addr(const struct device *dev, \