Home
last modified time | relevance | path

Searched refs:duty_cycle_table (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/regulator/
H A Dpwm-regulator.c32 struct pwm_voltages *duty_cycle_table; member
65 if (dutycycle == drvdata->duty_cycle_table[i].dutycycle) { in pwm_regulator_init_state()
91 drvdata->duty_cycle_table[selector].dutycycle, 100); in pwm_regulator_set_voltage_sel()
112 return drvdata->duty_cycle_table[selector].uV; in pwm_regulator_list_voltage()
257 struct pwm_voltages *duty_cycle_table; in pwm_regulator_init_table() local
263 if ((length < sizeof(*duty_cycle_table)) || in pwm_regulator_init_table()
264 (length % sizeof(*duty_cycle_table))) { in pwm_regulator_init_table()
270 duty_cycle_table = devm_kzalloc(&pdev->dev, length, GFP_KERNEL); in pwm_regulator_init_table()
271 if (!duty_cycle_table) in pwm_regulator_init_table()
275 (u32 *)duty_cycle_table, in pwm_regulator_init_table()
[all...]
/kernel/linux/linux-6.6/drivers/regulator/
H A Dpwm-regulator.c32 struct pwm_voltages *duty_cycle_table; member
65 if (dutycycle == drvdata->duty_cycle_table[i].dutycycle) { in pwm_regulator_init_state()
91 drvdata->duty_cycle_table[selector].dutycycle, 100); in pwm_regulator_set_voltage_sel()
112 return drvdata->duty_cycle_table[selector].uV; in pwm_regulator_list_voltage()
260 struct pwm_voltages *duty_cycle_table; in pwm_regulator_init_table() local
266 if ((length < sizeof(*duty_cycle_table)) || in pwm_regulator_init_table()
267 (length % sizeof(*duty_cycle_table))) { in pwm_regulator_init_table()
273 duty_cycle_table = devm_kzalloc(&pdev->dev, length, GFP_KERNEL); in pwm_regulator_init_table()
274 if (!duty_cycle_table) in pwm_regulator_init_table()
278 (u32 *)duty_cycle_table, in pwm_regulator_init_table()
[all...]

Completed in 2 milliseconds