Searched refs:FSHIFT (Results 1 – 9 of 9) sorted by relevance
18 #define FSHIFT 11 /* nr of bits of precision */ macro19 #define FIXED_1 (1<<FSHIFT) /* 1.0 as fixed-point */43 #define LOAD_INT(x) ((x) >> FSHIFT)
58 period = ((672<<FSHIFT)/(5*avenrun[0]+(7<<FSHIFT))) + 30; in timer_heartbeat()
70 mod_timer(&hd->timer, jiffies + (110 - ((300 << FSHIFT) / in heartbeat_timer()71 ((avenrun[0] / 5) + (3 << FSHIFT))))); in heartbeat_timer()
61 (6720 << FSHIFT) / (5 * avenrun[0] + (7 << FSHIFT)); in led_heartbeat_function()
46 ((1 + (avenrun[0] >> FSHIFT)) * HZ); in led_blink()
159 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
115 int rnd_frac = ((rnd_load & (FIXED_1-1)) * 100) >> FSHIFT; in fixed_loadavg()117 return ((rnd_load >> FSHIFT) * 100) + rnd_frac; in fixed_loadavg()
348 if ((avenrun[0] >> FSHIFT) > 1) in ips_cpu_busy()
2783 get_avenrun(info->loads, 0, SI_LOAD_SHIFT - FSHIFT); in do_sysinfo()