Home
last modified time | relevance | path

Searched refs:reg_config (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/hwmon/
Dina3221.c132 u32 reg_config; member
146 (ina->reg_config & INA3221_CONFIG_CHx_EN(channel)); in ina3221_is_enabled()
218 wait = ina3221_reg_to_interval_us(ina->reg_config); in ina3221_wait_for_data()
264 regval = INA3221_CONFIG_AVG(ina->reg_config); in ina3221_read_chip()
269 *val = ina3221_reg_to_interval_us(ina->reg_config); in ina3221_read_chip()
299 ina->reg_config); in ina3221_read_in()
356 ina->reg_config); in ina3221_read_curr()
407 tmp = (ina->reg_config & ~INA3221_CONFIG_AVG_MASK) | in ina3221_write_chip()
414 ina->reg_config = tmp; in ina3221_write_chip()
417 tmp = ina3221_interval_ms_to_conv_time(ina->reg_config, val); in ina3221_write_chip()
[all …]
/linux-6.12.1/drivers/regulator/
Das3722-regulator.c589 struct as3722_regulator_config_data *reg_config; in as3722_get_regulator_dt_data() local
613 reg_config = &as3722_regs->reg_config_data[id]; in as3722_get_regulator_dt_data()
614 reg_config->reg_init = as3722_regulator_matches[id].init_data; in as3722_get_regulator_dt_data()
617 if (!reg_config->reg_init || !reg_node) in as3722_get_regulator_dt_data()
623 reg_config->ext_control = prop; in as3722_get_regulator_dt_data()
629 reg_config->enable_tracking = in as3722_get_regulator_dt_data()
639 struct as3722_regulator_config_data *reg_config; in as3722_regulator_probe() local
667 reg_config = &as3722_regs->reg_config_data[id]; in as3722_regulator_probe()
681 if (reg_config->ext_control) in as3722_regulator_probe()
695 if (reg_config->ext_control) in as3722_regulator_probe()
[all …]
Dtps65086-regulator.c307 struct tps65086_regulator *regulators = tps->reg_config->config; in tps65086_of_parse_cb()
375 tps->reg_config = &regulator_configs[selector_reg_config]; in tps65086_regulator_probe()
384 for (i = 0; i < tps->reg_config->num_elems; ++i) { in tps65086_regulator_probe()
385 struct regulator_desc * const desc_ptr = &tps->reg_config->config[i].desc; in tps65086_regulator_probe()
Dqcom-rpmh-regulator.c418 struct regulator_config reg_config = {}; in rpmh_regulator_init_vreg() local
479 reg_config.dev = dev; in rpmh_regulator_init_vreg()
480 reg_config.init_data = init_data; in rpmh_regulator_init_vreg()
481 reg_config.of_node = node; in rpmh_regulator_init_vreg()
482 reg_config.driver_data = vreg; in rpmh_regulator_init_vreg()
484 rdev = devm_regulator_register(dev, &vreg->rdesc, &reg_config); in rpmh_regulator_init_vreg()
/linux-6.12.1/drivers/clk/sprd/
Dcommon.c46 struct regmap_config reg_config = sprdclk_regmap_config; in sprd_clk_regmap_init() local
67 reg_config.max_register = resource_size(res) - reg_config.reg_stride; in sprd_clk_regmap_init()
70 &reg_config); in sprd_clk_regmap_init()
/linux-6.12.1/drivers/power/reset/
Dat91-sama5d2_shdwc.c86 struct reg_config { struct
93 const struct reg_config *rcfg;
113 const struct reg_config *rcfg = shdw->rcfg; in at91_wakeup_status()
235 const struct reg_config *rcfg = shdw->rcfg; in at91_shdwc_dt_configure()
260 static const struct reg_config sama5d2_reg_config = {
277 static const struct reg_config sam9x60_reg_config = {
294 static const struct reg_config sama7g5_reg_config = {
/linux-6.12.1/drivers/dma/
Damba-pl08x.c159 void __iomem *reg_config; member
378 val = readl(ch->reg_config); in pl08x_phy_channel_busy()
518 writel(ccfg, phychan->reg_config); in pl08x_write_lli()
552 val = readl(phychan->reg_config); in pl08x_start_next_txd()
554 val = readl(phychan->reg_config); in pl08x_start_next_txd()
563 val = readl(phychan->reg_config); in pl08x_start_next_txd()
566 val = readl(phychan->reg_config); in pl08x_start_next_txd()
568 writel(val | PL080_CONFIG_ENABLE, phychan->reg_config); in pl08x_start_next_txd()
596 val = readl(ch->reg_config); in pl08x_pause_phy_chan()
598 writel(val, ch->reg_config); in pl08x_pause_phy_chan()
[all …]
/linux-6.12.1/drivers/iio/dac/
Dadi-axi-dac.c81 u32 reg_config; member
440 if (st->reg_config & AXI_DDS_DISABLE) in axi_dac_extend_chan()
478 if (st->reg_config & AXI_DDS_DISABLE) in axi_dac_set_sample_rate()
604 ret = regmap_read(st->regmap, AXI_DAC_REG_CONFIG, &st->reg_config); in axi_dac_probe()
/linux-6.12.1/drivers/iio/adc/
Dimx7d_adc.c127 u32 reg_config; member
132 .reg_config = (_reg_conf), \
207 sample_rate |= adc_analogure_clk.reg_config; in imx7d_adc_sample_rate_set()
/linux-6.12.1/include/linux/mfd/
Dtps65086.h113 const struct tps65086_regulator_config *reg_config; member
/linux-6.12.1/drivers/soc/ti/
Dknav_qmss_queue.c1192 writel_relaxed((u32)block->dma, &qmgr->reg_config->link_ram_base0); in knav_queue_setup_link_ram()
1195 &qmgr->reg_config->link_ram_size0); in knav_queue_setup_link_ram()
1198 &qmgr->reg_config->link_ram_size0); in knav_queue_setup_link_ram()
1205 writel_relaxed(block->dma, &qmgr->reg_config->link_ram_base1); in knav_queue_setup_link_ram()
1443 qmgr->reg_config = in knav_queue_init_qmgrs()
1469 IS_ERR(qmgr->reg_config) || IS_ERR(qmgr->reg_region) || in knav_queue_init_qmgrs()
1480 if (!IS_ERR(qmgr->reg_config)) in knav_queue_init_qmgrs()
1481 devm_iounmap(dev, qmgr->reg_config); in knav_queue_init_qmgrs()
1498 qmgr->reg_config, qmgr->reg_region, in knav_queue_init_qmgrs()
Dknav_qmss.h141 struct knav_reg_config __iomem *reg_config; member
/linux-6.12.1/sound/soc/codecs/
Dlpass-wsa-macro.c2807 struct regmap_config *reg_config __free(kfree) = kmemdup(&wsa_regmap_config, in wsa_macro_probe()
2808 sizeof(*reg_config), in wsa_macro_probe()
2810 if (!reg_config) in wsa_macro_probe()
2813 reg_config->reg_defaults = reg_defaults; in wsa_macro_probe()
2814 reg_config->num_reg_defaults = def_count; in wsa_macro_probe()
2816 wsa->regmap = devm_regmap_init_mmio(dev, base, reg_config); in wsa_macro_probe()
Dlpass-rx-macro.c3849 struct regmap_config *reg_config __free(kfree) = kmemdup(&rx_regmap_config, in rx_macro_probe()
3850 sizeof(*reg_config), in rx_macro_probe()
3852 if (!reg_config) in rx_macro_probe()
3855 reg_config->reg_defaults = reg_defaults; in rx_macro_probe()
3856 reg_config->num_reg_defaults = def_count; in rx_macro_probe()
3858 rx->regmap = devm_regmap_init_mmio(dev, base, reg_config); in rx_macro_probe()
/linux-6.12.1/drivers/w1/masters/
Dds2482.c119 u8 reg_config; member
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c3373 const struct regmap_config *reg_config; in dw_hdmi_probe() local
3378 reg_config = &hdmi_regmap_32bit_config; in dw_hdmi_probe()
3382 reg_config = &hdmi_regmap_8bit_config; in dw_hdmi_probe()
3396 hdmi->regm = devm_regmap_init_mmio(dev, hdmi->regs, reg_config); in dw_hdmi_probe()
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_rogue_fwif.h1120 struct rogue_fwif_reg_cfg_rec reg_config __aligned(8);