/openbmc/openbmc-tools/pwmtachtool/src/ |
H A D | pwmtachtool.c | 4 * 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 D | pwmtach.c | 72 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 D | libpwmtach.h | 32 /*********Directly control pwm dutycycle (1 to 99) instead of RPM***********/
|
H A D | pwmtach_ioctl.h | 28 unsigned char dutycycle; member
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | pwm-regulator.yaml | 61 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 D | pwm-regulator.c | 48 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 D | control.hpp | 20 DutyCycle, enumerator 55 {ControlType::DutyCycle, "DutyCycle"},
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-khadas-vim3.dtsi | 24 pwm-dutycycle-range = <100 0>; 43 pwm-dutycycle-range = <100 0>;
|
H A D | meson-g12b-bananapi-cm4.dtsi | 101 pwm-dutycycle-range = <100 0>; 120 pwm-dutycycle-range = <100 0>;
|
H A D | meson-g12b-odroid.dtsi | 149 pwm-dutycycle-range = <100 0>; 168 pwm-dutycycle-range = <100 0>;
|
H A D | meson-g12b-w400.dtsi | 102 pwm-dutycycle-range = <100 0>; 121 pwm-dutycycle-range = <100 0>;
|
H A D | meson-sm1-khadas-vim3l.dts | 30 pwm-dutycycle-range = <100 0>;
|
H A D | meson-g12b-radxa-zero2.dts | 138 pwm-dutycycle-range = <100 0>; 157 pwm-dutycycle-range = <100 0>;
|
H A D | meson-g12b-bananapi.dtsi | 149 pwm-dutycycle-range = <100 0>; 161 pwm-dutycycle-range = <100 0>;
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | axentia,tse850-pcm5142.txt | 73 pwm-dutycycle-unit = <1000>; 74 pwm-dutycycle-range = <100 1000>;
|
/openbmc/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8b-mxq.dts | 40 pwm-dutycycle-range = <100 0>; 87 pwm-dutycycle-range = <100 0>;
|
H A D | meson8b-odroidc1.dts | 137 pwm-dutycycle-range = <91 0>; 169 pwm-dutycycle-range = <91 0>;
|
H A D | meson8b-ec100.dts | 180 pwm-dutycycle-range = <100 0>; 264 pwm-dutycycle-range = <100 0>;
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-gru.dtsi | 111 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 D | rk3399-gru-chromebook.dtsi | 55 pwm-dutycycle-range = <100 0>; 56 pwm-dutycycle-unit = <100>;
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3399-gru.dtsi | 112 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 D | rk3399-gru-chromebook.dtsi | 55 pwm-dutycycle-range = <100 0>; 56 pwm-dutycycle-unit = <100>;
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-tse850-3.dts | 40 pwm-dutycycle-unit = <1000>; 41 pwm-dutycycle-range = <100 1000>;
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | mci.c | 163 "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 D | gen_led_groups.pl | 176 my $dutyCycle = $groups[$i+2]; 186 $hashGroup{$groupName}{$name}{"DutyOn"} = $dutyCycle;
|