Searched refs:w_data (Results 1 – 1 of 1) sorted by relevance
382 struct powerclamp_worker_data *w_data; in clamp_balancing_func() local388 w_data = container_of(work, struct powerclamp_worker_data, in clamp_balancing_func()396 w_data->target_ratio = READ_ONCE(set_target_ratio); in clamp_balancing_func()397 w_data->guard = 1 + w_data->target_ratio / 20; in clamp_balancing_func()398 w_data->window_size_now = window_size; in clamp_balancing_func()399 w_data->duration_jiffies = msecs_to_jiffies(duration); in clamp_balancing_func()400 w_data->count++; in clamp_balancing_func()407 compensated_ratio = w_data->target_ratio + in clamp_balancing_func()408 get_compensation(w_data->target_ratio); in clamp_balancing_func()411 interval = w_data->duration_jiffies * 100 / compensated_ratio; in clamp_balancing_func()[all …]