| /linux/drivers/mfd/ |
| H A 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 …]
|
| H A 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;
|
| H A D | sec-i2c.c | 29 const struct regmap_config *regmap_cfg; 69 static const struct regmap_config s2dos05_regmap_config = { 74 static const struct regmap_config s2mpa01_regmap_config = { 83 static const struct regmap_config s2mps11_regmap_config = { 92 static const struct regmap_config s2mps13_regmap_config = { 101 static const struct regmap_config s2mps14_regmap_config = { 110 static const struct regmap_config s2mps15_regmap_config = { 119 static const struct regmap_config s2mpu02_regmap_config = { 128 static const struct regmap_config s2mpu05_regmap_config = { 133 static const struct regmap_config s5m8767_regmap_config = {
|
| H A D | arizona-i2c.c | 26 const struct regmap_config *regmap_config = NULL; in arizona_i2c_probe() local 34 regmap_config = &wm5102_i2c_regmap; in arizona_i2c_probe() 39 regmap_config = &wm5110_i2c_regmap; in arizona_i2c_probe() 43 regmap_config = &wm8997_i2c_regmap; in arizona_i2c_probe() 48 regmap_config = &wm8998_i2c_regmap; in arizona_i2c_probe() 55 if (!regmap_config) { in arizona_i2c_probe() 65 arizona->regmap = devm_regmap_init_i2c(i2c, regmap_config); in arizona_i2c_probe()
|
| H A D | ocelot-spi.c | 125 static const struct regmap_config ocelot_spi_regmap_config = { 186 struct regmap_config regmap_config; in ocelot_spi_init_regmap() local 188 memcpy(®map_config, &ocelot_spi_regmap_config, sizeof(regmap_config)); in ocelot_spi_init_regmap() 190 regmap_config.name = res->name; in ocelot_spi_init_regmap() 191 regmap_config.max_register = resource_size(res) - 1; in ocelot_spi_init_regmap() 192 regmap_config.reg_base = res->start; in ocelot_spi_init_regmap() 194 return devm_regmap_init(dev, &ocelot_spi_regmap_bus, dev, ®map_config); in ocelot_spi_init_regmap()
|
| H A 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;
|
| H A D | rk8xx-i2c.c | 20 const struct regmap_config *regmap_cfg; 119 static const struct regmap_config rk818_regmap_config = { 127 static const struct regmap_config rk805_regmap_config = { 135 static const struct regmap_config rk806_regmap_config = { 143 static const struct regmap_config rk808_regmap_config = { 151 static const struct regmap_config rk816_regmap_config = { 159 static const struct regmap_config rk817_regmap_config = {
|
| H A D | arizona-spi.c | 194 const struct regmap_config *regmap_config = NULL; in arizona_spi_probe() local 202 regmap_config = &wm5102_spi_regmap; in arizona_spi_probe() 207 regmap_config = &wm5110_spi_regmap; in arizona_spi_probe() 212 regmap_config = &cs47l24_spi_regmap; in arizona_spi_probe() 219 if (!regmap_config) { in arizona_spi_probe() 229 arizona->regmap = devm_regmap_init_spi(spi, regmap_config); in arizona_spi_probe()
|
| H A 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()
|
| H A 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/drivers/regulator/ |
| H A D | pv88080-regulator.c | 44 const struct pv88080_compatible_regmap *regmap_config; member 77 static const struct regmap_config pv88080_regmap_config = { 367 const struct pv88080_compatible_regmap *regmap_config; in pv88080_i2c_probe() local 385 chip->regmap_config = i2c_get_match_data(i2c); in pv88080_i2c_probe() 386 if (!chip->regmap_config) in pv88080_i2c_probe() 432 regmap_config = chip->regmap_config; in pv88080_i2c_probe() 442 = regmap_config->buck_regmap[i].buck_limit_reg; in pv88080_i2c_probe() 444 = regmap_config->buck_regmap[i].buck_limit_mask; in pv88080_i2c_probe() 446 = regmap_config->buck_regmap[i].buck_mode_reg; in pv88080_i2c_probe() 448 = regmap_config->buck_regmap[i].buck_vdac_range_reg; in pv88080_i2c_probe() [all …]
|
| /linux/drivers/hwspinlock/ |
| H A D | qcom_hwspinlock.c | 25 const struct regmap_config *regmap_config; member 97 static const struct regmap_config sfpb_mutex_config = { 108 .regmap_config = &sfpb_mutex_config, 111 static const struct regmap_config tcsr_msm8226_mutex_config = { 122 .regmap_config = &tcsr_msm8226_mutex_config, 125 static const struct regmap_config tcsr_mutex_config = { 136 .regmap_config = &tcsr_mutex_config, 189 if (!data->regmap_config) in qcom_hwspinlock_probe_mmio() 199 return devm_regmap_init_mmio(dev, base, data->regmap_config); in qcom_hwspinlock_probe_mmio()
|
| /linux/include/linux/ |
| H A D | regmap.h | 404 struct regmap_config { struct 636 const struct regmap_config *config, 640 const struct regmap_config *config, 644 const struct regmap_config *config, 648 const struct regmap_config *config, 652 const struct regmap_config *config, 656 const struct regmap_config *config, 660 const struct regmap_config *config, 664 const struct regmap_config *config, 668 const struct regmap_config *config, [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_spi.c | 139 const struct regmap_config *regmap_config; in ksz_spi_probe() local 142 struct regmap_config rc; in ksz_spi_probe() 157 regmap_config = ksz8863_regmap_config; in ksz_spi_probe() 159 regmap_config = ksz8463_regmap_config; in ksz_spi_probe() 163 regmap_config = ksz8795_regmap_config; in ksz_spi_probe() 166 regmap_config = ksz8863_regmap_config; in ksz_spi_probe() 168 regmap_config = ksz9477_regmap_config; in ksz_spi_probe() 171 rc = regmap_config[i]; in ksz_spi_probe() 180 regmap_config[i].val_bits); in ksz_spi_probe()
|
| /linux/drivers/reset/ |
| H A D | reset-microchip-sparx5.c | 32 static struct regmap_config sparx5_reset_regmap_config = { 66 static const struct regmap_config mchp_lan966x_syscon_regmap_config = { 75 struct regmap_config regmap_config = mchp_lan966x_syscon_regmap_config; in mchp_lan966x_syscon_to_regmap() local 91 regmap_config.max_register = resource_size(&res) - 4; in mchp_lan966x_syscon_to_regmap() 93 return devm_regmap_init_mmio(dev, base, ®map_config); in mchp_lan966x_syscon_to_regmap()
|
| /linux/drivers/iio/pressure/ |
| H A D | bmp280-regmap.c | 32 const struct regmap_config bmp180_regmap_config = { 193 const struct regmap_config bmp280_regmap_config = { 205 const struct regmap_config bme280_regmap_config = { 217 const struct regmap_config bmp380_regmap_config = { 229 const struct regmap_config bmp580_regmap_config = {
|
| /linux/drivers/thermal/ |
| H A D | amlogic_thermal.c | 92 const struct regmap_config *regmap_config; member 197 static const struct regmap_config amlogic_thermal_regmap_config_g12a = { 214 .regmap_config = &amlogic_thermal_regmap_config_g12a, 220 .regmap_config = &amlogic_thermal_regmap_config_g12a, 226 .regmap_config = &amlogic_thermal_regmap_config_g12a, 266 pdata->data->regmap_config); in amlogic_thermal_probe()
|
| /linux/drivers/iio/adc/ |
| H A D | ad7091r8.c | 177 static const struct regmap_config ad7091r2_reg_conf = AD7091R_SPI_REGMAP_CONFIG(2); 178 static const struct regmap_config ad7091r4_reg_conf = AD7091R_SPI_REGMAP_CONFIG(4); 179 static const struct regmap_config ad7091r8_reg_conf = AD7091R_SPI_REGMAP_CONFIG(8); 182 const struct regmap_config *regmap_conf) in ad7091r8_regmap_init() 211 .regmap_config = &ad7091r2_reg_conf, 219 .regmap_config = &ad7091r4_reg_conf, 227 .regmap_config = &ad7091r8_reg_conf,
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-mcp23s08.h | 26 const struct regmap_config *regmap; 56 extern const struct regmap_config mcp23x08_regmap; 57 extern const struct regmap_config mcp23x17_regmap;
|
| /linux/drivers/iio/common/st_sensors/ |
| H A 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()
|
| H A 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/sound/soc/codecs/ |
| H A 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, 658 regmap = devm_regmap_init_i2c(i2c, drvdata->regmap_config); in ak4642_i2c_probe()
|
| H A D | tas571x.c | 41 const struct regmap_config *regmap_config; member 426 static const struct regmap_config tas5711_regmap_config = { 444 .regmap_config = &tas5711_regmap_config, 531 static const struct regmap_config tas5707_regmap_config = { 549 .regmap_config = &tas5707_regmap_config, 638 static const struct regmap_config tas5717_regmap_config = { 657 .regmap_config = &tas5717_regmap_config, 709 static const struct regmap_config tas5721_regmap_config = { 821 static const struct regmap_config tas5733_regmap_confi [all...] |
| H A D | cs35l41-i2c.c | 37 const struct regmap_config *regmap_config = &cs35l41_regmap_i2c; in cs35l41_i2c_probe() local 48 cs35l41->regmap = devm_regmap_init_i2c(client, regmap_config); in cs35l41_i2c_probe()
|
| /linux/drivers/pinctrl/ti/ |
| H A D | pinctrl-ti-iodelay.c | 85 const struct regmap_config *regmap_config; member 411 if (offset > r->regmap_config->max_register) { in ti_iodelay_offset_to_pin() 413 offset, r->regmap_config->max_register); in ti_iodelay_offset_to_pin() 417 index = (offset - r->reg_start_offset) / r->regmap_config->reg_stride; in ti_iodelay_offset_to_pin() 655 offset = selector * r->regmap_config->reg_stride; in ti_iodelay_pin_to_offset() 681 regmap_read(iod->regmap, offset + r->regmap_config->reg_stride, &oen); in ti_iodelay_pin_dbg_show() 682 regmap_read(iod->regmap, offset + r->regmap_config->reg_stride * 2, in ti_iodelay_pin_dbg_show() 759 nr_pins = ti_iodelay_offset_to_pin(iod, r->regmap_config->max_register); in ti_iodelay_alloc_pins() 779 static const struct regmap_config dra7_iodelay_regmap_config = { 813 .regmap_config = &dra7_iodelay_regmap_config, [all …]
|