Home
last modified time | relevance | path

Searched refs:counterresvalue (Results 1 – 2 of 2) sorted by relevance

/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtach.c241 …argp->counterresvalue = COUNTERRES_DEF; //since driver don't support COUNTERRES, just using defa… in pwmtach_action()
322 indata->counterresvalue = 0; in set_fan_speed()
349 if (indata->dutycycle <= ((indata->counterresvalue*10)/100)) in set_fan_speed()
360 indata->dutycycle -= ((5 * indata->counterresvalue)/100); in set_fan_speed()
365 if (indata->dutycycle >= indata->counterresvalue) in set_fan_speed()
376 indata->dutycycle += ((5 * indata->counterresvalue)/100); in set_fan_speed()
412 …=%d, ps=%d, cr=%d\n", retries, indata->dutycycle, indata->prescalervalue, indata->counterresvalue); in set_fan_speed()
H A Dpwmtach_ioctl.h30 unsigned int counterresvalue; member