Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/leds/trigger/
Dledtrig-activity.c43 s32 diff_boot; in led_activity_function() local
78 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()
83 if (diff_boot <= 0 || diff_used < 0) in led_activity_function()
85 else if (diff_used >= diff_boot) in led_activity_function()
88 usage = 100 * diff_used / diff_boot; in led_activity_function()