Lines Matching refs:map

37 	void (*format_write)(struct regmap *map,
47 struct regmap *map; member
151 int (*init)(struct regmap *map);
152 int (*exit)(struct regmap *map);
154 void (*debugfs_init)(struct regmap *map);
156 int (*read)(struct regmap *map, unsigned int reg, unsigned int *value);
157 int (*write)(struct regmap *map, unsigned int reg, unsigned int value);
158 int (*sync)(struct regmap *map, unsigned int min, unsigned int max);
159 int (*drop)(struct regmap *map, unsigned int min, unsigned int max);
162 bool regmap_writeable(struct regmap *map, unsigned int reg);
163 bool regmap_readable(struct regmap *map, unsigned int reg);
164 bool regmap_volatile(struct regmap *map, unsigned int reg);
165 bool regmap_precious(struct regmap *map, unsigned int reg);
167 int _regmap_write(struct regmap *map, unsigned int reg,
173 struct regmap *map; member
199 extern void regmap_debugfs_init(struct regmap *map, const char *name);
200 extern void regmap_debugfs_exit(struct regmap *map);
203 static inline void regmap_debugfs_init(struct regmap *map, const char *name) { } in regmap_debugfs_init() argument
204 static inline void regmap_debugfs_exit(struct regmap *map) { } in regmap_debugfs_exit() argument
208 int regcache_init(struct regmap *map, const struct regmap_config *config);
209 void regcache_exit(struct regmap *map);
210 int regcache_read(struct regmap *map,
212 int regcache_write(struct regmap *map,
214 int regcache_sync(struct regmap *map);
215 int regcache_sync_block(struct regmap *map, void *block,
220 static inline const void *regcache_get_val_addr(struct regmap *map, in regcache_get_val_addr() argument
224 return base + (map->cache_word_size * idx); in regcache_get_val_addr()
227 unsigned int regcache_get_val(struct regmap *map, const void *base,
229 bool regcache_set_val(struct regmap *map, void *base, unsigned int idx,
231 int regcache_lookup_reg(struct regmap *map, unsigned int reg);
233 int _regmap_raw_write(struct regmap *map, unsigned int reg,
246 static inline const char *regmap_name(const struct regmap *map) in regmap_name() argument
248 if (map->dev) in regmap_name()
249 return dev_name(map->dev); in regmap_name()
251 return map->name; in regmap_name()