Lines Matching refs:regmap

21 struct regmap;
37 void (*format_write)(struct regmap *map,
47 struct regmap *map;
51 struct regmap { struct
163 int (*init)(struct regmap *map); argument
164 int (*exit)(struct regmap *map);
166 void (*debugfs_init)(struct regmap *map);
168 int (*read)(struct regmap *map, unsigned int reg, unsigned int *value);
169 int (*write)(struct regmap *map, unsigned int reg, unsigned int value);
170 int (*sync)(struct regmap *map, unsigned int min, unsigned int max);
171 int (*drop)(struct regmap *map, unsigned int min, unsigned int max);
174 bool regmap_writeable(struct regmap *map, unsigned int reg);
175 bool regmap_readable(struct regmap *map, unsigned int reg);
176 bool regmap_volatile(struct regmap *map, unsigned int reg);
177 bool regmap_precious(struct regmap *map, unsigned int reg);
179 int _regmap_write(struct regmap *map, unsigned int reg,
185 struct regmap *map;
199 struct regmap *regmap; member
211 extern void regmap_debugfs_init(struct regmap *map, const char *name);
212 extern void regmap_debugfs_exit(struct regmap *map);
215 static inline void regmap_debugfs_init(struct regmap *map, const char *name) { } in regmap_debugfs_init()
216 static inline void regmap_debugfs_exit(struct regmap *map) { } in regmap_debugfs_exit()
220 int regcache_init(struct regmap *map, const struct regmap_config *config);
221 void regcache_exit(struct regmap *map);
222 int regcache_read(struct regmap *map,
224 int regcache_write(struct regmap *map,
226 int regcache_sync(struct regmap *map);
227 int regcache_sync_block(struct regmap *map, void *block,
232 static inline const void *regcache_get_val_addr(struct regmap *map, in regcache_get_val_addr()
239 unsigned int regcache_get_val(struct regmap *map, const void *base,
241 bool regcache_set_val(struct regmap *map, void *base, unsigned int idx,
243 int regcache_lookup_reg(struct regmap *map, unsigned int reg);
245 int _regmap_raw_write(struct regmap *map, unsigned int reg,
258 static inline const char *regmap_name(const struct regmap *map) in regmap_name()