Home
last modified time | relevance | path

Searched full:dutycycle (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v6.6/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.yaml61 pwm-dutycycle-unit:
65 pwm-dutycycle-range contains values expressed in
70 pwm-dutycycle-range:
73 the dutycycle for regulator-min-microvolt and the
74 second one the dutycycle for regulator-max-microvolt.
75 Duty cycle values are expressed in pwm-dutycycle-unit.
79 - description: the dutycycle for regulator-min-microvolt
80 - description: the dutycycle for regulator-max-microvolt
102 pwm-dutycycle-unit = <1000>;
107 pwm-dutycycle-range = <700 300>; /* */
/Linux-v6.6/drivers/regulator/
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()
163 * The dutycycle for min_uV might be greater than the one for max_uV. in pwm_regulator_get_voltage()
193 unsigned int dutycycle; in pwm_regulator_set_voltage() local
199 * The dutycycle for min_uV might be greater than the one for max_uV. in pwm_regulator_set_voltage()
208 dutycycle = DIV_ROUND_CLOSEST_ULL((u64)(req_min_uV - min_uV) * in pwm_regulator_set_voltage()
213 dutycycle = min_uV_duty - dutycycle; in pwm_regulator_set_voltage()
[all …]
/Linux-v6.6/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-khadas-vim3.dtsi24 pwm-dutycycle-range = <100 0>;
43 pwm-dutycycle-range = <100 0>;
Dmeson-g12b-bananapi-cm4.dtsi101 pwm-dutycycle-range = <100 0>;
120 pwm-dutycycle-range = <100 0>;
Dmeson-g12b-odroid.dtsi149 pwm-dutycycle-range = <100 0>;
168 pwm-dutycycle-range = <100 0>;
Dmeson-g12b-w400.dtsi102 pwm-dutycycle-range = <100 0>;
121 pwm-dutycycle-range = <100 0>;
Dmeson-sm1-khadas-vim3l.dts30 pwm-dutycycle-range = <100 0>;
Dmeson-g12b-bananapi.dtsi149 pwm-dutycycle-range = <100 0>;
161 pwm-dutycycle-range = <100 0>;
Dmeson-g12b-radxa-zero2.dts138 pwm-dutycycle-range = <100 0>;
157 pwm-dutycycle-range = <100 0>;
Dmeson-g12a-u200.dts145 pwm-dutycycle-range = <100 0>;
Dmeson-sm1-ac2xx.dtsi102 pwm-dutycycle-range = <100 0>;
Dmeson-g12a-radxa-zero.dts126 pwm-dutycycle-range = <100 0>;
Dmeson-g12a-x96-max.dts144 pwm-dutycycle-range = <100 0>;
/Linux-v6.6/Documentation/devicetree/bindings/sound/
Daxentia,tse850-pcm5142.txt73 pwm-dutycycle-unit = <1000>;
74 pwm-dutycycle-range = <100 1000>;
/Linux-v6.6/arch/arm/boot/dts/amlogic/
Dmeson8b-mxq.dts40 pwm-dutycycle-range = <100 0>;
87 pwm-dutycycle-range = <100 0>;
Dmeson8b-odroidc1.dts137 pwm-dutycycle-range = <91 0>;
169 pwm-dutycycle-range = <91 0>;
Dmeson8b-ec100.dts180 pwm-dutycycle-range = <100 0>;
264 pwm-dutycycle-range = <100 0>;
/Linux-v6.6/arch/arm64/boot/dts/rockchip/
Drk3399-gru.dtsi111 pwm-dutycycle-range = <100 0>;
112 pwm-dutycycle-unit = <100>;
140 pwm-dutycycle-range = <100 0>;
141 pwm-dutycycle-unit = <100>;
169 pwm-dutycycle-range = <100 0>;
170 pwm-dutycycle-unit = <100>;
Drk3399-gru-chromebook.dtsi55 pwm-dutycycle-range = <100 0>;
56 pwm-dutycycle-unit = <100>;
/Linux-v6.6/arch/arm/boot/dts/microchip/
Dat91-tse850-3.dts40 pwm-dutycycle-unit = <1000>;
41 pwm-dutycycle-range = <100 1000>;
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Dmci.c163 "Single PAN/FTP bt period %d ms dutycycle %d\n", in ath_mci_update_scheme()
170 "aggregation limit 1.5 ms dutycycle 30%%\n"); in ath_mci_update_scheme()
177 "Two BT profiles aggr limit 1.5 ms dutycycle %d%%\n", in ath_mci_update_scheme()
/Linux-v6.6/arch/arm/boot/dts/rockchip/
Drk3288-veyron.dtsi111 pwm-dutycycle-range = <0x7b 0>;
112 pwm-dutycycle-unit = <0x94>;
/Linux-v6.6/Documentation/driver-api/
Dpwm.rst74 care about dutycycle relatively to the full period (like, duty = 50% of the
/Linux-v6.6/drivers/pwm/
Dcore.c604 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config() local
606 do_div(dutycycle, state.period); in pwm_adjust_config()
607 state.duty_cycle = dutycycle; in pwm_adjust_config()
/Linux-v6.6/drivers/hwmon/
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()

12