Home
last modified time | relevance | path

Searched refs:regmap_cfg (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/soc/renesas/
H A Drz-sysc.c113 struct regmap_config *regmap_cfg __free(kfree) = kzalloc_obj(*regmap_cfg); in rz_sysc_probe()
114 if (!regmap_cfg) in rz_sysc_probe()
136 regmap_cfg->name = "rz_sysc_regs"; in rz_sysc_probe()
137 regmap_cfg->reg_bits = 32; in rz_sysc_probe()
138 regmap_cfg->reg_stride = 4; in rz_sysc_probe()
139 regmap_cfg->val_bits = 32; in rz_sysc_probe()
140 regmap_cfg->fast_io = true; in rz_sysc_probe()
141 regmap_cfg->max_register = data->max_register; in rz_sysc_probe()
142 regmap_cfg->readable_reg = data->readable_reg; in rz_sysc_probe()
143 regmap_cfg->writeable_reg = data->writeable_reg; in rz_sysc_probe()
[all …]
/linux/drivers/mfd/
H A Dsec-i2c.c29 const struct regmap_config *regmap_cfg; member
152 regmap_pmic = devm_regmap_init_i2c(client, pdata->regmap_cfg); in sec_pmic_i2c_probe()
167 .regmap_cfg = &s2dos05_regmap_config,
172 .regmap_cfg = &s2mpa01_regmap_config,
177 .regmap_cfg = &s2mps11_regmap_config,
182 .regmap_cfg = &s2mps13_regmap_config,
187 .regmap_cfg = &s2mps14_regmap_config,
192 .regmap_cfg = &s2mps15_regmap_config,
197 .regmap_cfg = &s2mpu02_regmap_config,
202 .regmap_cfg = &s2mpu05_regmap_config,
[all …]
H A Drk8xx-i2c.c20 const struct regmap_config *regmap_cfg; member
193 .regmap_cfg = &rk801_regmap_config,
198 .regmap_cfg = &rk805_regmap_config,
203 .regmap_cfg = &rk806_regmap_config,
208 .regmap_cfg = &rk808_regmap_config,
213 .regmap_cfg = &rk817_regmap_config,
218 .regmap_cfg = &rk816_regmap_config,
223 .regmap_cfg = &rk817_regmap_config,
228 .regmap_cfg = &rk818_regmap_config,
241 regmap = devm_regmap_init_i2c(client, data->regmap_cfg); in rk8xx_i2c_probe()
H A Dti-lmu.c140 struct regmap_config regmap_cfg; in ti_lmu_probe() local
159 memset(&regmap_cfg, 0, sizeof(struct regmap_config)); in ti_lmu_probe()
160 regmap_cfg.reg_bits = 8; in ti_lmu_probe()
161 regmap_cfg.val_bits = 8; in ti_lmu_probe()
162 regmap_cfg.name = id->name; in ti_lmu_probe()
163 regmap_cfg.max_register = data->max_register; in ti_lmu_probe()
165 lmu->regmap = devm_regmap_init_i2c(cl, &regmap_cfg); in ti_lmu_probe()
H A Datc260x-core.c195 int atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_cfg) in atc260x_match_device() argument
208 *regmap_cfg = atc2603c_regmap_config; in atc260x_match_device()
217 *regmap_cfg = atc2609a_regmap_config; in atc260x_match_device()
238 regmap_cfg->lock = regmap_lock_mutex; in atc260x_match_device()
239 regmap_cfg->unlock = regmap_unlock_mutex; in atc260x_match_device()
240 regmap_cfg->lock_arg = atc260x->regmap_mutex; in atc260x_match_device()
H A Datc260x-i2c.c18 struct regmap_config regmap_cfg; in atc260x_i2c_probe() local
28 ret = atc260x_match_device(atc260x, &regmap_cfg); in atc260x_i2c_probe()
34 atc260x->regmap = devm_regmap_init_i2c(client, &regmap_cfg); in atc260x_i2c_probe()
H A Daxp20x.c1275 axp20x->regmap_cfg = &axp152_regmap_config; in axp20x_match_device()
1281 axp20x->regmap_cfg = &axp192_regmap_config; in axp20x_match_device()
1288 axp20x->regmap_cfg = &axp20x_regmap_config; in axp20x_match_device()
1294 axp20x->regmap_cfg = &axp22x_regmap_config; in axp20x_match_device()
1300 axp20x->regmap_cfg = &axp22x_regmap_config; in axp20x_match_device()
1306 axp20x->regmap_cfg = &axp288_regmap_config; in axp20x_match_device()
1313 axp20x->regmap_cfg = &axp313a_regmap_config; in axp20x_match_device()
1319 axp20x->regmap_cfg = &axp323_regmap_config; in axp20x_match_device()
1325 axp20x->regmap_cfg = &axp717_regmap_config; in axp20x_match_device()
1331 axp20x->regmap_cfg = &axp288_regmap_config; in axp20x_match_device()
[all …]
H A Daxp20x-rsb.c42 axp20x->regmap = devm_regmap_init_sunxi_rsb(rdev, axp20x->regmap_cfg); in axp20x_rsb_probe()
H A Daxp20x-i2c.c42 axp20x->regmap = devm_regmap_init_i2c(i2c, axp20x->regmap_cfg); in axp20x_i2c_probe()
/linux/drivers/clk/meson/
H A Dmeson-clkc-utils.c85 struct regmap_config regmap_cfg = { in meson_clkc_mmio_probe() local
99 regmap_cfg.max_register = resource_size(res) - regmap_cfg.reg_stride; in meson_clkc_mmio_probe()
101 map = devm_regmap_init_mmio(dev, base, &regmap_cfg); in meson_clkc_mmio_probe()
/linux/drivers/char/hw_random/
H A Dks-sa-rng.c86 struct regmap *regmap_cfg; member
119 regmap_write_bits(ks_sa_rng->regmap_cfg, SA_CMD_STATUS_OFS, in ks_sa_rng_init()
158 regmap_write_bits(ks_sa_rng->regmap_cfg, SA_CMD_STATUS_OFS, in ks_sa_rng_cleanup()
227 ks_sa_rng->regmap_cfg = in ks_sa_rng_probe()
231 if (IS_ERR(ks_sa_rng->regmap_cfg)) in ks_sa_rng_probe()
/linux/sound/soc/meson/
H A Daxg-tdmout.c238 .regmap_cfg = &axg_tdmout_regmap_cfg,
247 .regmap_cfg = &axg_tdmout_regmap_cfg,
307 .regmap_cfg = &axg_tdmout_regmap_cfg,
H A Daxg-tdm-formatter.h32 const struct regmap_config *regmap_cfg; member
/linux/drivers/iio/adc/
H A Dstm32-dfsdm-core.c37 const struct regmap_config *regmap_cfg; member
75 .regmap_cfg = &stm32h7_dfsdm_regmap_cfg,
89 .regmap_cfg = &stm32mp1_dfsdm_regmap_cfg,
389 dev_data->regmap_cfg); in stm32_dfsdm_probe()
/linux/drivers/rtc/
H A Drtc-s5m.c678 const struct regmap_config *regmap_cfg; in s5m_rtc_probe() local
683 regmap_cfg = &s2mps14_rtc_regmap_config; in s5m_rtc_probe()
687 regmap_cfg = &s2mps14_rtc_regmap_config; in s5m_rtc_probe()
691 regmap_cfg = &s2mps14_rtc_regmap_config; in s5m_rtc_probe()
695 regmap_cfg = &s5m_rtc_regmap_config; in s5m_rtc_probe()
711 info->regmap = devm_regmap_init_i2c(i2c, regmap_cfg); in s5m_rtc_probe()
/linux/drivers/soc/qcom/
H A Dicc-bwmon.c174 const struct regmap_config *regmap_cfg; member
717 map = devm_regmap_init_mmio(dev, base, bwmon->data->regmap_cfg); in bwmon_init_regmap()
825 .regmap_cfg = &msm8998_bwmon_regmap_cfg,
837 .regmap_cfg = &sdm845_cpu_bwmon_regmap_cfg,
846 .regmap_cfg = &sdm845_llcc_bwmon_regmap_cfg,
856 .regmap_cfg = &sdm845_llcc_bwmon_regmap_cfg,
/linux/drivers/iio/light/
H A Disl29018.c667 const struct regmap_config *regmap_cfg; member
675 .regmap_cfg = &isl29018_regmap_config,
681 .regmap_cfg = &isl29018_regmap_config,
687 .regmap_cfg = &isl29035_regmap_config,
755 isl29018_chip_info_tbl[dev_id].regmap_cfg); in isl29018_probe()
/linux/sound/soc/codecs/
H A Dak4613.c883 const struct regmap_config *regmap_cfg; in ak4613_i2c_probe() local
887 regmap_cfg = i2c_get_match_data(i2c); in ak4613_i2c_probe()
888 if (!regmap_cfg) in ak4613_i2c_probe()
906 regmap = devm_regmap_init_i2c(i2c, regmap_cfg); in ak4613_i2c_probe()
/linux/drivers/interconnect/qcom/
H A Dsm6115.c1219 .regmap_cfg = &bimc_regmap_config,
1290 .regmap_cfg = &cnoc_regmap_config,
1335 .regmap_cfg = &sys_noc_regmap_config,
1352 .regmap_cfg = &sys_noc_regmap_config,
1368 .regmap_cfg = &sys_noc_regmap_config,
1385 .regmap_cfg = &sys_noc_regmap_config,
H A Dmsm8996.c1822 .regmap_cfg = &msm8996_a0noc_regmap_config
1844 .regmap_cfg = &msm8996_a1noc_regmap_config
1868 .regmap_cfg = &msm8996_a2noc_regmap_config
1895 .regmap_cfg = &msm8996_bimc_regmap_config,
1955 .regmap_cfg = &msm8996_cnoc_regmap_config
2011 .regmap_cfg = &msm8996_mnoc_regmap_config,
2049 .regmap_cfg = &msm8996_pnoc_regmap_config
2094 .regmap_cfg = &msm8996_snoc_regmap_config
H A Dsdm660.c1517 .regmap_cfg = &sdm660_a2noc_regmap_config,
1544 .regmap_cfg = &sdm660_bimc_regmap_config,
1600 .regmap_cfg = &sdm660_cnoc_regmap_config,
1621 .regmap_cfg = &sdm660_gnoc_regmap_config,
1664 .regmap_cfg = &sdm660_mnoc_regmap_config,
1701 .regmap_cfg = &sdm660_snoc_regmap_config,
H A Dqcm2290.c1202 .regmap_cfg = &qcm2290_bimc_regmap_config,
1260 .regmap_cfg = &qcm2290_cnoc_regmap_config,
1303 .regmap_cfg = &qcm2290_snoc_regmap_config,
1334 .regmap_cfg = &qcm2290_snoc_regmap_config,
1351 .regmap_cfg = &qcm2290_snoc_regmap_config,
H A Dicc-rpm.h136 const struct regmap_config *regmap_cfg; member
H A Dmsm8939.c1287 .regmap_cfg = &msm8939_snoc_regmap_config,
1308 .regmap_cfg = &msm8939_snoc_regmap_config,
1337 .regmap_cfg = &msm8939_bimc_regmap_config,
1409 .regmap_cfg = &msm8939_pcnoc_regmap_config,
/linux/include/linux/mfd/atc260x/
H A Dcore.h55 int atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_cfg);

12