/Linux-v4.19/arch/arm/mach-s3c24xx/ |
D | mach-gta02.c | 266 .max_uV = 3300000, 275 .max_uV = 1600000, 284 .max_uV = 1800000, 293 .max_uV = 3300000, 302 .max_uV = 3300000, 311 .max_uV = 3300000, 319 .max_uV = 3000000, 327 .max_uV = 3200000, 336 .max_uV = 3000000, 345 .max_uV = 3000000, [all …]
|
/Linux-v4.19/drivers/regulator/ |
D | core.c | 107 int min_uV, int max_uV); 259 int *min_uV, int *max_uV) in regulator_check_voltage() argument 261 BUG_ON(*min_uV > *max_uV); in regulator_check_voltage() 268 if (*max_uV > rdev->constraints->max_uV) in regulator_check_voltage() 269 *max_uV = rdev->constraints->max_uV; in regulator_check_voltage() 273 if (*min_uV > *max_uV) { in regulator_check_voltage() 275 *min_uV, *max_uV); in regulator_check_voltage() 292 int *min_uV, int *max_uV, in regulator_check_consumers() argument 304 if (!voltage->min_uV && !voltage->max_uV) in regulator_check_consumers() 307 if (*max_uV > voltage->max_uV) in regulator_check_consumers() [all …]
|
D | helpers.c | 173 int min_uV, int max_uV) in regulator_map_voltage_iterate() argument 187 if (ret < best_val && ret >= min_uV && ret <= max_uV) { in regulator_map_voltage_iterate() 211 int min_uV, int max_uV) in regulator_map_voltage_ascend() argument 220 if (ret > max_uV) in regulator_map_voltage_ascend() 223 if (ret >= min_uV && ret <= max_uV) in regulator_map_voltage_ascend() 242 int min_uV, int max_uV) in regulator_map_voltage_linear() argument 248 if (min_uV <= rdev->desc->min_uV && rdev->desc->min_uV <= max_uV) in regulator_map_voltage_linear() 270 if (voltage < min_uV || voltage > max_uV) in regulator_map_voltage_linear() 288 int min_uV, int max_uV) in regulator_map_voltage_linear_range() argument 306 if (!(min_uV <= linear_max_uV && max_uV >= range->min_uV)) in regulator_map_voltage_linear_range() [all …]
|
D | ab8500-ext.c | 312 .max_uV = 3300000, 326 .max_uV = 3300000, 342 .max_uV = 3300000, 402 .max_uV = 1350000, 440 .max_uV = 1800000, 451 .max_uV = 1360000, 459 .max_uV = 3400000, 685 int max_uV, unsigned *selector) in ab8500_ext_set_voltage() argument 695 regu_constraints->max_uV == max_uV) in ab8500_ext_set_voltage() 700 min_uV, max_uV, in ab8500_ext_set_voltage() [all …]
|
D | virtual.c | 26 int max_uV; member 37 if (data->min_uV && data->max_uV in update_voltage_constraints() 38 && data->min_uV <= data->max_uV) { in update_voltage_constraints() 40 data->min_uV, data->max_uV); in update_voltage_constraints() 42 data->min_uV, data->max_uV); in update_voltage_constraints() 50 if (data->min_uV && data->max_uV && !data->enabled) { in update_voltage_constraints() 60 if (!(data->min_uV && data->max_uV) && data->enabled) { in update_voltage_constraints() 141 return sprintf(buf, "%d\n", data->max_uV); in show_max_uV() 155 data->max_uV = val; in set_max_uV()
|
D | vctrl-regulator.c | 28 int max_uV; member 61 (ctrl->max_uV - ctrl->min_uV), in vctrl_calc_ctrl_voltage() 62 out->max_uV - out->min_uV); in vctrl_calc_ctrl_voltage() 78 if (ctrl_uV > ctrl->max_uV) in vctrl_calc_output_voltage() 79 return out->max_uV; in vctrl_calc_output_voltage() 83 (out->max_uV - out->min_uV), in vctrl_calc_output_voltage() 84 ctrl->max_uV - ctrl->min_uV); in vctrl_calc_output_voltage() 288 vctrl->vrange.out.max_uV = pval; in vctrl_parse_dt() 305 vctrl->vrange.ctrl.max_uV = vrange_ctrl[1]; in vctrl_parse_dt() 337 ctrl_uV > vrange_ctrl->max_uV) { in vctrl_init_vtable() [all …]
|
D | da9052-regulator.c | 72 int max_uV; member 83 int min_uV, int max_uV) in verify_range() argument 85 if (min_uV > info->max_uV || max_uV < info->min_uV) in verify_range() 176 if (volt_uV > info->max_uV) in da9052_list_voltage() 183 int min_uV, int max_uV) in da9052_map_voltage() argument 190 ret = verify_range(info, min_uV, max_uV); in da9052_map_voltage() 308 .max_uV = (max) * 1000,\ 328 .max_uV = (max) * 1000,\
|
D | da903x.c | 79 int max_uV; member 95 int min_uV, int max_uV) in check_range() argument 97 if (min_uV < info->desc.min_uV || min_uV > info->max_uV) in check_range() 194 int min_uV, int max_uV) in da9030_map_ldo14_voltage() argument 199 if (check_range(info, min_uV, max_uV)) { in da9030_map_ldo14_voltage() 200 pr_err("invalid voltage range (%d, %d) uV\n", min_uV, max_uV); in da9030_map_ldo14_voltage() 204 thresh = (info->max_uV + info->desc.min_uV) / 2; in da9030_map_ldo14_voltage() 225 volt = (info->max_uV + rdev->desc->min_uV) / 2 + in da9030_list_ldo14_voltage() 228 if (volt > info->max_uV) in da9030_list_ldo14_voltage() 325 .max_uV = (max) * 1000, \ [all …]
|
D | pwm-regulator.c | 158 int max_uV = rdev->constraints->max_uV; in pwm_regulator_get_voltage() local 159 int diff_uV = max_uV - min_uV; in pwm_regulator_get_voltage() 195 int max_uV = rdev->constraints->max_uV; in pwm_regulator_set_voltage() local 196 int diff_uV = max_uV - min_uV; in pwm_regulator_set_voltage()
|
D | qcom_spmi-regulator.c | 306 int max_uV; member 388 .max_uV = _max_uV, \ 529 int min_uV, int max_uV) in spmi_regulator_select_voltage() argument 541 if (uV < lim_min_uV && max_uV >= lim_min_uV) in spmi_regulator_select_voltage() 547 min_uV, max_uV, lim_min_uV, lim_max_uV); in spmi_regulator_select_voltage() 568 if (uV > max_uV) { in spmi_regulator_select_voltage() 572 min_uV, max_uV, uV); in spmi_regulator_select_voltage() 666 int min_uV, int max_uV) in spmi_regulator_select_voltage_same_range() argument 676 if (uV < range->min_uV && max_uV >= range->min_uV) in spmi_regulator_select_voltage_same_range() 679 if (uV < range->min_uV || uV > range->max_uV) { in spmi_regulator_select_voltage_same_range() [all …]
|
D | pv88090-regulator.c | 61 int max_uV; member 88 .max_uV = 1393750, 94 .max_uV = 2193750, 99 .max_uV = 2837500, 415 = ((pv88090_buck_vol[index].max_uV) in pv88090_i2c_probe()
|
D | mc13xxx-regulator-core.c | 113 int max_uV, unsigned *selector) in mc13xxx_fixed_regulator_set_voltage() argument 118 __func__, id, min_uV, max_uV); in mc13xxx_fixed_regulator_set_voltage() 121 rdev->desc->volt_table[0] <= max_uV) { in mc13xxx_fixed_regulator_set_voltage()
|
D | vexpress-regulator.c | 42 int min_uV, int max_uV, unsigned *selector) in vexpress_regulator_set_voltage() argument 83 if (init_data->constraints.min_uV && init_data->constraints.max_uV) in vexpress_regulator_probe()
|
D | max1586.c | 47 unsigned int max_uV; member 257 max1586->max_uV = MAX1586_V3_MAX_UV / 1000 * pdata->v3_gain / 1000; in max1586_pmic_probe() 277 (max1586->max_uV - max1586->min_uV) / in max1586_pmic_probe()
|
D | max8997-regulator.c | 397 int min_uV, int max_uV, unsigned *selector) in max8997_set_voltage_charger_cv() argument 413 if (max_uV < 4000000 || min_uV > 4350000) in max8997_set_voltage_charger_cv() 418 else if (min_uV <= 4200000 && max_uV >= 4200000) in max8997_set_voltage_charger_cv() 422 ub = (max_uV - 4000000) / 20000 + 1; in max8997_set_voltage_charger_cv() 449 int min_uV, int max_uV, unsigned *selector) in max8997_set_voltage_ldobuck() argument 476 i = max8997_get_voltage_proper_val(desc, min_uV, max_uV); in max8997_set_voltage_ldobuck() 616 int min_uV, int max_uV, unsigned *selector) in max8997_set_voltage_buck() argument 643 return max8997_set_voltage_ldobuck(rdev, min_uV, max_uV, in max8997_set_voltage_buck() 647 new_val = max8997_get_voltage_proper_val(desc, min_uV, max_uV); in max8997_set_voltage_buck()
|
D | arizona-ldo1.c | 56 int min_uV, int max_uV) in arizona_ldo1_hc_map_voltage() argument 168 .max_uV = 1800000, 185 .max_uV = 1200000,
|
/Linux-v4.19/arch/arm/mach-pxa/ |
D | stargate2.c | 190 .max_uV = 1800000, 197 .max_uV = 3000000, 204 .max_uV = 1800000, 212 .max_uV = 3300000, 219 .max_uV = 1800000, 226 .max_uV = 2800000, 233 .max_uV = 2800000, 240 .max_uV = 2800000, 247 .max_uV = 3300000, 255 .max_uV = 3300000, [all …]
|
D | z2.c | 635 .max_uV = 1600000, 645 .max_uV = 3300000, 652 .max_uV = 1800000, 659 .max_uV = 3150000, 666 .max_uV = 3300000,
|
/Linux-v4.19/include/linux/regulator/ |
D | driver.h | 154 int (*set_voltage) (struct regulator_dev *, int min_uV, int max_uV, 156 int (*map_voltage)(struct regulator_dev *, int min_uV, int max_uV); 506 int min_uV, int max_uV); 508 int min_uV, int max_uV); 510 int min_uV, int max_uV); 512 int min_uV, int max_uV);
|
D | consumer.h | 154 unsigned long max_uV; member 248 int min_uV, int max_uV); 250 int regulator_set_voltage(struct regulator *regulator, int min_uV, int max_uV); 459 int min_uV, int max_uV) in regulator_set_voltage() argument 476 int min_uV, int max_uV) in regulator_is_supported_voltage() argument 586 int max_uV) in regulator_set_voltage_triplet() argument 588 if (regulator_set_voltage(regulator, target_uV, max_uV) == 0) in regulator_set_voltage_triplet() 591 return regulator_set_voltage(regulator, min_uV, max_uV); in regulator_set_voltage_triplet()
|
D | machine.h | 83 int max_uV; member 147 int max_uV; member
|
/Linux-v4.19/arch/arm/mach-imx/ |
D | mach-mx31ads.c | 268 .max_uV = 1600000, 291 .max_uV = 2800000, 308 .max_uV = 1800000, 325 .max_uV = 1800000, 346 .max_uV = 2800000, 363 .max_uV = 3300000, 377 .max_uV = 1500000, 390 .max_uV = 2500000,
|
/Linux-v4.19/arch/arm/mach-s3c64xx/ |
D | mach-smdk6410.c | 301 .max_uV = 1300000, 314 .max_uV = 1200000, 407 .max_uV = 1200000, 418 .max_uV = 1800000, 438 .max_uV = 3000000, 450 .max_uV = 1200000,
|
/Linux-v4.19/arch/arm/mach-davinci/ |
D | board-mityomapl138.c | 236 .max_uV = 1350000, 248 .max_uV = 1800000, 259 .max_uV = 1200000, 270 .max_uV = 1800000, 281 .max_uV = 3300000,
|
/Linux-v4.19/drivers/scsi/ufs/ |
D | ufshcd-pltfrm.c | 171 vreg->max_uV = UFS_VREG_VCC_1P8_MAX_UV; in ufshcd_populate_vreg() 174 vreg->max_uV = UFS_VREG_VCC_MAX_UV; in ufshcd_populate_vreg() 178 vreg->max_uV = UFS_VREG_VCCQ_MAX_UV; in ufshcd_populate_vreg() 181 vreg->max_uV = UFS_VREG_VCCQ2_MAX_UV; in ufshcd_populate_vreg()
|