Home
last modified time | relevance | path

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

/linux/drivers/soc/renesas/
H A Drz-sysc.c113 struct regmap_config *regmap_cfg __free(kfree) = kzalloc(sizeof(*regmap_cfg), GFP_KERNEL); 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
168 .regmap_cfg = &rk805_regmap_config,
173 .regmap_cfg = &rk806_regmap_config,
178 .regmap_cfg = &rk808_regmap_config,
183 .regmap_cfg = &rk817_regmap_config,
188 .regmap_cfg = &rk816_regmap_config,
193 .regmap_cfg = &rk817_regmap_config,
198 .regmap_cfg = &rk818_regmap_config,
211 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-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 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 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/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
H A Daxg-tdmin.c228 .regmap_cfg = &axg_tdmin_regmap_cfg,
H A Daxg-tdm-formatter.c285 formatter->map = devm_regmap_init_mmio(dev, regs, drv->regmap_cfg); in axg_tdm_formatter_probe()
/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()
H A Dstm32-dfsdm-adc.c70 const struct regmap_config *regmap_cfg; member
/linux/drivers/rtc/
H A Drtc-s5m.c679 const struct regmap_config *regmap_cfg; in s5m_rtc_probe() local
684 regmap_cfg = &s2mps14_rtc_regmap_config; in s5m_rtc_probe()
689 regmap_cfg = &s2mps14_rtc_regmap_config; in s5m_rtc_probe()
694 regmap_cfg = &s2mps14_rtc_regmap_config; in s5m_rtc_probe()
699 regmap_cfg = &s5m_rtc_regmap_config; in s5m_rtc_probe()
716 info->regmap = devm_regmap_init_i2c(i2c, regmap_cfg); in s5m_rtc_probe()
/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/include/linux/mfd/atc260x/
H A Dcore.h55 int atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_cfg);
/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 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 Dicc-rpm.h136 const struct regmap_config *regmap_cfg; member
H A Dicc-rpm.c516 if (desc->regmap_cfg) { in qnoc_probe()
533 qp->regmap = devm_regmap_init_mmio(dev, mmio, desc->regmap_cfg); in qnoc_probe()