Home
last modified time | relevance | path

Searched refs:rpmvalue (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtachtool.c140 unsigned int rpmvalue = 0; in main() local
151 ret = process_arguments( argc , argv , &fannum, &rpmvalue, &dev_id ); in main()
168 Value = set_fan_speed (dev_id, fannum, rpmvalue); in main()
178 Value = get_fan_speed (dev_id, fannum, &rpmvalue); in main()
184 printf("Fan %d speed is %d \n", fannum, rpmvalue); in main()
189 Value = set_pwm_dutycycle (dev_id, fannum, rpmvalue); in main()
199 Value = set_pwm_dutycycle_value (dev_id, fannum, rpmvalue); in main()
H A Dpwmtach.c166 ppwmtach_arg->rpmvalue = atoi(data); in GET_TACH_SPEED()
168 printf("%s:rpm value %d\n",__FUNCTION__,ppwmtach_arg->rpmvalue); in GET_TACH_SPEED()
261 *rpm_value = pwmtach_arg.rpmvalue; in get_tach_speed()
321 indata->rpmvalue = rpm_value; in set_fan_speed()
347 if (indata->rpmvalue > (desiredrpm + 50)) in set_fan_speed()
353 printf("\nSpeed is set to minimum possible speed of %d RPM.\n",indata->rpmvalue); in set_fan_speed()
363 else if (indata->rpmvalue < (desiredrpm - 50)) in set_fan_speed()
369 printf("\nSpeed is set to maximum possible speed of %d RPM.\n",indata->rpmvalue); in set_fan_speed()
385 printf("After update: dutycycle=%d, rpmvalue=%d\n", indata->dutycycle, indata->rpmvalue); in set_fan_speed()
427 *rpm_value = pwmtach_arg.rpmvalue; in get_fan_speed()
H A Dpwmtach_ioctl.h24 unsigned int rpmvalue; member