Lines Matching refs:regmap
27 struct regmap;
327 struct regmap *regmap_init(struct device *dev,
331 int regmap_attach_dev(struct device *dev, struct regmap *map,
333 struct regmap *regmap_init_i2c(struct i2c_client *i2c,
335 struct regmap *regmap_init_spi(struct spi_device *dev,
337 struct regmap *regmap_init_spmi_base(struct spmi_device *dev,
339 struct regmap *regmap_init_spmi_ext(struct spmi_device *dev,
341 struct regmap *regmap_init_mmio_clk(struct device *dev, const char *clk_id,
344 struct regmap *regmap_init_ac97(struct snd_ac97 *ac97,
347 struct regmap *devm_regmap_init(struct device *dev,
351 struct regmap *devm_regmap_init_i2c(struct i2c_client *i2c,
353 struct regmap *devm_regmap_init_spi(struct spi_device *dev,
355 struct regmap *devm_regmap_init_spmi_base(struct spmi_device *dev,
357 struct regmap *devm_regmap_init_spmi_ext(struct spmi_device *dev,
359 struct regmap *devm_regmap_init_mmio_clk(struct device *dev, const char *clk_id,
362 struct regmap *devm_regmap_init_ac97(struct snd_ac97 *ac97,
377 static inline struct regmap *regmap_init_mmio(struct device *dev, in regmap_init_mmio()
395 static inline struct regmap *devm_regmap_init_mmio(struct device *dev, in devm_regmap_init_mmio()
402 void regmap_exit(struct regmap *map);
403 int regmap_reinit_cache(struct regmap *map,
405 struct regmap *dev_get_regmap(struct device *dev, const char *name);
406 struct device *regmap_get_device(struct regmap *map);
407 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
408 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
409 int regmap_raw_write(struct regmap *map, unsigned int reg,
411 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
413 int regmap_multi_reg_write(struct regmap *map, const struct reg_default *regs,
415 int regmap_multi_reg_write_bypassed(struct regmap *map,
418 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
420 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
421 int regmap_raw_read(struct regmap *map, unsigned int reg,
423 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
425 int regmap_update_bits(struct regmap *map, unsigned int reg,
427 int regmap_update_bits_async(struct regmap *map, unsigned int reg,
429 int regmap_update_bits_check(struct regmap *map, unsigned int reg,
432 int regmap_update_bits_check_async(struct regmap *map, unsigned int reg,
435 int regmap_get_val_bytes(struct regmap *map);
436 int regmap_async_complete(struct regmap *map);
437 bool regmap_can_raw_write(struct regmap *map);
439 int regcache_sync(struct regmap *map);
440 int regcache_sync_region(struct regmap *map, unsigned int min,
442 int regcache_drop_region(struct regmap *map, unsigned int min,
444 void regcache_cache_only(struct regmap *map, bool enable);
445 void regcache_cache_bypass(struct regmap *map, bool enable);
446 void regcache_mark_dirty(struct regmap *map);
448 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
451 int regmap_register_patch(struct regmap *map, const struct reg_default *regs,
453 int regmap_parse_val(struct regmap *map, const void *buf,
489 struct regmap_field *regmap_field_alloc(struct regmap *regmap,
494 struct regmap *regmap, struct reg_field reg_field);
566 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
583 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write()
590 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async()
597 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write()
604 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async()
611 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write()
618 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read()
625 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read()
632 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read()
639 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
646 static inline int regmap_update_bits_async(struct regmap *map, in regmap_update_bits_async()
654 static inline int regmap_update_bits_check(struct regmap *map, in regmap_update_bits_check()
663 static inline int regmap_update_bits_check_async(struct regmap *map, in regmap_update_bits_check_async()
673 static inline int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes()
679 static inline int regcache_sync(struct regmap *map) in regcache_sync()
685 static inline int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region()
692 static inline int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region()
699 static inline void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only()
704 static inline void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass()
709 static inline void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty()
714 static inline void regmap_async_complete(struct regmap *map) in regmap_async_complete()
719 static inline int regmap_register_patch(struct regmap *map, in regmap_register_patch()
727 static inline int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val()
734 static inline struct regmap *dev_get_regmap(struct device *dev, in dev_get_regmap()
740 static inline struct device *regmap_get_device(struct regmap *map) in regmap_get_device()