/linux-4.19.296/drivers/regulator/ |
D | s2mpa01.c | 32 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 …]
|
D | s2mps11.c | 50 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 …]
|
D | lp87565-regulator.c | 34 .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 …]
|
D | lp873x-regulator.c | 39 .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()
|
D | max77802-regulator.c | 240 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 …]
|
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() 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, \
|
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 | ltc3589.c | 111 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, \
|
D | bd71837-regulator.c | 34 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()
|
D | palmas-regulator.c | 507 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()
|
D | pfuze100-regulator.c | 113 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()
|
D | s5m8767.c | 26 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()
|
D | arizona-ldo1.c | 136 .ramp_delay = 24000, 160 .ramp_delay = 24000,
|
D | sy8106a-regulator.c | 63 .ramp_delay = 200,
|
D | fan53555.c | 414 if (!di->regulator->constraints.ramp_delay) { in fan53555_regulator_probe() 418 di->regulator->constraints.ramp_delay in fan53555_regulator_probe()
|
D | max77620-regulator.c | 298 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()
|
D | rk808-regulator.c | 266 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()
|
D | rc5t583-regulator.c | 97 .ramp_delay = 40 * 1000, \
|
D | core.c | 1145 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()
|
D | max8997-regulator.c | 27 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()
|
D | tps65218-regulator.c | 50 .ramp_delay = _delay, \
|
/linux-4.19.296/include/linux/regulator/ |
D | driver.h | 184 int (*set_ramp_delay) (struct regulator_dev *, int ramp_delay); 337 unsigned int ramp_delay; member
|
D | machine.h | 179 unsigned int ramp_delay; member
|
/linux-4.19.296/include/sound/ |
D | wavefront.h | 259 u8 ramp_delay:7; member
|