Lines Matching refs:regmap
28 struct regmap;
359 struct regmap *__regmap_init(struct device *dev,
365 struct regmap *__regmap_init_i2c(struct i2c_client *i2c,
369 struct regmap *__regmap_init_spi(struct spi_device *dev,
373 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,
377 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,
381 struct regmap *__regmap_init_mmio_clk(struct device *dev, const char *clk_id,
386 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
391 struct regmap *__devm_regmap_init(struct device *dev,
397 struct regmap *__devm_regmap_init_i2c(struct i2c_client *i2c,
401 struct regmap *__devm_regmap_init_spi(struct spi_device *dev,
405 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev,
409 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *dev,
413 struct regmap *__devm_regmap_init_mmio_clk(struct device *dev,
419 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97,
461 int regmap_attach_dev(struct device *dev, struct regmap *map,
671 void regmap_exit(struct regmap *map);
672 int regmap_reinit_cache(struct regmap *map,
674 struct regmap *dev_get_regmap(struct device *dev, const char *name);
675 struct device *regmap_get_device(struct regmap *map);
676 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
677 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
678 int regmap_raw_write(struct regmap *map, unsigned int reg,
680 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
682 int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
684 int regmap_multi_reg_write_bypassed(struct regmap *map,
687 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
689 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
690 int regmap_raw_read(struct regmap *map, unsigned int reg,
692 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
694 int regmap_update_bits(struct regmap *map, unsigned int reg,
696 int regmap_write_bits(struct regmap *map, unsigned int reg,
698 int regmap_update_bits_async(struct regmap *map, unsigned int reg,
700 int regmap_update_bits_check(struct regmap *map, unsigned int reg,
703 int regmap_update_bits_check_async(struct regmap *map, unsigned int reg,
706 int regmap_get_val_bytes(struct regmap *map);
707 int regmap_get_max_register(struct regmap *map);
708 int regmap_get_reg_stride(struct regmap *map);
709 int regmap_async_complete(struct regmap *map);
710 bool regmap_can_raw_write(struct regmap *map);
711 size_t regmap_get_raw_read_max(struct regmap *map);
712 size_t regmap_get_raw_write_max(struct regmap *map);
714 int regcache_sync(struct regmap *map);
715 int regcache_sync_region(struct regmap *map, unsigned int min,
717 int regcache_drop_region(struct regmap *map, unsigned int min,
719 void regcache_cache_only(struct regmap *map, bool enable);
720 void regcache_cache_bypass(struct regmap *map, bool enable);
721 void regcache_mark_dirty(struct regmap *map);
723 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
726 int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
728 int regmap_parse_val(struct regmap *map, const void *buf,
764 struct regmap_field *regmap_field_alloc(struct regmap *regmap,
769 struct regmap *regmap, struct reg_field reg_field);
851 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
868 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write()
875 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async()
882 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write()
889 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async()
896 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write()
903 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read()
910 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read()
917 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read()
924 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
931 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits()
938 static inline int regmap_update_bits_async(struct regmap *map, in regmap_update_bits_async()
946 static inline int regmap_update_bits_check(struct regmap *map, in regmap_update_bits_check()
955 static inline int regmap_update_bits_check_async(struct regmap *map, in regmap_update_bits_check_async()
965 static inline int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes()
971 static inline int regmap_get_max_register(struct regmap *map) in regmap_get_max_register()
977 static inline int regmap_get_reg_stride(struct regmap *map) in regmap_get_reg_stride()
983 static inline int regcache_sync(struct regmap *map) in regcache_sync()
989 static inline int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region()
996 static inline int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region()
1003 static inline void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only()
1008 static inline void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass()
1013 static inline void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty()
1018 static inline void regmap_async_complete(struct regmap *map) in regmap_async_complete()
1023 static inline int regmap_register_patch(struct regmap *map, in regmap_register_patch()
1031 static inline int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val()
1038 static inline struct regmap *dev_get_regmap(struct device *dev, in dev_get_regmap()
1044 static inline struct device *regmap_get_device(struct regmap *map) in regmap_get_device()