Searched refs:regmaps (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/phy/samsung/ |
H A D | phy-exynos-mipi-video.c | 217 struct regmap *regmaps[EXYNOS_MIPI_REGMAPS_NUM]; member 230 struct regmap *enable_map = state->regmaps[data->enable_map]; in __set_phy_state() 231 struct regmap *resetn_map = state->regmaps[data->resetn_map]; in __set_phy_state() 310 state->regmaps[i] = syscon_node_to_regmap(dev->parent->of_node); in exynos_mipi_video_phy_probe() 311 if (!IS_ERR(state->regmaps[i])) in exynos_mipi_video_phy_probe() 314 state->regmaps[i] = syscon_regmap_lookup_by_phandle(np, in exynos_mipi_video_phy_probe() 316 if (IS_ERR(state->regmaps[i])) in exynos_mipi_video_phy_probe() 317 return PTR_ERR(state->regmaps[i]); in exynos_mipi_video_phy_probe()
|
/linux/drivers/tty/serial/ |
H A D | sc16is7xx_i2c.c | 16 struct regmap *regmaps[SC16IS7XX_MAX_PORTS]; in sc16is7xx_i2c_probe() local 30 regmaps[i] = devm_regmap_init_i2c(i2c, ®cfg); in sc16is7xx_i2c_probe() 33 return sc16is7xx_probe(&i2c->dev, devtype, regmaps, i2c->irq); in sc16is7xx_i2c_probe()
|
H A D | sc16is7xx_spi.c | 20 struct regmap *regmaps[SC16IS7XX_MAX_PORTS]; in sc16is7xx_spi_probe() local 53 regmaps[i] = devm_regmap_init_spi(spi, ®cfg); in sc16is7xx_spi_probe() 56 return sc16is7xx_probe(&spi->dev, devtype, regmaps, spi->irq); in sc16is7xx_spi_probe()
|
H A D | sc16is7xx.c | 1505 struct regmap *regmaps[], int irq) in sc16is7xx_probe() argument 1515 if (IS_ERR(regmaps[i])) in sc16is7xx_probe() 1516 return PTR_ERR(regmaps[i]); in sc16is7xx_probe() 1527 ret = regmap_read(regmaps[0], SC16IS7XX_LSR_REG, &val); in sc16is7xx_probe() 1573 ret = sc16is7xx_reset(dev, regmaps[0]); in sc16is7xx_probe() 1610 s->p[i].regmap = regmaps[i]; in sc16is7xx_probe() 1641 regcache_cache_bypass(regmaps[i], true); in sc16is7xx_probe() 1647 regcache_cache_bypass(regmaps[i], false); in sc16is7xx_probe() 1658 ret = sc16is7xx_setup_mctrl_ports(s, regmaps[0]); in sc16is7xx_probe()
|
/linux/drivers/edac/ |
H A D | qcom_edac.c | 218 ret = regmap_read(drv->regmaps[bank], synd_reg, in dump_syn_reg_values() 227 ret = regmap_read(drv->regmaps[bank], regs.count_status_reg, in dump_syn_reg_values() 237 ret = regmap_read(drv->regmaps[bank], regs.ways_status_reg, in dump_syn_reg_values() 298 ret = regmap_read(drv->regmaps[i], drv->edac_reg_offset->drp_interrupt_status, in llcc_ecc_irq_handler() 313 ret = regmap_read(drv->regmaps[i], drv->edac_reg_offset->trp_interrupt_0_status, in llcc_ecc_irq_handler()
|
/linux/drivers/soc/qcom/ |
H A D | llcc-qcom.c | 3939 drv_data->regmaps = devm_kcalloc(dev, num_banks, sizeof(*drv_data->regmaps), GFP_KERNEL); in qcom_llcc_probe() 3940 if (!drv_data->regmaps) { in qcom_llcc_probe() 3945 drv_data->regmaps[0] = regmap; in qcom_llcc_probe() 3951 drv_data->regmaps[i] = qcom_llcc_init_mmio(pdev, i, base); in qcom_llcc_probe() 3952 if (IS_ERR(drv_data->regmaps[i])) { in qcom_llcc_probe() 3953 ret = PTR_ERR(drv_data->regmaps[i]); in qcom_llcc_probe()
|