Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/regulator/
Dpwm-regulator.c54 unsigned int dutycycle; member
64 unsigned int dutycycle; in pwm_regulator_init_state() local
68 dutycycle = pwm_get_relative_duty_cycle(&pwm_state, 100); in pwm_regulator_init_state()
71 if (dutycycle == drvdata->duty_cycle_table[i].dutycycle) { in pwm_regulator_init_state()
97 drvdata->duty_cycle_table[selector].dutycycle, 100); in pwm_regulator_set_voltage_sel()
199 unsigned int dutycycle; in pwm_regulator_set_voltage() local
214 dutycycle = DIV_ROUND_CLOSEST_ULL((u64)(req_min_uV - min_uV) * in pwm_regulator_set_voltage()
219 dutycycle = min_uV_duty - dutycycle; in pwm_regulator_set_voltage()
221 dutycycle = min_uV_duty + dutycycle; in pwm_regulator_set_voltage()
223 pwm_set_relative_duty_cycle(&pstate, dutycycle, duty_unit); in pwm_regulator_set_voltage()
/Linux-v4.19/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.txt38 - pwm-dutycycle-unit: Integer value encoding the duty cycle unit. If not
40 pwm-dutycycle-range contains values expressed in
43 - pwm-dutycycle-range: Should contain 2 entries. The first entry is encoding
44 the dutycycle for regulator-min-microvolt and the
45 second one the dutycycle for regulator-max-microvolt.
46 Duty cycle values are expressed in pwm-dutycycle-unit.
69 pwm-dutycycle-unit = <1000>;
74 pwm-dutycycle-range = <700 300>; /* */
/Linux-v4.19/arch/arm64/boot/dts/zte/
Dzx296718-pcbox.dts31 pwm-dutycycle-unit = <100>;
32 pwm-dutycycle-range = <0 100>;
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Daxentia,tse850-pcm5142.txt73 pwm-dutycycle-unit = <1000>;
74 pwm-dutycycle-range = <100 1000>;
/Linux-v4.19/arch/arm/boot/dts/
Dat91-tse850-3.dts60 pwm-dutycycle-unit = <1000>;
61 pwm-dutycycle-range = <100 1000>;
/Linux-v4.19/arch/arm64/boot/dts/rockchip/
Drk3399-gru.dtsi106 pwm-dutycycle-range = <100 0>;
107 pwm-dutycycle-unit = <100>;
135 pwm-dutycycle-range = <100 0>;
136 pwm-dutycycle-unit = <100>;
164 pwm-dutycycle-range = <100 0>;
165 pwm-dutycycle-unit = <100>;
Drk3399-gru-chromebook.dtsi55 pwm-dutycycle-range = <100 0>;
56 pwm-dutycycle-unit = <100>;
/Linux-v4.19/drivers/pwm/
Dcore.c603 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config() local
605 do_div(dutycycle, state.period); in pwm_adjust_config()
606 state.duty_cycle = dutycycle; in pwm_adjust_config()
/Linux-v4.19/Documentation/
Dpwm.txt63 care about dutycycle relatively to the full period (like, duty = 50% of the