Home
last modified time | relevance | path

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

12345678910>>...42

/linux/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 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()
A Darizona-spi.c148 const struct regmap_config *regmap_config = NULL; in arizona_spi_probe() local
161 regmap_config = &wm5102_spi_regmap; in arizona_spi_probe()
166 regmap_config = &wm5110_spi_regmap; in arizona_spi_probe()
171 regmap_config = &cs47l24_spi_regmap; in arizona_spi_probe()
178 if (!regmap_config) { in arizona_spi_probe()
188 arizona->regmap = devm_regmap_init_spi(spi, regmap_config); in arizona_spi_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 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()
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/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/include/linux/
A Dregmap.h353 struct regmap_config { struct
543 const struct regmap_config *config,
547 const struct regmap_config *config,
555 const struct regmap_config *config,
559 const struct regmap_config *config,
571 const struct regmap_config *config,
584 const struct regmap_config *config,
641 const struct regmap_config *config,
649 const struct regmap_config *config,
653 const struct regmap_config *config,
[all …]
/linux/drivers/net/dsa/microchip/
A 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()
/linux/drivers/iio/pressure/
A 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()
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()
76 regmap_config); in bmp280_spi_probe()
/linux/sound/soc/codecs/
A Dcs35l41-i2c.c23 static struct regmap_config cs35l41_regmap_i2c = {
52 const struct regmap_config *regmap_config = &cs35l41_regmap_i2c; in cs35l41_i2c_probe() local
64 cs35l41->regmap = devm_regmap_init_i2c(client, regmap_config); in cs35l41_i2c_probe()
A Dcs35l41-spi.c21 static struct regmap_config cs35l41_regmap_spi = {
47 const struct regmap_config *regmap_config = &cs35l41_regmap_spi; in cs35l41_spi_probe() local
60 cs35l41->regmap = devm_regmap_init_spi(spi, regmap_config); in cs35l41_spi_probe()
A Dak4642.c139 const struct regmap_config *regmap_config; member
565 static const struct regmap_config ak4642_regmap = {
574 static const struct regmap_config ak4643_regmap = {
583 static const struct regmap_config ak4648_regmap = {
593 .regmap_config = &ak4642_regmap,
597 .regmap_config = &ak4643_regmap,
601 .regmap_config = &ak4648_regmap,
671 regmap = devm_regmap_init_i2c(i2c, drvdata->regmap_config); in ak4642_i2c_probe()
A Dtas571x.c41 const struct regmap_config *regmap_config; member
425 static const struct regmap_config tas5711_regmap_config = {
443 .regmap_config = &tas5711_regmap_config,
530 static const struct regmap_config tas5707_regmap_config = {
548 .regmap_config = &tas5707_regmap_config,
637 static const struct regmap_config tas5717_regmap_config = {
656 .regmap_config = &tas5717_regmap_config,
708 static const struct regmap_config tas5721_regmap_config = {
727 .regmap_config = &tas5721_regmap_config,
823 priv->chip->regmap_config); in tas571x_i2c_probe()
/linux/drivers/thermal/
A 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()
/linux/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/drivers/pinctrl/ti/
A 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 …]
/linux/drivers/base/regmap/
A 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()

Completed in 42 milliseconds

12345678910>>...42