Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dpwm-regulator.c32 struct pwm_voltages *duty_cycle_table; member
72 if (dutycycle == drvdata->duty_cycle_table[i].dutycycle) { in pwm_regulator_init_state()
98 drvdata->duty_cycle_table[selector].dutycycle, 100); in pwm_regulator_set_voltage_sel()
119 return drvdata->duty_cycle_table[selector].uV; in pwm_regulator_list_voltage()
268 struct pwm_voltages *duty_cycle_table; in pwm_regulator_init_table() local
274 if ((length < sizeof(*duty_cycle_table)) || in pwm_regulator_init_table()
275 (length % sizeof(*duty_cycle_table))) { in pwm_regulator_init_table()
281 duty_cycle_table = devm_kzalloc(&pdev->dev, length, GFP_KERNEL); in pwm_regulator_init_table()
282 if (!duty_cycle_table) in pwm_regulator_init_table()
286 (u32 *)duty_cycle_table, in pwm_regulator_init_table()
[all …]