Searched refs:FM_SCALE (Results 1 – 1 of 1) sorted by relevance
2461 #define FM_SCALE 1000 /* faux fixed point scale */ macro2486 fmp->val = (FM_COEF * fmp->val) / FM_SCALE; in fmeter_update()2489 fmp->val += ((FM_SCALE - FM_COEF) * fmp->cnt) / FM_SCALE; in fmeter_update()2498 fmp->cnt = min(FM_MAXCNT, fmp->cnt + FM_SCALE); in fmeter_markevent()