Lines Matching defs:reg
20 struct reg { struct
34 static const struct reg reg_ ## __reg_id = { \ argument
59 const struct reg **reg; member
62 static inline const struct reg *reg(const struct regs *regs, u32 reg_id) in reg() function
72 static inline u32 reg_fmask(const struct reg *reg, u32 field_id) in reg_fmask()
81 static inline u32 reg_bit(const struct reg *reg, u32 field_id) in reg_bit()
92 static inline u32 reg_field_max(const struct reg *reg, u32 field_id) in reg_field_max()
100 static inline u32 reg_encode(const struct reg *reg, u32 field_id, u32 val) in reg_encode()
115 static inline u32 reg_decode(const struct reg *reg, u32 field_id, u32 val) in reg_decode()
123 static inline u32 reg_offset(const struct reg *reg) in reg_offset()
129 static inline u32 reg_n_offset(const struct reg *reg, u32 n) in reg_n_offset()