Home
last modified time | relevance | path

Searched refs:volt_table (Results 1 – 25 of 53) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dti-abb-regulator.c372 __func__, desc->volt_table[sel], sel, in ti_abb_set_voltage_sel()
513 unsigned int *volt_table; in ti_abb_init_table() local
541 volt_table = devm_kcalloc(dev, num_entries, sizeof(unsigned int), in ti_abb_init_table()
543 if (!volt_table) in ti_abb_init_table()
547 abb->rdesc.volt_table = volt_table; in ti_abb_init_table()
551 for (i = 0; i < num_entries; i++, info++, volt_table++) { in ti_abb_init_table()
557 volt_table); in ti_abb_init_table()
571 i, *volt_table, info->opp_sel, efuse_offset, rbb_mask, in ti_abb_init_table()
575 if (min_uV > *volt_table) in ti_abb_init_table()
576 min_uV = *volt_table; in ti_abb_init_table()
[all …]
H A Dab8500.c547 .volt_table = ldo_vauxn_voltages,
570 .volt_table = ldo_vauxn_voltages,
593 .volt_table = ldo_vaux3_voltages,
616 .volt_table = ldo_vintcore_voltages,
644 .volt_table = fixed_2000000_voltage,
664 .volt_table = fixed_2000000_voltage,
680 .volt_table = fixed_2050000_voltage,
696 .volt_table = fixed_2050000_voltage,
712 .volt_table = fixed_1800000_voltage,
732 .volt_table = fixed_1200000_voltage,
[all …]
H A Dlp8788-ldo.c191 .volt_table = lp8788_dldo1239_vtbl,
204 .volt_table = lp8788_dldo1239_vtbl,
217 .volt_table = lp8788_dldo1239_vtbl,
230 .volt_table = lp8788_dldo4_vtbl,
243 .volt_table = lp8788_dldo578_aldo6_vtbl,
256 .volt_table = lp8788_dldo6_vtbl,
269 .volt_table = lp8788_dldo578_aldo6_vtbl,
282 .volt_table = lp8788_dldo578_aldo6_vtbl,
295 .volt_table = lp8788_dldo1239_vtbl,
308 .volt_table = lp8788_dldo1011_vtbl,
[all …]
H A Dlp872x.c465 .volt_table = lp872x_ldo_vtbl,
479 .volt_table = lp872x_ldo_vtbl,
493 .volt_table = lp872x_ldo_vtbl,
507 .volt_table = lp8720_ldo4_vtbl,
521 .volt_table = lp872x_ldo_vtbl,
535 .volt_table = lp8720_buck_vtbl,
550 .volt_table = lp872x_ldo_vtbl,
564 .volt_table = lp872x_ldo_vtbl,
578 .volt_table = lp872x_ldo_vtbl,
592 .volt_table = lp872x_ldo_vtbl,
[all …]
H A Dlp3971.c248 .volt_table = ldo123_voltage_map,
257 .volt_table = ldo123_voltage_map,
266 .volt_table = ldo123_voltage_map,
275 .volt_table = ldo45_voltage_map,
284 .volt_table = ldo45_voltage_map,
293 .volt_table = buck_voltage_map,
302 .volt_table = buck_voltage_map,
311 .volt_table = buck_voltage_map,
H A Dlp3972.c401 .volt_table = ldo1_voltage_map,
410 .volt_table = ldo23_voltage_map,
419 .volt_table = ldo23_voltage_map,
428 .volt_table = ldo4_voltage_map,
437 .volt_table = ldo5_voltage_map,
446 .volt_table = buck1_voltage_map,
455 .volt_table = buck23_voltage_map,
464 .volt_table = buck23_voltage_map,
H A Dab3100.c269 return reg->desc->volt_table[regval]; in ab3100_get_voltage_regulator()
431 .volt_table = ldo_e_buck_typ_voltages,
441 .volt_table = ldo_f_typ_voltages,
451 .volt_table = ldo_g_typ_voltages,
461 .volt_table = ldo_h_typ_voltages,
471 .volt_table = ldo_k_typ_voltages,
488 .volt_table = ldo_e_buck_typ_voltages,
H A Dmc13xxx.h60 .volt_table = _voltages, \
78 .volt_table = _voltages, \
93 .volt_table = _voltages, \
H A Dbd9576-regulator.c72 return desc->volt_table[index]; in bd957x_list_voltage()
100 .volt_table = &vout1_volt_table[0],
119 .volt_table = &vout2_volt_table[0],
175 .volt_table = &voutl1_volt_table[0],
H A Dbcm590xx-regulator.c144 const unsigned int *volt_table; member
153 .volt_table = _table, \
308 pmu->desc[i].volt_table = info->volt_table; in bcm590xx_probe()
H A Dmc13xxx-regulator-core.c99 return rdev->desc->volt_table[val]; in mc13xxx_regulator_get_voltage()
120 if (min_uV <= rdev->desc->volt_table[0] && in mc13xxx_fixed_regulator_set_voltage()
121 rdev->desc->volt_table[0] <= max_uV) { in mc13xxx_fixed_regulator_set_voltage()
H A Dmax77693-regulator.c156 .volt_table = max77693_safeout_table, \
197 .volt_table = max77693_safeout_table, \
H A D88pm8607.c257 .volt_table = vreg##_table, \
280 .volt_table = LDO##_id##_table, \
H A Dbd70528-regulator.c219 .volt_table = &led_volts[0],
234 .volt_table = &led_volts[0],
H A Dmax1586.c100 rdev->desc->volt_table[selector] / 1000); in max1586_v6_set_voltage_sel()
144 .volt_table = v6_voltages_uv,
H A Dtps65023-regulator.c99 .volt_table = _t, \
118 .volt_table = _t, \
H A Dvqmmc-ipq4019-regulator.c33 .volt_table = ipq4019_vmmc_voltages,
H A Dstw481x-vmmc.c46 .volt_table = stw481x_vmmc_voltages,
H A Dtps6105x-regulator.c46 .volt_table = tps6105x_voltages,
H A Dpfuze100-regulator.c273 .volt_table = voltages, \
310 .volt_table = voltages, \
347 .volt_table = voltages, \
824 desc->volt_table = pfuze3000_sw2hi; in pfuze100_regulator_probe()
H A Dhelpers.c645 if (!rdev->desc->volt_table) { in regulator_list_voltage_table()
646 BUG_ON(!rdev->desc->volt_table); in regulator_list_voltage_table()
653 return rdev->desc->volt_table[selector]; in regulator_list_voltage_table()
/OK3568_Linux_fs/u-boot/drivers/power/regulator/
H A Dpfuze100.c39 unsigned int *volt_table; member
77 .volt_table = (voltages), \
86 .volt_table = (voltages), \
461 } else if (desc->volt_table) { in pfuze100_regulator_val()
466 *uV = desc->volt_table[val]; in pfuze100_regulator_val()
485 } else if (desc->volt_table) { in pfuze100_regulator_val()
487 if (*uV == desc->volt_table[i]) in pfuze100_regulator_val()
H A Dact8846.c75 static int check_volt_table(const u16 *volt_table, int uvolt) in check_volt_table() argument
80 if (uvolt <= (volt_table[i] * 1000)) in check_volt_table()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_system_monitor.c449 struct volt_adjust_table *volt_table; in rockchip_get_adjust_volt_table() local
467 volt_table = kzalloc(sizeof(*volt_table) * (count / 3 + 1), GFP_KERNEL); in rockchip_get_adjust_volt_table()
468 if (!volt_table) in rockchip_get_adjust_volt_table()
473 &volt_table[i].min); in rockchip_get_adjust_volt_table()
475 &volt_table[i].max); in rockchip_get_adjust_volt_table()
477 &volt_table[i].volt); in rockchip_get_adjust_volt_table()
479 volt_table[i].min = 0; in rockchip_get_adjust_volt_table()
480 volt_table[i].max = 0; in rockchip_get_adjust_volt_table()
481 volt_table[i].volt = INT_MAX; in rockchip_get_adjust_volt_table()
483 *table = volt_table; in rockchip_get_adjust_volt_table()
/OK3568_Linux_fs/kernel/drivers/staging/hikey9xx/
H A Dhi6421v600-regulator.c288 rdesc->volt_table = v_table; in hi6421_spmi_dt_parse()
452 if (rdev->desc->volt_table) in hi6421_spmi_regulator_remove()
453 devm_kfree(&pdev->dev, (unsigned int *)rdev->desc->volt_table); in hi6421_spmi_regulator_remove()

123