Lines Matching refs:regmap
33 struct regmap;
526 struct regmap *__regmap_init(struct device *dev,
532 struct regmap *__regmap_init_i2c(struct i2c_client *i2c,
536 struct regmap *__regmap_init_sccb(struct i2c_client *i2c,
540 struct regmap *__regmap_init_slimbus(struct slim_device *slimbus,
544 struct regmap *__regmap_init_spi(struct spi_device *dev,
548 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,
552 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,
556 struct regmap *__regmap_init_w1(struct device *w1_dev,
560 struct regmap *__regmap_init_mmio_clk(struct device *dev, const char *clk_id,
565 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
569 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw,
573 struct regmap *__regmap_init_spi_avmm(struct spi_device *spi,
578 struct regmap *__devm_regmap_init(struct device *dev,
584 struct regmap *__devm_regmap_init_i2c(struct i2c_client *i2c,
588 struct regmap *__devm_regmap_init_sccb(struct i2c_client *i2c,
592 struct regmap *__devm_regmap_init_spi(struct spi_device *dev,
596 struct regmap *__devm_regmap_init_spmi_base(struct spmi_device *dev,
600 struct regmap *__devm_regmap_init_spmi_ext(struct spmi_device *dev,
604 struct regmap *__devm_regmap_init_w1(struct device *w1_dev,
608 struct regmap *__devm_regmap_init_mmio_clk(struct device *dev,
614 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97,
618 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw,
622 struct regmap *__devm_regmap_init_slimbus(struct slim_device *slimbus,
626 struct regmap *__devm_regmap_init_i3c(struct i3c_device *i3c,
630 struct regmap *__devm_regmap_init_spi_avmm(struct spi_device *spi,
671 int regmap_attach_dev(struct device *dev, struct regmap *map,
1035 int regmap_mmio_attach_clk(struct regmap *map, struct clk *clk);
1036 void regmap_mmio_detach_clk(struct regmap *map);
1037 void regmap_exit(struct regmap *map);
1038 int regmap_reinit_cache(struct regmap *map,
1040 struct regmap *dev_get_regmap(struct device *dev, const char *name);
1041 struct device *regmap_get_device(struct regmap *map);
1042 int regmap_write(struct regmap *map, unsigned int reg, unsigned int val);
1043 int regmap_write_async(struct regmap *map, unsigned int reg, unsigned int val);
1044 int regmap_raw_write(struct regmap *map, unsigned int reg,
1046 int regmap_noinc_write(struct regmap *map, unsigned int reg,
1048 int regmap_bulk_write(struct regmap *map, unsigned int reg, const void *val,
1050 int regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs,
1052 int regmap_multi_reg_write_bypassed(struct regmap *map,
1055 int regmap_raw_write_async(struct regmap *map, unsigned int reg,
1057 int regmap_read(struct regmap *map, unsigned int reg, unsigned int *val);
1058 int regmap_raw_read(struct regmap *map, unsigned int reg,
1060 int regmap_noinc_read(struct regmap *map, unsigned int reg,
1062 int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val,
1064 int regmap_update_bits_base(struct regmap *map, unsigned int reg,
1068 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
1074 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async()
1080 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check()
1089 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async()
1097 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits()
1103 int regmap_get_val_bytes(struct regmap *map);
1104 int regmap_get_max_register(struct regmap *map);
1105 int regmap_get_reg_stride(struct regmap *map);
1106 int regmap_async_complete(struct regmap *map);
1107 bool regmap_can_raw_write(struct regmap *map);
1108 size_t regmap_get_raw_read_max(struct regmap *map);
1109 size_t regmap_get_raw_write_max(struct regmap *map);
1111 int regcache_sync(struct regmap *map);
1112 int regcache_sync_region(struct regmap *map, unsigned int min,
1114 int regcache_drop_region(struct regmap *map, unsigned int min,
1116 void regcache_cache_only(struct regmap *map, bool enable);
1117 void regcache_cache_bypass(struct regmap *map, bool enable);
1118 void regcache_mark_dirty(struct regmap *map);
1120 bool regmap_check_range_table(struct regmap *map, unsigned int reg,
1123 int regmap_register_patch(struct regmap *map, const struct reg_sequence *regs,
1125 int regmap_parse_val(struct regmap *map, const void *buf,
1138 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits()
1145 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits()
1151 int regmap_test_bits(struct regmap *map, unsigned int reg, unsigned int bits);
1184 struct regmap_field *regmap_field_alloc(struct regmap *regmap,
1189 struct regmap *regmap, struct reg_field reg_field);
1192 int regmap_field_bulk_alloc(struct regmap *regmap,
1197 int devm_regmap_field_bulk_alloc(struct device *dev, struct regmap *regmap,
1429 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
1433 struct regmap *map, int irq,
1439 int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq,
1445 struct regmap *map, int irq,
1465 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write()
1472 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async()
1479 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write()
1486 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async()
1493 static inline int regmap_noinc_write(struct regmap *map, unsigned int reg, in regmap_noinc_write()
1500 static inline int regmap_bulk_write(struct regmap *map, unsigned int reg, in regmap_bulk_write()
1507 static inline int regmap_read(struct regmap *map, unsigned int reg, in regmap_read()
1514 static inline int regmap_raw_read(struct regmap *map, unsigned int reg, in regmap_raw_read()
1521 static inline int regmap_noinc_read(struct regmap *map, unsigned int reg, in regmap_noinc_read()
1528 static inline int regmap_bulk_read(struct regmap *map, unsigned int reg, in regmap_bulk_read()
1535 static inline int regmap_update_bits_base(struct regmap *map, unsigned int reg, in regmap_update_bits_base()
1543 static inline int regmap_set_bits(struct regmap *map, in regmap_set_bits()
1550 static inline int regmap_clear_bits(struct regmap *map, in regmap_clear_bits()
1557 static inline int regmap_test_bits(struct regmap *map, in regmap_test_bits()
1581 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
1588 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async()
1595 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check()
1604 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async()
1612 static inline int regmap_write_bits(struct regmap *map, unsigned int reg, in regmap_write_bits()
1678 static inline int regmap_get_val_bytes(struct regmap *map) in regmap_get_val_bytes()
1684 static inline int regmap_get_max_register(struct regmap *map) in regmap_get_max_register()
1690 static inline int regmap_get_reg_stride(struct regmap *map) in regmap_get_reg_stride()
1696 static inline int regcache_sync(struct regmap *map) in regcache_sync()
1702 static inline int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region()
1709 static inline int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region()
1716 static inline void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only()
1721 static inline void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass()
1726 static inline void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty()
1731 static inline void regmap_async_complete(struct regmap *map) in regmap_async_complete()
1736 static inline int regmap_register_patch(struct regmap *map, in regmap_register_patch()
1744 static inline int regmap_parse_val(struct regmap *map, const void *buf, in regmap_parse_val()
1751 static inline struct regmap *dev_get_regmap(struct device *dev, in dev_get_regmap()
1757 static inline struct device *regmap_get_device(struct regmap *map) in regmap_get_device()