Lines Matching refs:regmap
34 struct regmap;
533 struct regmap *__regmap_init(struct device *dev,
539 struct regmap *__regmap_init_i2c(struct i2c_client *i2c,
543 struct regmap *__regmap_init_sccb(struct i2c_client *i2c,
547 struct regmap *__regmap_init_slimbus(struct slim_device *slimbus,
551 struct regmap *__regmap_init_spi(struct spi_device *dev,
555 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,
559 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,
563 struct regmap *__regmap_init_w1(struct device *w1_dev,
567 struct regmap *__regmap_init_mmio_clk(struct device *dev, const char *clk_id,
572 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
576 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw,
580 struct regmap *__regmap_init_spi_avmm(struct spi_device *spi,
585 struct regmap *__devm_regmap_init(struct device *dev,
591 struct regmap *__devm_regmap_init_i2c(struct i2c_client *i2c,
595 struct regmap *__devm_regmap_init_sccb(struct i2c_client *i2c,
599 struct regmap *__devm_regmap_init_spi(struct spi_device *dev,
603 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev,
607 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *dev,
611 struct regmap *__devm_regmap_init_w1(struct device *w1_dev,
615 struct regmap *__devm_regmap_init_mmio_clk(struct device *dev,
621 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97,
625 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw,
629 struct regmap *__devm_regmap_init_slimbus(struct slim_device *slimbus,
633 struct regmap *__devm_regmap_init_i3c(struct i3c_device *i3c,
637 struct regmap *__devm_regmap_init_spi_avmm(struct spi_device *spi,
678 int regmap_attach_dev(struct device *dev, struct regmap *map,
1042 int regmap_mmio_attach_clk(struct regmap *map, struct clk *clk);
1043 void regmap_mmio_detach_clk(struct regmap *map);
1044 void regmap_exit(struct regmap *map);
1045 int regmap_reinit_cache(struct regmap *map,
1047 struct regmap *dev_get_regmap(struct device *dev, const char *name);
1048 struct device *regmap_get_device(struct regmap *map);
1049 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
1050 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
1051 int regmap_raw_write(struct regmap *map, unsigned int reg,
1053 int regmap_noinc_write(struct regmap *map, unsigned int reg,
1055 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
1057 int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
1059 int regmap_multi_reg_write_bypassed(struct regmap *map,
1062 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
1064 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
1065 int regmap_raw_read(struct regmap *map, unsigned int reg,
1067 int regmap_noinc_read(struct regmap *map, unsigned int reg,
1069 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
1071 int regmap_update_bits_base(struct regmap *map, unsigned int reg,
1075 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
1081 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async()
1087 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check()
1096 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async()
1104 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits()
1110 int regmap_get_val_bytes(struct regmap *map);
1111 int regmap_get_max_register(struct regmap *map);
1112 int regmap_get_reg_stride(struct regmap *map);
1113 int regmap_async_complete(struct regmap *map);
1114 bool regmap_can_raw_write(struct regmap *map);
1115 size_t regmap_get_raw_read_max(struct regmap *map);
1116 size_t regmap_get_raw_write_max(struct regmap *map);
1118 int regcache_sync(struct regmap *map);
1119 int regcache_sync_region(struct regmap *map, unsigned int min,
1121 int regcache_drop_region(struct regmap *map, unsigned int min,
1123 void regcache_cache_only(struct regmap *map, bool enable);
1124 void regcache_cache_bypass(struct regmap *map, bool enable);
1125 void regcache_mark_dirty(struct regmap *map);
1127 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
1130 int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
1132 int regmap_parse_val(struct regmap *map, const void *buf,
1145 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits()
1152 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits()
1158 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
1191 struct regmap_field *regmap_field_alloc(struct regmap *regmap,
1196 struct regmap *regmap, struct reg_field reg_field);
1199 int regmap_field_bulk_alloc(struct regmap *regmap,
1204 int devm_regmap_field_bulk_alloc(struct device *dev, struct regmap *regmap,
1436 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
1440 struct regmap *map, int irq,
1446 int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq,
1452 struct regmap *map, int irq,
1472 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write()
1479 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async()
1486 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write()
1493 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async()
1500 static inline int regmap_noinc_write(struct regmap *map, unsigned int reg, in regmap_noinc_write()
1507 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write()
1514 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read()
1521 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read()
1528 static inline int regmap_noinc_read(struct regmap *map, unsigned int reg, in regmap_noinc_read()
1535 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read()
1542 static inline int regmap_update_bits_base(struct regmap *map, unsigned int reg, in regmap_update_bits_base()
1550 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits()
1557 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits()
1564 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits()
1588 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
1595 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async()
1602 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check()
1611 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async()
1619 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits()
1685 static inline int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes()
1691 static inline int regmap_get_max_register(struct regmap *map) in regmap_get_max_register()
1697 static inline int regmap_get_reg_stride(struct regmap *map) in regmap_get_reg_stride()
1703 static inline int regcache_sync(struct regmap *map) in regcache_sync()
1709 static inline int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region()
1716 static inline int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region()
1723 static inline void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only()
1728 static inline void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass()
1733 static inline void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty()
1738 static inline void regmap_async_complete(struct regmap *map) in regmap_async_complete()
1743 static inline int regmap_register_patch(struct regmap *map, in regmap_register_patch()
1751 static inline int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val()
1758 static inline struct regmap *dev_get_regmap(struct device *dev, in dev_get_regmap()
1764 static inline struct device *regmap_get_device(struct regmap *map) in regmap_get_device()