Lines Matching refs:__reg_name
54 #define DEFINE_REG_READ(__reg_name, __reg_addr, __dreg) \ argument
55 static inline uint8_t read_reg_##__reg_name(const struct device *dev) \
60 #define DEFINE_REG_WRITE(__reg_name, __reg_addr, __dreg) \ argument
61 static inline bool write_reg_##__reg_name(const struct device *dev, \
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
139 static inline uint8_t set_bits_##__reg_name(uint8_t value) \