Home
last modified time | relevance | path

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

12

/linux/drivers/regulator/
H A Dpwm-regulator.c48 unsigned int dutycycle; member
58 unsigned int dutycycle; in pwm_regulator_init_state() local
62 dutycycle = pwm_get_relative_duty_cycle(&pwm_state, 100); in pwm_regulator_init_state()
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()
203 unsigned int dutycycle; in pwm_regulator_set_voltage() local
218 dutycycle = DIV_ROUND_CLOSEST_ULL((u64)(req_min_uV - min_uV) * in pwm_regulator_set_voltage()
223 dutycycle = min_uV_duty - dutycycle; in pwm_regulator_set_voltage()
225 dutycycle = min_uV_duty + dutycycle; in pwm_regulator_set_voltage()
227 pwm_set_relative_duty_cycle(&pstate, dutycycle, duty_unit); in pwm_regulator_set_voltage()
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12b-khadas-vim3.dtsi24 pwm-dutycycle-range = <100 0>;
43 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12b-bananapi-cm4.dtsi101 pwm-dutycycle-range = <100 0>;
120 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12b-odroid.dtsi149 pwm-dutycycle-range = <100 0>;
168 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12b-w400.dtsi102 pwm-dutycycle-range = <100 0>;
121 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12b-a311d-libretech-cc.dts26 pwm-dutycycle-range = <100 0>;
H A Dmeson-sm1-khadas-vim3l.dts30 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12b-bananapi.dtsi142 pwm-dutycycle-range = <100 0>;
154 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12b-radxa-zero2.dts145 pwm-dutycycle-range = <100 0>;
164 pwm-dutycycle-range = <100 0>;
H A Dmeson-s4-s805x2-aq222.dts89 pwm-dutycycle-range = <100 0>;
H A Dmeson-sm1-ac2xx.dtsi102 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12a-radxa-zero.dts126 pwm-dutycycle-range = <100 0>;
H A Dmeson-sm1-bananapi.dtsi161 pwm-dutycycle-range = <100 0>;
H A Dmeson-sm1-odroid.dtsi122 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12a-x96-max.dts143 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12a-fbx8am.dts137 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12a-sei510.dts144 pwm-dutycycle-range = <100 0>;
H A Dmeson-libretech-cottonwood.dtsi171 pwm-dutycycle-range = <100 0>;
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3568-mecsbc.dts47 pwm-dutycycle-range = <0 100>; /* dutycycle inverted 0% => 0.915V */
88 pwm-dutycycle-range = <0 100>; /* dutycycle inverted 0% => 0.915V */
H A Drk3399-gru.dtsi110 pwm-dutycycle-range = <100 0>;
111 pwm-dutycycle-unit = <100>;
139 pwm-dutycycle-range = <100 0>;
140 pwm-dutycycle-unit = <100>;
168 pwm-dutycycle-range = <100 0>;
169 pwm-dutycycle-unit = <100>;
/linux/Documentation/devicetree/bindings/sound/
H A Daxentia,tse850-pcm5142.txt73 pwm-dutycycle-unit = <1000>;
74 pwm-dutycycle-range = <100 1000>;
/linux/arch/arm/boot/dts/microchip/
H A Dat91-tse850-3.dts40 pwm-dutycycle-unit = <1000>;
41 pwm-dutycycle-range = <100 1000>;
/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8b-ec100.dts182 pwm-dutycycle-range = <100 0>;
266 pwm-dutycycle-range = <100 0>;
/linux/drivers/hwmon/
H A Dcorsair-psu.c153 static int corsairpsu_dutycycle_to_pwm(const long dutycycle) in corsairpsu_dutycycle_to_pwm() argument
157 return (result * dutycycle) >> 16; in corsairpsu_dutycycle_to_pwm()
/linux/drivers/pwm/
H A Dcore.c811 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config() local
813 do_div(dutycycle, state.period); in pwm_adjust_config()
814 state.duty_cycle = dutycycle; in pwm_adjust_config()

12