Home
last modified time | relevance | path

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

/linux/drivers/leds/trigger/
H A Dledtrig-activity.c44 s32 diff_boot; in led_activity_function() local
79 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()
84 if (diff_boot <= 0 || diff_used < 0) in led_activity_function()
86 else if (diff_used >= diff_boot) in led_activity_function()
89 usage = 100 * diff_used / diff_boot; in led_activity_function()