Lines Matching full:pwm
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()
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()
98 else if( strcmp( argv[ i ], "--set-pwm-dutycycle-value" ) == 0 ) in process_arguments()
109 else if( strcmp( argv[i], "--get-pwm-dutycycle" ) == 0) in process_arguments()
113 printf("need PWM Number to process request\n"); in process_arguments()
188 Verbose ("Inside Set PWM Dutycycle \n"); in main()
192 printf ( "Set PWM Dutycycle Failed \n"); in main()
195 printf ( "Fan PWM set dutycycle Successfully\n"); in main()
198 Verbose ("Inside Set PWM Dutycycle Value\n"); in main()
202 printf ( "Set PWM Dutycycle Value Failed \n"); in main()
205 printf ( "Fan PWM set dutycycle value Successfully\n"); in main()
208 Verbose ("Inside Get PWM Dutycycle \n"); in main()
212 printf ( "Set PWM Dutycycle Failed \n"); in main()
215 printf ( "PWM %d Dutycycle is %d\n",fannum, dutycycle); in main()