Searched refs:activity_data (Results 1 – 1 of 1) sorted by relevance
22 struct activity_data { struct34 struct activity_data *activity_data = from_timer(activity_data, t, in led_activity_function() argument36 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function()78 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()79 diff_used = (curr_used - activity_data->last_used) >> 16; in led_activity_function()80 activity_data->last_boot = curr_boot; in led_activity_function()81 activity_data->last_used = curr_used; in led_activity_function()125 activity_data->time_left -= 100; in led_activity_function()126 if (activity_data->time_left <= 0) { in led_activity_function()127 activity_data->time_left = 0; in led_activity_function()[all …]