• Home
  • Raw
  • Download

Lines Matching refs:reg

51 	unsigned int reg;  member
64 unsigned int reg; member
69 #define regmap_update_bits(map, reg, mask, val) \ argument
70 regmap_update_bits_base(map, reg, mask, val, NULL, false, false)
71 #define regmap_update_bits_async(map, reg, mask, val)\ argument
72 regmap_update_bits_base(map, reg, mask, val, NULL, true, false)
73 #define regmap_update_bits_check(map, reg, mask, val, change)\ argument
74 regmap_update_bits_base(map, reg, mask, val, change, false, false)
75 #define regmap_update_bits_check_async(map, reg, mask, val, change)\ argument
76 regmap_update_bits_base(map, reg, mask, val, change, true, false)
78 #define regmap_write_bits(map, reg, mask, val) \ argument
79 regmap_update_bits_base(map, reg, mask, val, NULL, false, true)
279 bool (*writeable_reg)(struct device *dev, unsigned int reg);
280 bool (*readable_reg)(struct device *dev, unsigned int reg);
281 bool (*volatile_reg)(struct device *dev, unsigned int reg);
282 bool (*precious_reg)(struct device *dev, unsigned int reg);
287 int (*reg_read)(void *context, unsigned int reg, unsigned int *val);
288 int (*reg_write)(void *context, unsigned int reg, unsigned int val);
356 const void *reg, size_t reg_len,
359 const void *reg, size_t reg_len,
365 typedef int (*regmap_hw_reg_read)(void *context, unsigned int reg,
367 typedef int (*regmap_hw_reg_write)(void *context, unsigned int reg,
369 typedef int (*regmap_hw_reg_update_bits)(void *context, unsigned int reg,
624 bool regmap_ac97_default_volatile(struct device *dev, unsigned int reg);
746 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
747 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
748 int regmap_raw_write(struct regmap *map, unsigned int reg,
750 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
757 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
759 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
760 int regmap_raw_read(struct regmap *map, unsigned int reg,
762 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
764 int regmap_update_bits_base(struct regmap *map, unsigned int reg,
784 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
792 static inline bool regmap_reg_in_range(unsigned int reg, in regmap_reg_in_range() argument
795 return reg >= range->range_min && reg <= range->range_max; in regmap_reg_in_range()
798 bool regmap_reg_in_ranges(unsigned int reg,
812 unsigned int reg; member
820 .reg = _reg, \
959 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write() argument
966 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async() argument
973 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write() argument
980 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async() argument
987 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write() argument
994 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read() argument
1001 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read() argument
1008 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read() argument
1015 static inline int regmap_update_bits_base(struct regmap *map, unsigned int reg, in regmap_update_bits_base() argument