Home
last modified time | relevance | path

Searched refs:ramp_delay (Results 1 – 25 of 31) sorted by relevance

12

/linux-4.19.296/drivers/regulator/
Ds2mpa01.c32 static int get_ramp_delay(int ramp_delay) in get_ramp_delay() argument
36 ramp_delay /= 6250; in get_ramp_delay()
39 ramp_delay = ramp_delay >> 1; in get_ramp_delay()
40 if (ramp_delay == 0) in get_ramp_delay()
56 unsigned int ramp_delay = 0; in s2mpa01_regulator_set_voltage_time_sel() local
62 ramp_delay = s2mpa01->ramp_delay24; in s2mpa01_regulator_set_voltage_time_sel()
65 ramp_delay = s2mpa01->ramp_delay3; in s2mpa01_regulator_set_voltage_time_sel()
68 ramp_delay = s2mpa01->ramp_delay5; in s2mpa01_regulator_set_voltage_time_sel()
72 ramp_delay = s2mpa01->ramp_delay16; in s2mpa01_regulator_set_voltage_time_sel()
75 ramp_delay = s2mpa01->ramp_delay7; in s2mpa01_regulator_set_voltage_time_sel()
[all …]
Ds2mps11.c50 static int get_ramp_delay(int ramp_delay) in get_ramp_delay() argument
54 ramp_delay /= 6250; in get_ramp_delay()
57 ramp_delay = ramp_delay >> 1; in get_ramp_delay()
58 if (ramp_delay == 0) in get_ramp_delay()
74 unsigned int ramp_delay = 0; in s2mps11_regulator_set_voltage_time_sel() local
79 ramp_delay = s2mps11->ramp_delay2; in s2mps11_regulator_set_voltage_time_sel()
83 ramp_delay = s2mps11->ramp_delay34; in s2mps11_regulator_set_voltage_time_sel()
86 ramp_delay = s2mps11->ramp_delay5; in s2mps11_regulator_set_voltage_time_sel()
90 ramp_delay = s2mps11->ramp_delay16; in s2mps11_regulator_set_voltage_time_sel()
95 ramp_delay = s2mps11->ramp_delay7810; in s2mps11_regulator_set_voltage_time_sel()
[all …]
Dlp87565-regulator.c34 .ramp_delay = _delay, \
64 int ramp_delay) in lp87565_buck_set_ramp_delay() argument
71 if (ramp_delay <= 470) in lp87565_buck_set_ramp_delay()
73 else if (ramp_delay <= 940) in lp87565_buck_set_ramp_delay()
75 else if (ramp_delay <= 1900) in lp87565_buck_set_ramp_delay()
77 else if (ramp_delay <= 3800) in lp87565_buck_set_ramp_delay()
79 else if (ramp_delay <= 7500) in lp87565_buck_set_ramp_delay()
81 else if (ramp_delay <= 10000) in lp87565_buck_set_ramp_delay()
83 else if (ramp_delay <= 15000) in lp87565_buck_set_ramp_delay()
96 rdev->constraints->ramp_delay = lp87565_buck_ramp_delay[reg]; in lp87565_buck_set_ramp_delay()
[all …]
Dlp873x-regulator.c39 .ramp_delay = _delay, \
74 int ramp_delay) in lp873x_buck_set_ramp_delay() argument
81 if (ramp_delay <= 470) in lp873x_buck_set_ramp_delay()
83 else if (ramp_delay <= 940) in lp873x_buck_set_ramp_delay()
85 else if (ramp_delay <= 1900) in lp873x_buck_set_ramp_delay()
87 else if (ramp_delay <= 3800) in lp873x_buck_set_ramp_delay()
89 else if (ramp_delay <= 7500) in lp873x_buck_set_ramp_delay()
91 else if (ramp_delay <= 10000) in lp873x_buck_set_ramp_delay()
93 else if (ramp_delay <= 15000) in lp873x_buck_set_ramp_delay()
106 rdev->constraints->ramp_delay = lp873x_buck_ramp_delay[reg]; in lp873x_buck_set_ramp_delay()
Dmax77802-regulator.c240 unsigned int ramp_delay) in max77802_find_ramp_value() argument
245 if (ramp_delay <= limits[i]) in max77802_find_ramp_value()
251 rdev->desc->name, ramp_delay); in max77802_find_ramp_value()
257 int ramp_delay) in max77802_set_ramp_delay_2bit() argument
269 ARRAY_SIZE(ramp_table_77802_2bit), ramp_delay); in max77802_set_ramp_delay_2bit()
278 int ramp_delay) in max77802_set_ramp_delay_4bit() argument
283 ARRAY_SIZE(ramp_table_77802_4bit), ramp_delay); in max77802_set_ramp_delay_4bit()
378 .ramp_delay = MAX77802_RAMP_DELAY, \
399 .ramp_delay = MAX77802_RAMP_DELAY, \
420 .ramp_delay = MAX77802_RAMP_DELAY, \
[all …]
Dmax77686-regulator.c223 static int max77686_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in max77686_set_ramp_delay() argument
227 switch (ramp_delay) { in max77686_set_ramp_delay()
241 rdev->desc->name, ramp_delay); in max77686_set_ramp_delay()
339 .ramp_delay = MAX77686_RAMP_DELAY, \
357 .ramp_delay = MAX77686_RAMP_DELAY, \
375 .ramp_delay = MAX77686_RAMP_DELAY, \
393 .ramp_delay = MAX77686_RAMP_DELAY, \
412 .ramp_delay = MAX77686_RAMP_DELAY, \
430 .ramp_delay = MAX77686_RAMP_DELAY, \
448 .ramp_delay = MAX77686_DVS_RAMP_DELAY, \
Dmax8973-regulator.c269 int ramp_delay) in max8973_set_ramp_delay() argument
276 if (ramp_delay <= 12000) in max8973_set_ramp_delay()
278 else if (ramp_delay <= 25000) in max8973_set_ramp_delay()
280 else if (ramp_delay <= 50000) in max8973_set_ramp_delay()
282 else if (ramp_delay <= 200000) in max8973_set_ramp_delay()
371 max->desc.ramp_delay = 12000; in max8973_init_dcdc()
374 max->desc.ramp_delay = 25000; in max8973_init_dcdc()
377 max->desc.ramp_delay = 50000; in max8973_init_dcdc()
380 max->desc.ramp_delay = 200000; in max8973_init_dcdc()
Dtps51632-regulator.c94 int ramp_delay) in tps51632_dcdc_set_ramp_delay() argument
100 if (ramp_delay == 0) in tps51632_dcdc_set_ramp_delay()
103 bit = DIV_ROUND_UP(ramp_delay, 6000) - 1; in tps51632_dcdc_set_ramp_delay()
289 tps->desc.ramp_delay = TPS51632_DEFAULT_RAMP_DELAY; in tps51632_probe()
Dltc3589.c111 static int ltc3589_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in ltc3589_set_ramp_delay() argument
116 if (unlikely(ramp_delay <= 0)) in ltc3589_set_ramp_delay()
124 if ((880 << sel) >= ramp_delay) { in ltc3589_set_ramp_delay()
207 .ramp_delay = (go_bit) ? 1750 : 0, \
Dbd71837-regulator.c34 int ramp_delay) in bd71837_buck1234_set_ramp_delay() argument
42 ramp_delay); in bd71837_buck1234_set_ramp_delay()
43 switch (ramp_delay) { in bd71837_buck1234_set_ramp_delay()
60 rdev->desc->name, ramp_delay); in bd71837_buck1234_set_ramp_delay()
Dpalmas-regulator.c507 int ramp_delay) in palmas_smps_set_ramp_delay() argument
523 if (ramp_delay <= 0) in palmas_smps_set_ramp_delay()
525 else if (ramp_delay <= 2500) in palmas_smps_set_ramp_delay()
527 else if (ramp_delay <= 5000) in palmas_smps_set_ramp_delay()
538 pmic->ramp_delay[id] = palmas_smps_ramp_delay[reg]; in palmas_smps_set_ramp_delay()
1066 desc->ramp_delay = 2500; in tps65917_ldo_registration()
1190 desc->ramp_delay = palmas_smps_ramp_delay[reg & 0x3]; in palmas_smps_registration()
1191 pmic->ramp_delay[id] = desc->ramp_delay; in palmas_smps_registration()
1365 desc->ramp_delay = 2500; in tps65917_smps_registration()
Dpfuze100-regulator.c113 static int pfuze100_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in pfuze100_set_ramp_delay() argument
139 ramp_delay = 12500 / ramp_delay; in pfuze100_set_ramp_delay()
140 ramp_bits = (ramp_delay >> 1) - (ramp_delay >> 3); in pfuze100_set_ramp_delay()
Ds5m8767.c26 int ramp_delay; member
347 if ((old_sel < new_sel) && s5m8767->ramp_delay) in s5m8767_set_voltage_time_sel()
349 s5m8767->ramp_delay * 1000); in s5m8767_set_voltage_time_sel()
750 s5m8767->ramp_delay = pdata->buck_ramp_delay; in s5m8767_pmic_probe()
898 switch (s5m8767->ramp_delay) { in s5m8767_pmic_probe()
Darizona-ldo1.c136 .ramp_delay = 24000,
160 .ramp_delay = 24000,
Dsy8106a-regulator.c63 .ramp_delay = 200,
Dfan53555.c414 if (!di->regulator->constraints.ramp_delay) { in fan53555_regulator_probe()
418 di->regulator->constraints.ramp_delay in fan53555_regulator_probe()
Dmax77620-regulator.c298 rinfo->desc.ramp_delay = slew_rate; in max77620_read_slew_rate()
310 rinfo->desc.ramp_delay = slew_rate; in max77620_read_slew_rate()
589 int ramp_delay) in max77620_regulator_set_ramp_delay() argument
602 return max77620_set_slew_rate(pmic, id, ramp_delay); in max77620_regulator_set_ramp_delay()
Drk808-regulator.c266 static int rk808_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in rk808_set_ramp_delay() argument
271 switch (ramp_delay) { in rk808_set_ramp_delay()
285 rdev->desc->name, ramp_delay); in rk808_set_ramp_delay()
Drc5t583-regulator.c97 .ramp_delay = 40 * 1000, \
Dcore.c1145 if ((rdev->constraints->ramp_delay || rdev->constraints->ramp_disable) in set_machine_constraints()
1147 ret = ops->set_ramp_delay(rdev, rdev->constraints->ramp_delay); in set_machine_constraints()
2900 unsigned int ramp_delay = 0; in _regulator_set_voltage_time() local
2902 if (rdev->constraints->ramp_delay) in _regulator_set_voltage_time()
2903 ramp_delay = rdev->constraints->ramp_delay; in _regulator_set_voltage_time()
2904 else if (rdev->desc->ramp_delay) in _regulator_set_voltage_time()
2905 ramp_delay = rdev->desc->ramp_delay; in _regulator_set_voltage_time()
2915 if (ramp_delay == 0) { in _regulator_set_voltage_time()
2920 return DIV_ROUND_UP(abs(new_uV - old_uV), ramp_delay); in _regulator_set_voltage_time()
Dmax8997-regulator.c27 int ramp_delay; /* in mV/us */ member
524 max8997->ramp_delay * 1000); in max8997_set_voltage_buck_time_sel()
1161 max8997->ramp_delay = 10; /* set 10mV/us, which is the default */ in max8997_pmic_probe()
Dtps65218-regulator.c50 .ramp_delay = _delay, \
/linux-4.19.296/include/linux/regulator/
Ddriver.h184 int (*set_ramp_delay) (struct regulator_dev *, int ramp_delay);
337 unsigned int ramp_delay; member
Dmachine.h179 unsigned int ramp_delay; member
/linux-4.19.296/include/sound/
Dwavefront.h259 u8 ramp_delay:7; member

12