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