Home
last modified time | relevance | path

Searched refs:regmap (Results 1 – 25 of 71) sorted by relevance

123

/include/linux/mfd/
Dsyscon.h24 extern struct regmap *syscon_node_to_regmap(struct device_node *np);
25 extern struct regmap *syscon_regmap_lookup_by_compatible(const char *s);
26 extern struct regmap *syscon_regmap_lookup_by_pdevname(const char *s);
27 extern struct regmap *syscon_regmap_lookup_by_phandle(
31 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap()
36 static inline struct regmap *syscon_regmap_lookup_by_compatible(const char *s) in syscon_regmap_lookup_by_compatible()
41 static inline struct regmap *syscon_regmap_lookup_by_pdevname(const char *s) in syscon_regmap_lookup_by_pdevname()
46 static inline struct regmap *syscon_regmap_lookup_by_phandle( in syscon_regmap_lookup_by_phandle()
Dmax77693-common.h35 struct regmap *regmap; member
36 struct regmap *regmap_muic;
37 struct regmap *regmap_haptic; /* Only MAX77693 */
38 struct regmap *regmap_chg; /* Only MAX77843 */
Drt5033.h32 struct regmap *regmap; member
41 struct regmap *regmap; member
Dsmsc.h33 struct regmap *regmap; member
47 return regmap_read(smsc->regmap, reg, dest); in smsc_read()
55 return regmap_write(smsc->regmap, reg, value); in smsc_write()
Dintel_soc_pmic.h26 struct regmap *regmap; member
Dbcm590xx.h29 struct regmap *regmap_pri;
30 struct regmap *regmap_sec;
Dhi6421-pmic.h38 struct regmap *regmap; member
Ddavinci_voicecodec.h33 struct regmap;
112 struct regmap *regmap; member
Das3711.h76 struct regmap;
80 struct regmap *regmap; member
Drc5t583.h299 struct regmap *regmap; member
341 return regmap_write(rc5t583->regmap, reg, val); in rc5t583_write()
349 ret = regmap_read(rc5t583->regmap, reg, &ival); in rc5t583_read()
359 return regmap_update_bits(rc5t583->regmap, reg, bit_mask, bit_mask); in rc5t583_set_bits()
366 return regmap_update_bits(rc5t583->regmap, reg, bit_mask, 0); in rc5t583_clear_bits()
373 return regmap_update_bits(rc5t583->regmap, reg, mask, val); in rc5t583_update()
Daltera-a10sr.h82 struct regmap *regmap; member
Dtps6105x.h94 struct regmap *regmap; member
Dhi655x-pmic.h58 struct regmap *regmap; member
Dlm3533.h23 struct regmap;
28 struct regmap *regmap; member
Dlp3943.h105 struct regmap *regmap; member
Dmax14577-private.h442 struct regmap *regmap; /* For MUIC and Charger */ member
443 struct regmap *regmap_pmic;
451 static inline int max14577_read_reg(struct regmap *map, u8 reg, u8 *dest) in max14577_read_reg()
462 static inline int max14577_bulk_read(struct regmap *map, u8 reg, u8 *buf, in max14577_bulk_read()
468 static inline int max14577_write_reg(struct regmap *map, u8 reg, u8 value) in max14577_write_reg()
473 static inline int max14577_bulk_write(struct regmap *map, u8 reg, u8 *buf, in max14577_bulk_write()
479 static inline int max14577_update_reg(struct regmap *map, u8 reg, u8 mask, in max14577_update_reg()
/include/linux/
Dregmap.h29 struct regmap;
429 struct regmap *__regmap_init(struct device *dev,
435 struct regmap *__regmap_init_i2c(struct i2c_client *i2c,
439 struct regmap *__regmap_init_spi(struct spi_device *dev,
443 struct regmap *__regmap_init_spmi_base(struct spmi_device *dev,
447 struct regmap *__regmap_init_spmi_ext(struct spmi_device *dev,
451 struct regmap *__regmap_init_mmio_clk(struct device *dev, const char *clk_id,
456 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
461 struct regmap *__devm_regmap_init(struct device *dev,
467 struct regmap *__devm_regmap_init_i2c(struct i2c_client *i2c,
[all …]
Dvexpress.h39 struct regmap * (*regmap_init)(struct device *dev, void *context);
40 void (*regmap_exit)(struct regmap *regmap, void *context);
48 struct regmap *devm_regmap_init_vexpress_config(struct device *dev);
/include/linux/mfd/da9055/
Dcore.h42 struct regmap *regmap; member
56 ret = regmap_read(da9055->regmap, reg, &val); in da9055_reg_read()
66 return regmap_write(da9055->regmap, reg, val); in da9055_reg_write()
72 return regmap_bulk_read(da9055->regmap, reg, val, reg_cnt); in da9055_group_read()
78 return regmap_raw_write(da9055->regmap, reg, val, reg_cnt); in da9055_group_write()
85 return regmap_update_bits(da9055->regmap, reg, bit_mask, reg_val); in da9055_reg_update()
/include/linux/mfd/wm8994/
Dcore.h66 struct regmap *regmap; member
92 ret = regmap_read(wm8994->regmap, reg, &val); in wm8994_reg_read()
103 return regmap_write(wm8994->regmap, reg, val); in wm8994_reg_write()
109 return regmap_bulk_read(wm8994->regmap, reg, buf, count); in wm8994_bulk_read()
115 return regmap_raw_write(wm8994->regmap, reg, buf, count * sizeof(u16)); in wm8994_bulk_write()
121 return regmap_update_bits(wm8994->regmap, reg, mask, val); in wm8994_set_bits()
/include/linux/mfd/da9062/
Dcore.h46 struct regmap *regmap; member
/include/linux/mfd/da9052/
Dda9052.h93 struct regmap *regmap; member
117 ret = regmap_read(da9052->regmap, reg, &val); in da9052_reg_read()
135 ret = regmap_write(da9052->regmap, reg, val); in da9052_reg_write()
156 ret = regmap_read(da9052->regmap, reg + i, &tmp); in da9052_group_read()
178 ret = regmap_write(da9052->regmap, reg + i, val[i]); in da9052_group_write()
198 ret = regmap_update_bits(da9052->regmap, reg, bit_mask, reg_val); in da9052_reg_update()
/include/linux/soc/mediatek/
Dinfracfg.h23 int mtk_infracfg_set_bus_protection(struct regmap *infracfg, u32 mask);
24 int mtk_infracfg_clear_bus_protection(struct regmap *infracfg, u32 mask);
/include/linux/mfd/mt6397/
Dcore.h56 struct regmap *regmap; member
/include/linux/mfd/da9063/
Dcore.h86 struct regmap *regmap; member

123