Searched refs:reg_config (Results 1 - 16 of 16) sorted by relevance

/linux-master/drivers/clk/sprd/
H A Dcommon.c46 struct regmap_config reg_config = sprdclk_regmap_config; local
67 reg_config.max_register = resource_size(res) - reg_config.reg_stride;
70 &reg_config);
/linux-master/drivers/hwmon/
H A Dmax6642.c116 u8 reg_config, reg_status, man_id; local
137 reg_config = i2c_smbus_read_byte_data(client, MAX6642_REG_R_CONFIG);
138 if ((reg_config & 0x0f) != 0x00)
142 if (i2c_smbus_read_byte_data(client, 0x04) != reg_config
143 || i2c_smbus_read_byte_data(client, 0x06) != reg_config
144 || i2c_smbus_read_byte_data(client, 0xff) != reg_config)
H A Dina3221.c120 * @reg_config: Register value of INA3221_CONFIG
132 u32 reg_config; member in struct:ina3221_data
146 (ina->reg_config & INA3221_CONFIG_CHx_EN(channel));
218 wait = ina3221_reg_to_interval_us(ina->reg_config);
264 regval = INA3221_CONFIG_AVG(ina->reg_config);
269 *val = ina3221_reg_to_interval_us(ina->reg_config);
299 ina->reg_config);
356 ina->reg_config);
407 tmp = (ina->reg_config & ~INA3221_CONFIG_AVG_MASK) |
413 /* Update reg_config accordingl
[all...]
H A Dmax1619.c218 u8 reg_config, reg_convrate, reg_status, man_id, chip_id; local
224 reg_config = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CONFIG);
227 if ((reg_config & 0x03) != 0x00
/linux-master/drivers/power/reset/
H A Dat91-sama5d2_shdwc.c86 struct reg_config { struct
93 const struct reg_config *rcfg;
113 const struct reg_config *rcfg = shdw->rcfg;
235 const struct reg_config *rcfg = shdw->rcfg;
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-master/drivers/regulator/
H A Das3722-regulator.c589 struct as3722_regulator_config_data *reg_config; local
613 reg_config = &as3722_regs->reg_config_data[id];
614 reg_config->reg_init = as3722_regulator_matches[id].init_data;
617 if (!reg_config->reg_init || !reg_node)
623 reg_config->ext_control = prop;
629 reg_config->enable_tracking =
639 struct as3722_regulator_config_data *reg_config; local
667 reg_config = &as3722_regs->reg_config_data[id];
681 if (reg_config->ext_control)
695 if (reg_config
[all...]
H A Dtps65086-regulator.c307 struct tps65086_regulator *regulators = tps->reg_config->config;
375 tps->reg_config = &regulator_configs[selector_reg_config];
384 for (i = 0; i < tps->reg_config->num_elems; ++i) {
385 struct regulator_desc * const desc_ptr = &tps->reg_config->config[i].desc;
H A Dqcom-rpmh-regulator.c418 struct regulator_config reg_config = {}; local
479 reg_config.dev = dev;
480 reg_config.init_data = init_data;
481 reg_config.of_node = node;
482 reg_config.driver_data = vreg;
484 rdev = devm_regulator_register(dev, &vreg->rdesc, &reg_config);
/linux-master/include/linux/mfd/
H A Dtps65086.h113 const struct tps65086_regulator_config *reg_config; member in struct:tps65086
/linux-master/drivers/dma/
H A Damba-pl08x.c141 * @reg_config: configuration address for this physical channel
159 void __iomem *reg_config; member in struct:pl08x_phy_chan
378 val = readl(ch->reg_config);
518 writel(ccfg, phychan->reg_config);
552 val = readl(phychan->reg_config);
554 val = readl(phychan->reg_config);
563 val = readl(phychan->reg_config);
566 val = readl(phychan->reg_config);
568 writel(val | PL080_CONFIG_ENABLE, phychan->reg_config);
596 val = readl(ch->reg_config);
[all...]
/linux-master/drivers/iio/adc/
H A Dimx7d_adc.c127 u32 reg_config; member in struct:imx7d_adc_analogue_core_clk
132 .reg_config = (_reg_conf), \
207 sample_rate |= adc_analogure_clk.reg_config;
/linux-master/drivers/soc/ti/
H A Dknav_qmss_queue.c1192 writel_relaxed((u32)block->dma, &qmgr->reg_config->link_ram_base0);
1195 &qmgr->reg_config->link_ram_size0);
1198 &qmgr->reg_config->link_ram_size0);
1205 writel_relaxed(block->dma, &qmgr->reg_config->link_ram_base1);
1432 qmgr->reg_config =
1458 IS_ERR(qmgr->reg_config) || IS_ERR(qmgr->reg_region) ||
1469 if (!IS_ERR(qmgr->reg_config))
1470 devm_iounmap(dev, qmgr->reg_config);
1484 dev_info(dev, "added qmgr start queue %d, num of queues %d, reg_peek %p, reg_status %p, reg_config %p, reg_region %p, reg_push %p, reg_pop %p\n",
1487 qmgr->reg_config, qmg
[all...]
H A Dknav_qmss.h141 struct knav_reg_config __iomem *reg_config; member in struct:knav_qmgr_info
/linux-master/drivers/w1/masters/
H A Dds2482.c119 u8 reg_config; member in struct:ds2482_data
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_rogue_fwif.h1120 struct rogue_fwif_reg_cfg_rec reg_config __aligned(8);
/linux-master/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c3375 const struct regmap_config *reg_config; local
3380 reg_config = &hdmi_regmap_32bit_config;
3384 reg_config = &hdmi_regmap_8bit_config;
3398 hdmi->regm = devm_regmap_init_mmio(dev, hdmi->regs, reg_config);

Completed in 229 milliseconds