Searched refs:diff_used (Results 1 – 1 of 1) sorted by relevance
42 s32 diff_used; in led_activity_function() local79 diff_used = (curr_used - activity_data->last_used) >> 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()