| /linux/drivers/mfd/ |
| 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 …]
|
| 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;
|
| A 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()
|
| 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()
|
| 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;
|
| 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()
|
| 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 = {
|
| 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()
|
| A 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()
|
| A D | adp5585.c | 83 static const struct regmap_config adp5585_regmap_configs[] = { 115 const struct regmap_config *regmap_config; in adp5585_i2c_probe() local 126 regmap_config = i2c_get_match_data(i2c); in adp5585_i2c_probe() 127 adp5585->regmap = devm_regmap_init_i2c(i2c, regmap_config); in adp5585_i2c_probe()
|
| A D | intel_soc_pmic_crc.c | 111 static const struct regmap_config crystal_cove_regmap_config = { 149 const struct regmap_config *regmap_config; member 157 .regmap_config = &crystal_cove_regmap_config, 165 .regmap_config = &crystal_cove_regmap_config, 187 pmic->regmap = devm_regmap_init_i2c(i2c, config->regmap_config); in crystal_cove_i2c_probe()
|
| 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()
|
| A 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()
|
| 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/net/dsa/ |
| A D | mt7530-mdio.c | 86 struct regmap_config *mt7531_pcs_config[2] = {}; in mt7531_create_sgmii() 93 sizeof(struct regmap_config), in mt7531_create_sgmii() 142 static struct regmap_config *regmap_config; in mt7530_probe() local 196 regmap_config = devm_kzalloc(&mdiodev->dev, sizeof(*regmap_config), in mt7530_probe() 198 if (!regmap_config) in mt7530_probe() 201 regmap_config->reg_bits = 16; in mt7530_probe() 202 regmap_config->val_bits = 32; in mt7530_probe() 203 regmap_config->reg_stride = 4; in mt7530_probe() 204 regmap_config->max_register = MT7530_CREV; in mt7530_probe() 205 regmap_config->disable_locking = true; in mt7530_probe() [all …]
|
| /linux/drivers/regulator/ |
| A D | pv88080-regulator.c | 44 const struct pv88080_compatible_regmap *regmap_config; member 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() 446 = regmap_config->buck_regmap[i].buck_mode_reg; in pv88080_i2c_probe() 456 = regmap_config->buck_regmap[i].buck_vsel_reg; in pv88080_i2c_probe() 494 = regmap_config->hvbuck_enable_reg; in pv88080_i2c_probe() 496 = regmap_config->hvbuck_enable_mask; in pv88080_i2c_probe() 498 = regmap_config->hvbuck_vsel_reg; in pv88080_i2c_probe() [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| A 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() 65 regmap_config = ksz8863_regmap_config; in ksz_spi_probe() 67 regmap_config = ksz9477_regmap_config; in ksz_spi_probe() 70 rc = regmap_config[i]; in ksz_spi_probe() 79 regmap_config[i].val_bits); in ksz_spi_probe()
|
| /linux/drivers/hwspinlock/ |
| 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/ |
| A D | regmap.h | 392 struct regmap_config { struct 602 const struct regmap_config *config, 606 const struct regmap_config *config, 614 const struct regmap_config *config, 618 const struct regmap_config *config, 630 const struct regmap_config *config, 643 const struct regmap_config *config, 655 const struct regmap_config *config, 704 const struct regmap_config *config, 712 const struct regmap_config *config, [all …]
|
| /linux/drivers/input/touchscreen/ |
| A D | goodix_berlin_spi.c | 112 static const struct regmap_config goodix_berlin_spi_regmap_conf = { 126 struct regmap_config regmap_config; in goodix_berlin_spi_probe() local 139 regmap_config = goodix_berlin_spi_regmap_conf; in goodix_berlin_spi_probe() 140 regmap_config.max_raw_read = max_size - GOODIX_BERLIN_SPI_READ_PREFIX_LEN; in goodix_berlin_spi_probe() 141 regmap_config.max_raw_write = max_size - GOODIX_BERLIN_SPI_WRITE_PREFIX_LEN; in goodix_berlin_spi_probe() 143 regmap = devm_regmap_init(&spi->dev, NULL, spi, ®map_config); in goodix_berlin_spi_probe()
|
| /linux/drivers/iio/pressure/ |
| 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/iio/adc/ |
| 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/thermal/ |
| 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/pinctrl/ |
| 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/ |
| 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()
|