Home
last modified time | relevance | path

Searched refs:regmap_config (Results 1 – 25 of 692) sorted by relevance

12345678910>>...28

/drivers/mfd/
Dmadera.h24 extern const struct regmap_config cs47l15_16bit_spi_regmap;
25 extern const struct regmap_config cs47l15_32bit_spi_regmap;
26 extern const struct regmap_config cs47l15_16bit_i2c_regmap;
27 extern const struct regmap_config cs47l15_32bit_i2c_regmap;
30 extern const struct regmap_config cs47l35_16bit_spi_regmap;
31 extern const struct regmap_config cs47l35_32bit_spi_regmap;
32 extern const struct regmap_config cs47l35_16bit_i2c_regmap;
33 extern const struct regmap_config cs47l35_32bit_i2c_regmap;
36 extern const struct regmap_config cs47l85_16bit_spi_regmap;
37 extern const struct regmap_config cs47l85_32bit_spi_regmap;
[all …]
Dsimple-mfd-i2c.c27 static const struct regmap_config regmap_config_8r_8v = {
35 const struct regmap_config *regmap_config; in simple_mfd_i2c_probe() local
42 if (!simple_mfd_data || !simple_mfd_data->regmap_config) in simple_mfd_i2c_probe()
43 regmap_config = &regmap_config_8r_8v; in simple_mfd_i2c_probe()
45 regmap_config = simple_mfd_data->regmap_config; in simple_mfd_i2c_probe()
47 regmap = devm_regmap_init_i2c(i2c, regmap_config); in simple_mfd_i2c_probe()
Darizona.h17 extern const struct regmap_config wm5102_i2c_regmap;
18 extern const struct regmap_config wm5102_spi_regmap;
20 extern const struct regmap_config wm5110_i2c_regmap;
21 extern const struct regmap_config wm5110_spi_regmap;
23 extern const struct regmap_config cs47l24_spi_regmap;
25 extern const struct regmap_config wm8997_i2c_regmap;
27 extern const struct regmap_config wm8998_i2c_regmap;
Darizona-i2c.c28 const struct regmap_config *regmap_config = NULL; in arizona_i2c_probe() local
41 regmap_config = &wm5102_i2c_regmap; in arizona_i2c_probe()
46 regmap_config = &wm5110_i2c_regmap; in arizona_i2c_probe()
50 regmap_config = &wm8997_i2c_regmap; in arizona_i2c_probe()
55 regmap_config = &wm8998_i2c_regmap; in arizona_i2c_probe()
62 if (!regmap_config) { in arizona_i2c_probe()
72 arizona->regmap = devm_regmap_init_i2c(i2c, regmap_config); in arizona_i2c_probe()
Dwm8994.h15 extern struct regmap_config wm1811_regmap_config;
16 extern struct regmap_config wm8994_regmap_config;
17 extern struct regmap_config wm8958_regmap_config;
18 extern struct regmap_config wm8994_base_regmap_config;
Darizona-spi.c151 const struct regmap_config *regmap_config = NULL; in arizona_spi_probe() local
164 regmap_config = &wm5102_spi_regmap; in arizona_spi_probe()
169 regmap_config = &wm5110_spi_regmap; in arizona_spi_probe()
174 regmap_config = &cs47l24_spi_regmap; in arizona_spi_probe()
181 if (!regmap_config) { in arizona_spi_probe()
191 arizona->regmap = devm_regmap_init_spi(spi, regmap_config); in arizona_spi_probe()
Dsec-core.c174 static const struct regmap_config sec_regmap_config = {
179 static const struct regmap_config s2mpa01_regmap_config = {
188 static const struct regmap_config s2mps11_regmap_config = {
197 static const struct regmap_config s2mps13_regmap_config = {
206 static const struct regmap_config s2mps14_regmap_config = {
215 static const struct regmap_config s2mps15_regmap_config = {
224 static const struct regmap_config s2mpu02_regmap_config = {
233 static const struct regmap_config s5m8763_regmap_config = {
242 static const struct regmap_config s5m8767_regmap_config = {
311 const struct regmap_config *regmap; in sec_pmic_probe()
Dsta2x11-mfd.c176 static struct regmap_config sta2x11_sctl_regmap_config = {
197 static struct regmap_config sta2x11_scr_regmap_config = {
236 static struct regmap_config sta2x11_apbreg_regmap_config = {
275 static struct regmap_config sta2x11_apb_soc_regs_regmap_config = {
286 static struct regmap_config *
303 struct regmap_config *regmap_config = sta2x11_mfd_regmap_configs[index]; in sta2x11_mfd_platform_probe() local
309 if (!regmap_config) in sta2x11_mfd_platform_probe()
324 regmap_config->lock_arg = &mfd->lock; in sta2x11_mfd_platform_probe()
329 regmap_config->cache_type = REGCACHE_NONE; in sta2x11_mfd_platform_probe()
331 regmap_config); in sta2x11_mfd_platform_probe()
Dbd9571mwv.c67 static const struct regmap_config bd9571mwv_regmap_config = {
152 static const struct regmap_config bd9574mwf_regmap_config = {
210 const struct regmap_config *regmap_config; in bd9571mwv_probe() local
227 regmap_config = &bd9571mwv_regmap_config; in bd9571mwv_probe()
233 regmap_config = &bd9574mwf_regmap_config; in bd9571mwv_probe()
243 regmap = devm_regmap_init_i2c(client, regmap_config); in bd9571mwv_probe()
Dhi6421-spmi-pmic.c23 static const struct regmap_config regmap_config = { variable
39 ddata->regmap = devm_regmap_init_spmi_ext(sdev, &regmap_config); in hi6421_spmi_pmic_probe()
Drsmu_i2c.c78 static const struct regmap_config rsmu_cm_regmap_config = {
89 static const struct regmap_config rsmu_sabre_regmap_config = {
100 static const struct regmap_config rsmu_sl_regmap_config = {
112 const struct regmap_config *cfg; in rsmu_i2c_probe()
Dntxec.c122 static const struct regmap_config regmap_config_noack = {
131 static const struct regmap_config regmap_config = { variable
162 ec->regmap = devm_regmap_init_i2c(client, &regmap_config); in ntxec_probe()
Dwm97xx-core.c93 static const struct regmap_config wm9705_regmap_config = {
161 static const struct regmap_config wm9712_regmap_config = {
232 static const struct regmap_config wm9713_regmap_config = {
254 const struct regmap_config *config; in wm97xx_ac97_probe()
/drivers/regulator/
Dpv88080-regulator.c48 const struct pv88080_compatible_regmap *regmap_config; member
81 static const struct regmap_config pv88080_regmap_config = {
382 const struct pv88080_compatible_regmap *regmap_config; in pv88080_i2c_probe() local
457 chip->regmap_config = &pv88080_aa_regs; in pv88080_i2c_probe()
460 chip->regmap_config = &pv88080_ba_regs; in pv88080_i2c_probe()
464 regmap_config = chip->regmap_config; in pv88080_i2c_probe()
474 = regmap_config->buck_regmap[i].buck_limit_reg; in pv88080_i2c_probe()
476 = regmap_config->buck_regmap[i].buck_limit_mask; in pv88080_i2c_probe()
478 = regmap_config->buck_regmap[i].buck_mode_reg; in pv88080_i2c_probe()
480 = regmap_config->buck_regmap[i].buck_vdac_range_reg; in pv88080_i2c_probe()
[all …]
/drivers/net/dsa/microchip/
Dksz8795_spi.c36 const struct regmap_config *regmap_config; in ksz8795_spi_probe() local
38 struct regmap_config rc; in ksz8795_spi_probe()
53 regmap_config = device_get_match_data(ddev); in ksz8795_spi_probe()
54 if (!regmap_config) in ksz8795_spi_probe()
58 rc = regmap_config[i]; in ksz8795_spi_probe()
65 regmap_config[i].val_bits, ret); in ksz8795_spi_probe()
/drivers/iio/pressure/
Dbmp280-i2c.c12 const struct regmap_config *regmap_config; in bmp280_i2c_probe() local
16 regmap_config = &bmp180_regmap_config; in bmp280_i2c_probe()
20 regmap_config = &bmp280_regmap_config; in bmp280_i2c_probe()
26 regmap = devm_regmap_init_i2c(client, regmap_config); in bmp280_i2c_probe()
Dbmp280-spi.c51 const struct regmap_config *regmap_config; in bmp280_spi_probe() local
63 regmap_config = &bmp180_regmap_config; in bmp280_spi_probe()
67 regmap_config = &bmp280_regmap_config; in bmp280_spi_probe()
76 regmap_config); in bmp280_spi_probe()
/drivers/thermal/
Damlogic_thermal.c95 const struct regmap_config *regmap_config; member
202 static const struct regmap_config amlogic_thermal_regmap_config_g12a = {
219 .regmap_config = &amlogic_thermal_regmap_config_g12a,
225 .regmap_config = &amlogic_thermal_regmap_config_g12a,
261 pdata->data->regmap_config); in amlogic_thermal_probe()
/drivers/iio/common/st_sensors/
Dst_sensors_i2c.c20 static const struct regmap_config st_sensors_i2c_regmap_config = {
25 static const struct regmap_config st_sensors_i2c_regmap_multiread_bit_config = {
42 const struct regmap_config *config; in st_sensors_i2c_configure()
Dst_sensors_spi.c21 static const struct regmap_config st_sensors_spi_regmap_config = {
26 static const struct regmap_config st_sensors_spi_regmap_multiread_bit_config = {
86 const struct regmap_config *config; in st_sensors_spi_configure()
/drivers/pinctrl/ti/
Dpinctrl-ti-iodelay.c82 struct regmap_config *regmap_config; member
402 if (offset > r->regmap_config->max_register) { in ti_iodelay_offset_to_pin()
404 offset, r->regmap_config->max_register); in ti_iodelay_offset_to_pin()
408 index = (offset - r->reg_start_offset) / r->regmap_config->reg_stride; in ti_iodelay_offset_to_pin()
646 offset = selector * r->regmap_config->reg_stride; in ti_iodelay_pin_to_offset()
672 regmap_read(iod->regmap, offset + r->regmap_config->reg_stride, &oen); in ti_iodelay_pin_dbg_show()
673 regmap_read(iod->regmap, offset + r->regmap_config->reg_stride * 2, in ti_iodelay_pin_dbg_show()
750 nr_pins = ti_iodelay_offset_to_pin(iod, r->regmap_config->max_register); in ti_iodelay_alloc_pins()
770 static struct regmap_config dra7_iodelay_regmap_config = {
804 .regmap_config = &dra7_iodelay_regmap_config,
[all …]
/drivers/base/regmap/
Dregmap-sdw.c40 static int regmap_sdw_config_check(const struct regmap_config *config) in regmap_sdw_config_check()
57 const struct regmap_config *config, in __regmap_init_sdw()
73 const struct regmap_config *config, in __devm_regmap_init_sdw()
Dregmap-slimbus.c33 const struct regmap_config *config) in regmap_get_slimbus()
42 const struct regmap_config *config, in __regmap_init_slimbus()
57 const struct regmap_config *config, in __devm_regmap_init_slimbus()
Dregmap-sdw-mbq.c52 static int regmap_sdw_mbq_config_check(const struct regmap_config *config) in regmap_sdw_mbq_config_check()
69 const struct regmap_config *config, in __regmap_init_sdw_mbq()
85 const struct regmap_config *config, in __devm_regmap_init_sdw_mbq()
Dregmap-spmi.c86 const struct regmap_config *config, in __regmap_init_spmi_base()
96 const struct regmap_config *config, in __devm_regmap_init_spmi_base()
206 const struct regmap_config *config, in __regmap_init_spmi_ext()
216 const struct regmap_config *config, in __devm_regmap_init_spmi_ext()

12345678910>>...28