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