Lines Matching refs:regmap
34 struct regmap;
572 struct regmap *__regmap_init(struct device *dev,
578 struct regmap *__regmap_init_i2c(struct i2c_client *i2c,
582 struct regmap *__regmap_init_mdio(struct mdio_device *mdio_dev,
586 struct regmap *__regmap_init_sccb(struct i2c_client *i2c,
590 struct regmap *__regmap_init_slimbus(struct slim_device *slimbus,
594 struct regmap *__regmap_init_spi(struct spi_device *dev,
598 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,
602 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,
606 struct regmap *__regmap_init_w1(struct device *w1_dev,
610 struct regmap *__regmap_init_mmio_clk(struct device *dev, const char *clk_id,
615 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
619 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw,
623 struct regmap *__regmap_init_sdw_mbq(struct sdw_slave *sdw,
627 struct regmap *__regmap_init_spi_avmm(struct spi_device *spi,
632 struct regmap *__devm_regmap_init(struct device *dev,
638 struct regmap *__devm_regmap_init_i2c(struct i2c_client *i2c,
642 struct regmap *__devm_regmap_init_mdio(struct mdio_device *mdio_dev,
646 struct regmap *__devm_regmap_init_sccb(struct i2c_client *i2c,
650 struct regmap *__devm_regmap_init_spi(struct spi_device *dev,
654 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev,
658 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *dev,
662 struct regmap *__devm_regmap_init_w1(struct device *w1_dev,
666 struct regmap *__devm_regmap_init_mmio_clk(struct device *dev,
672 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97,
676 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw,
680 struct regmap *__devm_regmap_init_sdw_mbq(struct sdw_slave *sdw,
684 struct regmap *__devm_regmap_init_slimbus(struct slim_device *slimbus,
688 struct regmap *__devm_regmap_init_i3c(struct i3c_device *i3c,
692 struct regmap *__devm_regmap_init_spi_avmm(struct spi_device *spi,
733 int regmap_attach_dev(struct device *dev, struct regmap *map,
1151 int regmap_mmio_attach_clk(struct regmap *map, struct clk *clk);
1152 void regmap_mmio_detach_clk(struct regmap *map);
1153 void regmap_exit(struct regmap *map);
1154 int regmap_reinit_cache(struct regmap *map,
1156 struct regmap *dev_get_regmap(struct device *dev, const char *name);
1157 struct device *regmap_get_device(struct regmap *map);
1158 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
1159 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
1160 int regmap_raw_write(struct regmap *map, unsigned int reg,
1162 int regmap_noinc_write(struct regmap *map, unsigned int reg,
1164 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
1166 int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
1168 int regmap_multi_reg_write_bypassed(struct regmap *map,
1171 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
1173 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
1174 int regmap_raw_read(struct regmap *map, unsigned int reg,
1176 int regmap_noinc_read(struct regmap *map, unsigned int reg,
1178 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
1180 int regmap_update_bits_base(struct regmap *map, unsigned int reg,
1184 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
1190 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async()
1196 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check()
1205 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async()
1213 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits()
1219 int regmap_get_val_bytes(struct regmap *map);
1220 int regmap_get_max_register(struct regmap *map);
1221 int regmap_get_reg_stride(struct regmap *map);
1222 int regmap_async_complete(struct regmap *map);
1223 bool regmap_can_raw_write(struct regmap *map);
1224 size_t regmap_get_raw_read_max(struct regmap *map);
1225 size_t regmap_get_raw_write_max(struct regmap *map);
1227 int regcache_sync(struct regmap *map);
1228 int regcache_sync_region(struct regmap *map, unsigned int min,
1230 int regcache_drop_region(struct regmap *map, unsigned int min,
1232 void regcache_cache_only(struct regmap *map, bool enable);
1233 void regcache_cache_bypass(struct regmap *map, bool enable);
1234 void regcache_mark_dirty(struct regmap *map);
1236 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
1239 int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
1241 int regmap_parse_val(struct regmap *map, const void *buf,
1254 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits()
1261 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits()
1267 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
1300 struct regmap_field *regmap_field_alloc(struct regmap *regmap,
1305 struct regmap *regmap, struct reg_field reg_field);
1308 int regmap_field_bulk_alloc(struct regmap *regmap,
1313 int devm_regmap_field_bulk_alloc(struct device *dev, struct regmap *regmap,
1620 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
1624 struct regmap *map, int irq,
1630 int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq,
1636 struct regmap *map, int irq,
1656 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write()
1663 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async()
1670 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write()
1677 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async()
1684 static inline int regmap_noinc_write(struct regmap *map, unsigned int reg, in regmap_noinc_write()
1691 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write()
1698 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read()
1705 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read()
1712 static inline int regmap_noinc_read(struct regmap *map, unsigned int reg, in regmap_noinc_read()
1719 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read()
1726 static inline int regmap_update_bits_base(struct regmap *map, unsigned int reg, in regmap_update_bits_base()
1734 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits()
1741 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits()
1748 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits()
1772 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
1779 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async()
1786 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check()
1795 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async()
1803 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits()
1890 static inline int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes()
1896 static inline int regmap_get_max_register(struct regmap *map) in regmap_get_max_register()
1902 static inline int regmap_get_reg_stride(struct regmap *map) in regmap_get_reg_stride()
1908 static inline int regcache_sync(struct regmap *map) in regcache_sync()
1914 static inline int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region()
1921 static inline int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region()
1928 static inline void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only()
1933 static inline void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass()
1938 static inline void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty()
1943 static inline void regmap_async_complete(struct regmap *map) in regmap_async_complete()
1948 static inline int regmap_register_patch(struct regmap *map, in regmap_register_patch()
1956 static inline int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val()
1963 static inline struct regmap *dev_get_regmap(struct device *dev, in dev_get_regmap()
1969 static inline struct device *regmap_get_device(struct regmap *map) in regmap_get_device()