/linux-6.12.1/drivers/hwmon/ |
D | ina3221.c | 132 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/ |
D | as3722-regulator.c | 589 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 …]
|
D | tps65086-regulator.c | 307 struct tps65086_regulator *regulators = tps->reg_config->config; in tps65086_of_parse_cb() 375 tps->reg_config = ®ulator_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()
|
D | qcom-rpmh-regulator.c | 418 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, ®_config); in rpmh_regulator_init_vreg()
|
/linux-6.12.1/drivers/clk/sprd/ |
D | common.c | 46 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 ®_config); in sprd_clk_regmap_init()
|
/linux-6.12.1/drivers/power/reset/ |
D | at91-sama5d2_shdwc.c | 86 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/ |
D | amba-pl08x.c | 159 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/ |
D | adi-axi-dac.c | 81 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/ |
D | imx7d_adc.c | 127 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/ |
D | tps65086.h | 113 const struct tps65086_regulator_config *reg_config; member
|
/linux-6.12.1/drivers/soc/ti/ |
D | knav_qmss_queue.c | 1192 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()
|
D | knav_qmss.h | 141 struct knav_reg_config __iomem *reg_config; member
|
/linux-6.12.1/sound/soc/codecs/ |
D | lpass-wsa-macro.c | 2807 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()
|
D | lpass-rx-macro.c | 3849 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/ |
D | ds2482.c | 119 u8 reg_config; member
|
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 3373 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/ |
D | pvr_rogue_fwif.h | 1120 struct rogue_fwif_reg_cfg_rec reg_config __aligned(8);
|