Home
last modified time | relevance | path

Searched refs:regmap_conf (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/mfd/
H A Dmotorola-cpcap.c31 const struct regmap_config *regmap_conf; member
130 reg_offset /= cpcap->regmap_conf->val_bits; in cpcap_init_one_regmap_irq()
131 reg_offset *= cpcap->regmap_conf->reg_stride; in cpcap_init_one_regmap_irq()
133 bit = irq % cpcap->regmap_conf->val_bits; in cpcap_init_one_regmap_irq()
176 cpcap->regmap_conf->val_bits), in cpcap_init_irq()
310 cpcap->regmap_conf = &cpcap_regmap_config; in cpcap_probe()
/linux/sound/soc/codecs/
H A Dcs42l42-sdw.c521 struct regmap_config *regmap_conf; in cs42l42_sdw_probe() local
539 regmap_conf = devm_kmemdup(dev, &cs42l42_regmap, sizeof(cs42l42_regmap), GFP_KERNEL); in cs42l42_sdw_probe()
540 if (!regmap_conf) in cs42l42_sdw_probe()
542 regmap_conf->reg_bits = 16; in cs42l42_sdw_probe()
543 regmap_conf->num_ranges = 0; in cs42l42_sdw_probe()
544 regmap_conf->reg_read = cs42l42_sdw_read; in cs42l42_sdw_probe()
545 regmap_conf->reg_write = cs42l42_sdw_write; in cs42l42_sdw_probe()
547 regmap = devm_regmap_init(dev, NULL, peripheral, regmap_conf); in cs42l42_sdw_probe()
/linux/drivers/soc/ti/
H A Dpruss.c460 static struct regmap_config regmap_conf = { variable
485 regmap_conf.name = kasprintf(GFP_KERNEL, "%pOFn@%llx", child, in pruss_cfg_of_init()
487 regmap_conf.max_register = resource_size(&res) - 4; in pruss_cfg_of_init()
490 &regmap_conf); in pruss_cfg_of_init()
491 kfree(regmap_conf.name); in pruss_cfg_of_init()
/linux/drivers/iio/adc/
H A Dad7091r5.c88 const struct regmap_config *regmap_conf) in ad7091r5_regmap_init() argument
92 st->map = devm_regmap_init_i2c(i2c, regmap_conf); in ad7091r5_regmap_init()
H A Dad7091r8.c182 const struct regmap_config *regmap_conf) in ad7091r8_regmap_init() argument
185 regmap_conf); in ad7091r8_regmap_init()
H A Dad7091r-base.h87 const struct regmap_config *regmap_conf);
/linux/sound/soc/tegra/
H A Dtegra210_admaif.c88 unsigned int reg_max = admaif->soc_data->regmap_conf->max_register; in tegra_admaif_wr_reg()
122 unsigned int reg_max = admaif->soc_data->regmap_conf->max_register; in tegra_admaif_rd_reg()
166 unsigned int reg_max = admaif->soc_data->regmap_conf->max_register; in tegra_admaif_volatile_reg()
715 .regmap_conf = &tegra210_admaif_regmap_config,
725 .regmap_conf = &tegra186_admaif_regmap_config,
788 admaif->soc_data->regmap_conf); in tegra_admaif_probe()
H A Dtegra210_amx.c517 .regmap_conf = &tegra210_amx_regmap_config,
521 .regmap_conf = &tegra194_amx_regmap_config,
552 amx->soc_data->regmap_conf); in tegra210_amx_platform_probe()
H A Dtegra210_amx.h82 const struct regmap_config *regmap_conf; member
H A Dtegra210_admaif.h145 const struct regmap_config *regmap_conf; member
/linux/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c1435 struct regmap_config regmap_conf; in cy8c95x0_probe() local
1503 memcpy(&regmap_conf, &cy8c9520_i2c_regmap, sizeof(regmap_conf)); in cy8c95x0_probe()
1504 regmap_conf.ranges = &regmap_range_conf; in cy8c95x0_probe()
1505 regmap_conf.max_register = regmap_range_conf.range_max; in cy8c95x0_probe()
1506 regmap_conf.num_reg_defaults_raw = regmap_range_conf.range_max; in cy8c95x0_probe()
1508 chip->regmap = devm_regmap_init_i2c(client, &regmap_conf); in cy8c95x0_probe()
/linux/sound/soc/stm/
H A Dstm32_spdifrx.c233 const struct regmap_config *regmap_conf; member
916 spdifrx->regmap_conf = device_get_match_data(&pdev->dev); in stm32_spdifrx_parse_of()
917 if (!spdifrx->regmap_conf) in stm32_spdifrx_parse_of()
978 spdifrx->regmap_conf); in stm32_spdifrx_probe()
H A Dstm32_i2s.c231 const struct regmap_config *regmap_conf; member
1034 i2s->regmap_conf = device_get_match_data(&pdev->dev); in stm32_i2s_parse_dt()
1035 if (!i2s->regmap_conf) in stm32_i2s_parse_dt()
1129 i2s->base, i2s->regmap_conf); in stm32_i2s_probe()
/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c2141 struct regmap_config regmap_conf = { in atmel_hsmc_nand_controller_legacy_init() local
2197 regmap_conf.name = "nfc-io"; in atmel_hsmc_nand_controller_legacy_init()
2198 regmap_conf.max_register = resource_size(&res) - 4; in atmel_hsmc_nand_controller_legacy_init()
2199 nc->io = devm_regmap_init_mmio(dev, iomem, &regmap_conf); in atmel_hsmc_nand_controller_legacy_init()
2220 regmap_conf.name = "smc"; in atmel_hsmc_nand_controller_legacy_init()
2221 regmap_conf.max_register = resource_size(&res) - 4; in atmel_hsmc_nand_controller_legacy_init()
2222 nc->base.smc = devm_regmap_init_mmio(dev, iomem, &regmap_conf); in atmel_hsmc_nand_controller_legacy_init()