Home
last modified time | relevance | path

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

12345678910>>...48

/linux-6.3-rc2/drivers/mfd/
A 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 …]
A 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()
A 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;
A 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()
A 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;
A Docelot-spi.c125 static const struct regmap_config ocelot_spi_regmap_config = {
188 struct regmap_config regmap_config; in ocelot_spi_init_regmap() local
190 memcpy(&regmap_config, &ocelot_spi_regmap_config, sizeof(regmap_config)); in ocelot_spi_init_regmap()
192 regmap_config.name = res->name; in ocelot_spi_init_regmap()
193 regmap_config.max_register = resource_size(res) - 1; in ocelot_spi_init_regmap()
194 regmap_config.reg_base = res->start; in ocelot_spi_init_regmap()
196 return devm_regmap_init(dev, &ocelot_spi_regmap_bus, dev, &regmap_config); in ocelot_spi_init_regmap()
A 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 = {
310 const struct regmap_config *regmap; in sec_pmic_probe()
A Darizona-spi.c193 const struct regmap_config *regmap_config = NULL; in arizona_spi_probe() local
206 regmap_config = &wm5102_spi_regmap; in arizona_spi_probe()
211 regmap_config = &wm5110_spi_regmap; in arizona_spi_probe()
216 regmap_config = &cs47l24_spi_regmap; in arizona_spi_probe()
223 if (!regmap_config) { in arizona_spi_probe()
233 arizona->regmap = devm_regmap_init_spi(spi, regmap_config); in arizona_spi_probe()
A Dintel_soc_pmic_crc.c111 static const struct regmap_config crystal_cove_regmap_config = {
147 const struct regmap_config *regmap_config; member
155 .regmap_config = &crystal_cove_regmap_config,
163 .regmap_config = &crystal_cove_regmap_config,
185 pmic->regmap = devm_regmap_init_i2c(i2c, config->regmap_config); in crystal_cove_i2c_probe()
A Dbd9571mwv.c67 static const struct regmap_config bd9571mwv_regmap_config = {
152 static const struct regmap_config bd9574mwf_regmap_config = {
209 const struct regmap_config *regmap_config; in bd9571mwv_probe() local
226 regmap_config = &bd9571mwv_regmap_config; in bd9571mwv_probe()
232 regmap_config = &bd9574mwf_regmap_config; in bd9571mwv_probe()
242 regmap = devm_regmap_init_i2c(client, regmap_config); in bd9571mwv_probe()
A 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()
A Dhi6421-spmi-pmic.c22 static const struct regmap_config regmap_config = { variable
35 regmap = devm_regmap_init_spmi_ext(sdev, &regmap_config); in hi6421_spmi_pmic_probe()
A 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()
/linux-6.3-rc2/drivers/iio/pressure/
A Dbmp280-i2c.c11 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()
23 regmap_config = &bmp380_regmap_config; in bmp280_i2c_probe()
29 regmap = devm_regmap_init_i2c(client, regmap_config); in bmp280_i2c_probe()
A 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()
70 regmap_config = &bmp380_regmap_config; in bmp280_spi_probe()
79 regmap_config); in bmp280_spi_probe()
/linux-6.3-rc2/drivers/regulator/
A Dpv88080-regulator.c48 const struct pv88080_compatible_regmap *regmap_config; member
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()
478 = regmap_config->buck_regmap[i].buck_mode_reg; in pv88080_i2c_probe()
488 = regmap_config->buck_regmap[i].buck_vsel_reg; in pv88080_i2c_probe()
526 = regmap_config->hvbuck_enable_reg; in pv88080_i2c_probe()
528 = regmap_config->hvbuck_enable_mask; in pv88080_i2c_probe()
530 = regmap_config->hvbuck_vsel_reg; in pv88080_i2c_probe()
[all …]
/linux-6.3-rc2/drivers/net/dsa/microchip/
A Dksz_spi.c42 const struct regmap_config *regmap_config; in ksz_spi_probe() local
45 struct regmap_config rc; in ksz_spi_probe()
58 regmap_config = ksz8863_regmap_config; in ksz_spi_probe()
62 regmap_config = ksz8795_regmap_config; in ksz_spi_probe()
64 regmap_config = ksz9477_regmap_config; in ksz_spi_probe()
67 rc = regmap_config[i]; in ksz_spi_probe()
76 regmap_config[i].val_bits); in ksz_spi_probe()
/linux-6.3-rc2/include/linux/
A Dregmap.h379 struct regmap_config { struct
588 const struct regmap_config *config,
592 const struct regmap_config *config,
600 const struct regmap_config *config,
604 const struct regmap_config *config,
616 const struct regmap_config *config,
629 const struct regmap_config *config,
641 const struct regmap_config *config,
690 const struct regmap_config *config,
698 const struct regmap_config *config,
[all …]
/linux-6.3-rc2/drivers/hwspinlock/
A Dqcom_hwspinlock.c25 const struct regmap_config *regmap_config; member
77 static const struct regmap_config tcsr_msm8226_mutex_config = {
88 .regmap_config = &tcsr_msm8226_mutex_config,
91 static const struct regmap_config tcsr_mutex_config = {
102 .regmap_config = &tcsr_mutex_config,
156 if (!data->regmap_config) in qcom_hwspinlock_probe_mmio()
166 return devm_regmap_init_mmio(dev, base, data->regmap_config); in qcom_hwspinlock_probe_mmio()
/linux-6.3-rc2/drivers/iio/common/st_sensors/
A 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()
A 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()
/linux-6.3-rc2/drivers/thermal/
A Damlogic_thermal.c94 const struct regmap_config *regmap_config; member
201 static const struct regmap_config amlogic_thermal_regmap_config_g12a = {
218 .regmap_config = &amlogic_thermal_regmap_config_g12a,
224 .regmap_config = &amlogic_thermal_regmap_config_g12a,
260 pdata->data->regmap_config); in amlogic_thermal_probe()
/linux-6.3-rc2/sound/soc/codecs/
A Dak4642.c139 const struct regmap_config *regmap_config; member
564 static const struct regmap_config ak4642_regmap = {
573 static const struct regmap_config ak4643_regmap = {
582 static const struct regmap_config ak4648_regmap = {
592 .regmap_config = &ak4642_regmap,
596 .regmap_config = &ak4643_regmap,
600 .regmap_config = &ak4648_regmap,
672 regmap = devm_regmap_init_i2c(i2c, drvdata->regmap_config); in ak4642_i2c_probe()
A Dcs35l41-i2c.c37 const struct regmap_config *regmap_config = &cs35l41_regmap_i2c; in cs35l41_i2c_probe() local
49 cs35l41->regmap = devm_regmap_init_i2c(client, regmap_config); in cs35l41_i2c_probe()
A Dcs35l41-spi.c32 const struct regmap_config *regmap_config = &cs35l41_regmap_spi; in cs35l41_spi_probe() local
45 cs35l41->regmap = devm_regmap_init_spi(spi, regmap_config); in cs35l41_spi_probe()

Completed in 44 milliseconds

12345678910>>...48