Home
last modified time | relevance | path

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

12

/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtachtool.c4 * This application provides functions to get/set fan speed / PWM dutycycle.
48 …printf( "\t--set-pwm-dutycycle: Set Fan's dutycycle. dutycycle_percentage value should be … in ShowUsage()
49 …printf( "\t--set-pwm-dutycycle-value: Set Fan's dutycycle. dutycycle_value should be between 0 t… in ShowUsage()
50 printf("\t\tparameters: <pwm_number> <dutycycle value>\n"); in ShowUsage()
51 printf( "\t--get-pwm-dutycycle: Get Fan's dutycycle\n"); in ShowUsage()
87 else if( strcmp( argv[ i ], "--set-pwm-dutycycle" ) == 0 ) in process_arguments()
91 printf("need Fan Number and Dutycycle value to process request\n"); in process_arguments()
98 else if( strcmp( argv[ i ], "--set-pwm-dutycycle-value" ) == 0 ) in process_arguments()
102 printf("need Fan Number and Dutycycle value to process request\n"); in process_arguments()
109 else if( strcmp( argv[i], "--get-pwm-dutycycle" ) == 0) in process_arguments()
[all …]
H A Dpwmtach.c72 dutycycle_value = ppwmtach_arg->dutycycle; in SET_PWM_DUTYCYCLE_VALUE()
88 …printf("%s: Error write dutycycle value %d to pwm %d\n",__FUNCTION__,dutycycle_value,ppwmtach_arg-… in SET_PWM_DUTYCYCLE_VALUE()
102 if(ppwmtach_arg->dutycycle > 100) in SET_PWM_DUTYCYCLE()
107 dutycycle_value = (ppwmtach_arg->dutycycle*255)/100; in SET_PWM_DUTYCYCLE()
108 ppwmtach_arg->dutycycle = dutycycle_value; in SET_PWM_DUTYCYCLE()
136 ppwmtach_arg->dutycycle = atoi(duty_num); in GET_PWM_DUTYCYCLE()
137 …printf("%s:dutycycle value %d to pwm %d\n",__FUNCTION__,ppwmtach_arg->dutycycle,ppwmtach_arg->pwmn… in GET_PWM_DUTYCYCLE()
273 pwmtach_arg.dutycycle= dutycycle_percentage; in set_pwm_dutycycle()
287 pwmtach_arg.dutycycle= dutycycle_value; in set_pwm_dutycycle_value()
302 *dutycycle_percentage = pwmtach_arg.dutycycle; in get_pwm_dutycycle()
[all …]
H A Dlibpwmtach.h32 /*********Directly control pwm dutycycle (1 to 99) instead of RPM***********/
H A Dpwmtach_ioctl.h28 unsigned char dutycycle; member
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A 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>; /* */
/openbmc/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()
166 * The dutycycle for min_uV might be greater than the one for max_uV. in pwm_regulator_get_voltage()
196 unsigned int dutycycle; in pwm_regulator_set_voltage() local
202 * The dutycycle for min_uV might be greater than the one for max_uV. in pwm_regulator_set_voltage()
211 dutycycle = DIV_ROUND_CLOSEST_ULL((u64)(req_min_uV - min_uV) * in pwm_regulator_set_voltage()
216 dutycycle = min_uV_duty - dutycycle; in pwm_regulator_set_voltage()
[all …]
/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dcontrol.hpp20 DutyCycle, enumerator
55 {ControlType::DutyCycle, "DutyCycle"},
/openbmc/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-sm1-khadas-vim3l.dts30 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12b-radxa-zero2.dts138 pwm-dutycycle-range = <100 0>;
157 pwm-dutycycle-range = <100 0>;
H A Dmeson-g12b-bananapi.dtsi149 pwm-dutycycle-range = <100 0>;
161 pwm-dutycycle-range = <100 0>;
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Daxentia,tse850-pcm5142.txt73 pwm-dutycycle-unit = <1000>;
74 pwm-dutycycle-range = <100 1000>;
/openbmc/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8b-mxq.dts40 pwm-dutycycle-range = <100 0>;
87 pwm-dutycycle-range = <100 0>;
H A Dmeson8b-odroidc1.dts137 pwm-dutycycle-range = <91 0>;
169 pwm-dutycycle-range = <91 0>;
H A Dmeson8b-ec100.dts180 pwm-dutycycle-range = <100 0>;
264 pwm-dutycycle-range = <100 0>;
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A 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>;
H A Drk3399-gru-chromebook.dtsi55 pwm-dutycycle-range = <100 0>;
56 pwm-dutycycle-unit = <100>;
/openbmc/u-boot/arch/arm/dts/
H A Drk3399-gru.dtsi112 pwm-dutycycle-range = <100 0>;
113 pwm-dutycycle-unit = <100>;
141 pwm-dutycycle-range = <100 0>;
142 pwm-dutycycle-unit = <100>;
170 pwm-dutycycle-range = <100 0>;
171 pwm-dutycycle-unit = <100>;
H A Drk3399-gru-chromebook.dtsi55 pwm-dutycycle-range = <100 0>;
56 pwm-dutycycle-unit = <100>;
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dat91-tse850-3.dts40 pwm-dutycycle-unit = <1000>;
41 pwm-dutycycle-range = <100 1000>;
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A 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()
/openbmc/phosphor-mrw-tools/
H A Dgen_led_groups.pl176 my $dutyCycle = $groups[$i+2];
186 $hashGroup{$groupName}{$name}{"DutyOn"} = $dutyCycle;

12