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

/linux-4.1.27/drivers/regulator/
H A Dpwm-regulator.c25 struct pwm_voltages *duty_cycle_table; member in struct:pwm_regulator_data
54 drvdata->duty_cycle_table[selector].dutycycle) / 100; pwm_regulator_set_voltage_sel()
84 return drvdata->duty_cycle_table[selector].uV; pwm_regulator_list_voltage()
129 if ((length < sizeof(*drvdata->duty_cycle_table)) || pwm_regulator_probe()
130 (length % sizeof(*drvdata->duty_cycle_table))) { pwm_regulator_probe()
136 drvdata->desc.n_voltages = length / sizeof(*drvdata->duty_cycle_table); pwm_regulator_probe()
138 drvdata->duty_cycle_table = devm_kzalloc(&pdev->dev, pwm_regulator_probe()
140 if (!drvdata->duty_cycle_table) pwm_regulator_probe()
145 (u32 *)drvdata->duty_cycle_table, pwm_regulator_probe()

Completed in 71 milliseconds