/Linux-v6.6/drivers/mfd/ |
D | madera.h | 24 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 …]
|
D | arizona.h | 17 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;
|
D | simple-mfd-i2c.c | 27 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 = ®map_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()
|
D | arizona-i2c.c | 28 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()
|
D | wm8994.h | 15 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;
|
D | ocelot-spi.c | 125 static const struct regmap_config ocelot_spi_regmap_config = { 189 struct regmap_config regmap_config; in ocelot_spi_init_regmap() local 191 memcpy(®map_config, &ocelot_spi_regmap_config, sizeof(regmap_config)); in ocelot_spi_init_regmap() 193 regmap_config.name = res->name; in ocelot_spi_init_regmap() 194 regmap_config.max_register = resource_size(res) - 1; in ocelot_spi_init_regmap() 195 regmap_config.reg_base = res->start; in ocelot_spi_init_regmap() 197 return devm_regmap_init(dev, &ocelot_spi_regmap_bus, dev, ®map_config); in ocelot_spi_init_regmap()
|
D | arizona-spi.c | 193 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()
|
D | sec-core.c | 146 static const struct regmap_config sec_regmap_config = { 151 static const struct regmap_config s2mpa01_regmap_config = { 160 static const struct regmap_config s2mps11_regmap_config = { 169 static const struct regmap_config s2mps13_regmap_config = { 178 static const struct regmap_config s2mps14_regmap_config = { 187 static const struct regmap_config s2mps15_regmap_config = { 196 static const struct regmap_config s2mpu02_regmap_config = { 205 static const struct regmap_config s5m8767_regmap_config = { 273 const struct regmap_config *regmap; in sec_pmic_probe()
|
D | rk8xx-i2c.c | 20 const struct regmap_config *regmap_cfg; 79 static const struct regmap_config rk818_regmap_config = { 87 static const struct regmap_config rk805_regmap_config = { 95 static const struct regmap_config rk808_regmap_config = { 103 static const struct regmap_config rk817_regmap_config = {
|
D | intel_soc_pmic_crc.c | 111 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()
|
D | bd9571mwv.c | 67 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()
|
D | sta2x11-mfd.c | 176 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()
|
D | hi6421-spmi-pmic.c | 22 static const struct regmap_config regmap_config = { variable 35 regmap = devm_regmap_init_spmi_ext(sdev, ®map_config); in hi6421_spmi_pmic_probe()
|
/Linux-v6.6/drivers/net/dsa/ |
D | mt7530-mdio.c | 86 struct regmap_config *mt7531_pcs_config[2] = {}; in mt7531_create_sgmii() 96 sizeof(struct regmap_config), in mt7531_create_sgmii() 146 static struct regmap_config *regmap_config; in mt7530_probe() local 199 regmap_config = devm_kzalloc(&mdiodev->dev, sizeof(*regmap_config), in mt7530_probe() 201 if (!regmap_config) in mt7530_probe() 204 regmap_config->reg_bits = 16; in mt7530_probe() 205 regmap_config->val_bits = 32; in mt7530_probe() 206 regmap_config->reg_stride = 4; in mt7530_probe() 207 regmap_config->max_register = MT7530_CREV; in mt7530_probe() 208 regmap_config->disable_locking = true; in mt7530_probe() [all …]
|
/Linux-v6.6/drivers/hwspinlock/ |
D | qcom_hwspinlock.c | 25 const struct regmap_config *regmap_config; member 72 static const struct regmap_config sfpb_mutex_config = { 83 .regmap_config = &sfpb_mutex_config, 86 static const struct regmap_config tcsr_msm8226_mutex_config = { 97 .regmap_config = &tcsr_msm8226_mutex_config, 100 static const struct regmap_config tcsr_mutex_config = { 111 .regmap_config = &tcsr_mutex_config, 165 if (!data->regmap_config) in qcom_hwspinlock_probe_mmio() 175 return devm_regmap_init_mmio(dev, base, data->regmap_config); in qcom_hwspinlock_probe_mmio()
|
/Linux-v6.6/drivers/regulator/ |
D | pv88080-regulator.c | 48 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 …]
|
/Linux-v6.6/drivers/net/dsa/microchip/ |
D | ksz_spi.c | 42 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-v6.6/include/linux/ |
D | regmap.h | 388 struct regmap_config { struct 593 const struct regmap_config *config, 597 const struct regmap_config *config, 601 const struct regmap_config *config, 605 const struct regmap_config *config, 609 const struct regmap_config *config, 613 const struct regmap_config *config, 617 const struct regmap_config *config, 621 const struct regmap_config *config, 625 const struct regmap_config *config, [all …]
|
/Linux-v6.6/drivers/base/regmap/ |
D | regmap-kunit.c | 12 static const struct regmap_config test_regmap_config = { 52 static struct regmap *gen_regmap(struct regmap_config *config, in gen_regmap() 107 struct regmap_config config; in basic_read_write() 136 struct regmap_config config; in bulk_write() 173 struct regmap_config config; in bulk_read() 206 struct regmap_config config; in write_readonly() 241 struct regmap_config config; in read_writeonly() 281 struct regmap_config config; in reg_defaults() 309 struct regmap_config config; in reg_defaults_read_dev() 343 struct regmap_config config; in register_patch() [all …]
|
/Linux-v6.6/drivers/iio/common/st_sensors/ |
D | st_sensors_i2c.c | 20 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()
|
D | st_sensors_spi.c | 21 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-v6.6/drivers/iio/pressure/ |
D | bmp280-regmap.c | 32 const struct regmap_config bmp180_regmap_config = { 166 const struct regmap_config bmp280_regmap_config = { 178 const struct regmap_config bmp380_regmap_config = { 190 const struct regmap_config bmp580_regmap_config = {
|
/Linux-v6.6/drivers/thermal/ |
D | amlogic_thermal.c | 92 const struct regmap_config *regmap_config; member 199 static const struct regmap_config amlogic_thermal_regmap_config_g12a = { 216 .regmap_config = &amlogic_thermal_regmap_config_g12a, 222 .regmap_config = &amlogic_thermal_regmap_config_g12a, 258 pdata->data->regmap_config); in amlogic_thermal_probe()
|
/Linux-v6.6/sound/soc/codecs/ |
D | ak4642.c | 139 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()
|
D | cs35l56-spi.c | 19 const struct regmap_config *regmap_config = &cs35l56_regmap_spi; in cs35l56_spi_probe() local 28 cs35l56->base.regmap = devm_regmap_init_spi(spi, regmap_config); in cs35l56_spi_probe()
|