Lines Matching refs:printf

43 	printf ("PWMTACH Test Tool (Version %s)\n",VERSION_STR);  in ShowUsage()
44 printf ("Copyright (c) 2009-2015 American Megatrends Inc.\n"); in ShowUsage()
45 printf( "Usage : pwmtachtool <device_id> <command-option> <fannum>\n" ); in ShowUsage()
46 printf( "\t--set-fan-speed: Set Fan's speed. Takes the RPM value as the last argument\n" ); in ShowUsage()
47 printf("\t\tparameters: <Fan_Number> <Fan_Speed>\n"); in ShowUsage()
48printf( "\t--set-pwm-dutycycle: Set Fan's dutycycle. dutycycle_percentage value should be … in ShowUsage()
49printf( "\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()
52 printf( "\t--get-fan-speed: Get Fan's speed\n" ); in ShowUsage()
53 printf( "\t--verbose: Enable Debug messages\n" ); in ShowUsage()
54 printf( "\n" ); in ShowUsage()
59 if (verbose ) printf ( "%s\n" , msg ); in Verbose()
70 printf("need Device Name and Command to process request\n"); in process_arguments()
80 printf("need Fan Number and RPM value to process request\n"); in process_arguments()
91 printf("need Fan Number and Dutycycle value to process request\n"); in process_arguments()
102 printf("need Fan Number and Dutycycle value to process request\n"); in process_arguments()
113 printf("need PWM Number to process request\n"); in process_arguments()
124 printf("need more parameters to process request\n"); in process_arguments()
171 printf ( "Set Fan Speed Failed \n"); in main()
174 printf ( "Fan Speed set Successfully\n"); in main()
181 printf ( "Get Fan Speed Failed \n"); in main()
184 printf("Fan %d speed is %d \n", fannum, rpmvalue); in main()
192 printf ( "Set PWM Dutycycle Failed \n"); in main()
195 printf ( "Fan PWM set dutycycle Successfully\n"); in main()
202 printf ( "Set PWM Dutycycle Value Failed \n"); in main()
205 printf ( "Fan PWM set dutycycle value Successfully\n"); in main()
212 printf ( "Set PWM Dutycycle Failed \n"); in main()
215 printf ( "PWM %d Dutycycle is %d\n",fannum, dutycycle); in main()
219 printf("Invalid PWMTACH Function Call\n"); in main()