Lines Matching refs:regmap

19 struct regmap;
35 void (*format_write)(struct regmap *map,
45 struct regmap *map;
49 struct regmap { struct
169 int (*init)(struct regmap *map); argument
170 int (*exit)(struct regmap *map);
172 void (*debugfs_init)(struct regmap *map);
174 int (*read)(struct regmap *map, unsigned int reg, unsigned int *value);
175 int (*write)(struct regmap *map, unsigned int reg, unsigned int value);
176 int (*sync)(struct regmap *map, unsigned int min, unsigned int max);
177 int (*drop)(struct regmap *map, unsigned int min, unsigned int max);
180 bool regmap_cached(struct regmap *map, unsigned int reg);
181 bool regmap_writeable(struct regmap *map, unsigned int reg);
182 bool regmap_readable(struct regmap *map, unsigned int reg);
183 bool regmap_volatile(struct regmap *map, unsigned int reg);
184 bool regmap_precious(struct regmap *map, unsigned int reg);
185 bool regmap_writeable_noinc(struct regmap *map, unsigned int reg);
186 bool regmap_readable_noinc(struct regmap *map, unsigned int reg);
188 int _regmap_write(struct regmap *map, unsigned int reg,
194 struct regmap *map;
208 struct regmap *regmap; member
220 extern void regmap_debugfs_init(struct regmap *map, const char *name);
221 extern void regmap_debugfs_exit(struct regmap *map);
223 static inline void regmap_debugfs_disable(struct regmap *map) in regmap_debugfs_disable()
230 static inline void regmap_debugfs_init(struct regmap *map, const char *name) { } in regmap_debugfs_init()
231 static inline void regmap_debugfs_exit(struct regmap *map) { } in regmap_debugfs_exit()
232 static inline void regmap_debugfs_disable(struct regmap *map) { } in regmap_debugfs_disable()
236 int regcache_init(struct regmap *map, const struct regmap_config *config);
237 void regcache_exit(struct regmap *map);
238 int regcache_read(struct regmap *map,
240 int regcache_write(struct regmap *map,
242 int regcache_sync(struct regmap *map);
243 int regcache_sync_block(struct regmap *map, void *block,
248 static inline const void *regcache_get_val_addr(struct regmap *map, in regcache_get_val_addr()
255 unsigned int regcache_get_val(struct regmap *map, const void *base,
257 bool regcache_set_val(struct regmap *map, void *base, unsigned int idx,
259 int regcache_lookup_reg(struct regmap *map, unsigned int reg);
261 int _regmap_raw_write(struct regmap *map, unsigned int reg,
274 static inline const char *regmap_name(const struct regmap *map) in regmap_name()
282 static inline unsigned int regmap_get_offset(const struct regmap *map, in regmap_get_offset()
291 static inline unsigned int regcache_get_index_by_order(const struct regmap *map, in regcache_get_index_by_order()