/kernel/linux/linux-5.10/drivers/regulator/ |
D | s2mpa01.c | 29 static int get_ramp_delay(int ramp_delay) in get_ramp_delay() argument 33 ramp_delay /= 6250; in get_ramp_delay() 36 ramp_delay = ramp_delay >> 1; in get_ramp_delay() 37 if (ramp_delay == 0) in get_ramp_delay() 53 unsigned int ramp_delay = 0; in s2mpa01_regulator_set_voltage_time_sel() local 59 ramp_delay = s2mpa01->ramp_delay24; in s2mpa01_regulator_set_voltage_time_sel() 62 ramp_delay = s2mpa01->ramp_delay3; in s2mpa01_regulator_set_voltage_time_sel() 65 ramp_delay = s2mpa01->ramp_delay5; in s2mpa01_regulator_set_voltage_time_sel() 69 ramp_delay = s2mpa01->ramp_delay16; in s2mpa01_regulator_set_voltage_time_sel() 72 ramp_delay = s2mpa01->ramp_delay7; in s2mpa01_regulator_set_voltage_time_sel() [all …]
|
D | s2mps11.c | 49 static int get_ramp_delay(int ramp_delay) in get_ramp_delay() argument 53 ramp_delay /= 6250; in get_ramp_delay() 56 ramp_delay = ramp_delay >> 1; in get_ramp_delay() 57 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 …]
|
D | lp87565-regulator.c | 32 .ramp_delay = _delay, \ 66 int ramp_delay) in lp87565_buck_set_ramp_delay() argument 72 if (ramp_delay <= 470) in lp87565_buck_set_ramp_delay() 74 else if (ramp_delay <= 940) in lp87565_buck_set_ramp_delay() 76 else if (ramp_delay <= 1900) in lp87565_buck_set_ramp_delay() 78 else if (ramp_delay <= 3800) in lp87565_buck_set_ramp_delay() 80 else if (ramp_delay <= 7500) in lp87565_buck_set_ramp_delay() 82 else if (ramp_delay <= 10000) in lp87565_buck_set_ramp_delay() 84 else if (ramp_delay <= 15000) in lp87565_buck_set_ramp_delay() 97 rdev->constraints->ramp_delay = lp87565_buck_ramp_delay[reg]; in lp87565_buck_set_ramp_delay() [all …]
|
D | lp873x-regulator.c | 39 .ramp_delay = _delay, \ 78 int ramp_delay) in lp873x_buck_set_ramp_delay() argument 85 if (ramp_delay <= 470) in lp873x_buck_set_ramp_delay() 87 else if (ramp_delay <= 940) in lp873x_buck_set_ramp_delay() 89 else if (ramp_delay <= 1900) in lp873x_buck_set_ramp_delay() 91 else if (ramp_delay <= 3800) in lp873x_buck_set_ramp_delay() 93 else if (ramp_delay <= 7500) in lp873x_buck_set_ramp_delay() 95 else if (ramp_delay <= 10000) in lp873x_buck_set_ramp_delay() 97 else if (ramp_delay <= 15000) in lp873x_buck_set_ramp_delay() 110 rdev->constraints->ramp_delay = lp873x_buck_ramp_delay[reg]; in lp873x_buck_set_ramp_delay()
|
D | mp5416.c | 126 static int mp5416_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay); 171 static int mp5416_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in mp5416_set_ramp_delay() argument 175 if (ramp_delay > 32000 || ramp_delay < 0) in mp5416_set_ramp_delay() 178 if (ramp_delay <= 4000) in mp5416_set_ramp_delay() 180 else if (ramp_delay <= 8000) in mp5416_set_ramp_delay() 182 else if (ramp_delay <= 16000) in mp5416_set_ramp_delay()
|
D | max77802-regulator.c | 226 unsigned int ramp_delay) in max77802_find_ramp_value() argument 231 if (ramp_delay <= limits[i]) in max77802_find_ramp_value() 237 rdev->desc->name, ramp_delay); in max77802_find_ramp_value() 243 int ramp_delay) in max77802_set_ramp_delay_2bit() argument 255 ARRAY_SIZE(ramp_table_77802_2bit), ramp_delay); in max77802_set_ramp_delay_2bit() 264 int ramp_delay) in max77802_set_ramp_delay_4bit() argument 269 ARRAY_SIZE(ramp_table_77802_4bit), ramp_delay); in max77802_set_ramp_delay_4bit() 364 .ramp_delay = MAX77802_RAMP_DELAY, \ 385 .ramp_delay = MAX77802_RAMP_DELAY, \ 406 .ramp_delay = MAX77802_RAMP_DELAY, \ [all …]
|
D | max77686-regulator.c | 223 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() 348 .ramp_delay = MAX77686_RAMP_DELAY, \ 366 .ramp_delay = MAX77686_RAMP_DELAY, \ 384 .ramp_delay = MAX77686_RAMP_DELAY, \ 402 .ramp_delay = MAX77686_RAMP_DELAY, \ 421 .ramp_delay = MAX77686_RAMP_DELAY, \ 439 .ramp_delay = MAX77686_RAMP_DELAY, \ 457 .ramp_delay = MAX77686_DVS_RAMP_DELAY, \
|
D | bd70528-regulator.c | 50 static int bd70528_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in bd70528_set_ramp_delay() argument 52 if (ramp_delay > 0 && ramp_delay <= BUCK_RAMP_MAX) { in bd70528_set_ramp_delay() 55 if (ramp_delay <= 125) in bd70528_set_ramp_delay() 63 rdev->desc->name, ramp_delay); in bd70528_set_ramp_delay()
|
D | mpq7920.c | 122 static int mpq7920_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay); 194 static int mpq7920_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in mpq7920_set_ramp_delay() argument 198 if (ramp_delay > 8000 || ramp_delay < 0) in mpq7920_set_ramp_delay() 201 if (ramp_delay <= 4000) in mpq7920_set_ramp_delay()
|
D | max8973-regulator.c | 269 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()
|
D | tps51632-regulator.c | 94 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()
|
D | stm32-booster.c | 34 .ramp_delay = 66000, /* up to 50us to stabilize */ 65 .ramp_delay = 66000,
|
D | ltc3589.c | 91 static int ltc3589_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in ltc3589_set_ramp_delay() argument 96 if (unlikely(ramp_delay <= 0)) in ltc3589_set_ramp_delay() 104 if ((880 << sel) >= ramp_delay) { in ltc3589_set_ramp_delay() 230 .ramp_delay = (go_bit) ? 1750 : 0, \
|
D | pfuze100-regulator.c | 126 static int pfuze100_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in pfuze100_set_ramp_delay() argument 152 if (ramp_delay > 0) { in pfuze100_set_ramp_delay() 153 ramp_delay = 12500 / ramp_delay; in pfuze100_set_ramp_delay() 154 ramp_bits = (ramp_delay >> 1) - (ramp_delay >> 3); in pfuze100_set_ramp_delay()
|
D | palmas-regulator.c | 502 int ramp_delay) in palmas_smps_set_ramp_delay() argument 518 if (ramp_delay <= 0) in palmas_smps_set_ramp_delay() 520 else if (ramp_delay <= 2500) in palmas_smps_set_ramp_delay() 522 else if (ramp_delay <= 5000) in palmas_smps_set_ramp_delay() 533 pmic->ramp_delay[id] = palmas_smps_ramp_delay[reg]; in palmas_smps_set_ramp_delay() 1058 desc->ramp_delay = 2500; in tps65917_ldo_registration() 1179 desc->ramp_delay = palmas_smps_ramp_delay[reg & 0x3]; in palmas_smps_registration() 1180 pmic->ramp_delay[id] = desc->ramp_delay; in palmas_smps_registration() 1351 desc->ramp_delay = 2500; in tps65917_smps_registration()
|
D | lochnagar-regulator.c | 160 .ramp_delay = 1000, 213 .ramp_delay = 1000,
|
D | stpmic1_regulator.c | 213 .ramp_delay = PMIC_RAMP_DELAY, \ 233 .ramp_delay = PMIC_RAMP_DELAY, \ 255 .ramp_delay = PMIC_RAMP_DELAY, \ 275 .ramp_delay = PMIC_RAMP_DELAY, \
|
D | s5m8767.c | 26 int ramp_delay; member 343 if ((old_sel < new_sel) && s5m8767->ramp_delay) in s5m8767_set_voltage_time_sel() 345 s5m8767->ramp_delay * 1000); in s5m8767_set_voltage_time_sel() 751 s5m8767->ramp_delay = pdata->buck_ramp_delay; in s5m8767_pmic_probe() 899 switch (s5m8767->ramp_delay) { in s5m8767_pmic_probe()
|
D | arizona-ldo1.c | 109 .ramp_delay = 24000, 133 .ramp_delay = 24000,
|
D | rk808-regulator.c | 343 static int rk808_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in rk808_set_ramp_delay() argument 348 switch (ramp_delay) { in rk808_set_ramp_delay() 362 rdev->desc->name, ramp_delay); in rk808_set_ramp_delay() 372 static int rk817_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in rk817_set_ramp_delay() argument 377 switch (ramp_delay) { in rk817_set_ramp_delay() 392 rdev->desc->name, ramp_delay); in rk817_set_ramp_delay()
|
D | sy8106a-regulator.c | 57 .ramp_delay = 200,
|
D | max77620-regulator.c | 295 rinfo->desc.ramp_delay = slew_rate; in max77620_read_slew_rate() 307 rinfo->desc.ramp_delay = slew_rate; in max77620_read_slew_rate() 586 int ramp_delay) in max77620_regulator_set_ramp_delay() argument 599 return max77620_set_slew_rate(pmic, id, ramp_delay); in max77620_regulator_set_ramp_delay()
|
D | bd71828-regulator.c | 93 static int bd71828_set_ramp_delay(struct regulator_dev *rdev, int ramp_delay) in bd71828_set_ramp_delay() argument 97 switch (ramp_delay) { in bd71828_set_ramp_delay() 114 ramp_delay); in bd71828_set_ramp_delay()
|
/kernel/linux/linux-5.10/include/linux/regulator/ |
D | driver.h | 163 int (*set_ramp_delay) (struct regulator_dev *, int ramp_delay); 334 unsigned int ramp_delay; member
|
D | machine.h | 180 unsigned int ramp_delay; member
|