Lines Matching refs:gpu_freq
78 unsigned int gpu_freq, in calc_ia_freq() argument
84 const int diff = consts->max_gpu_freq - gpu_freq; in calc_ia_freq()
92 ring_freq = gpu_freq; in calc_ia_freq()
95 ring_freq = max(consts->min_ring_freq, gpu_freq); in calc_ia_freq()
97 ring_freq = mult_frac(gpu_freq, 5, 4); in calc_ia_freq()
112 if (gpu_freq < min_freq) in calc_ia_freq()
127 unsigned int gpu_freq; in gen6_update_ring_freq() local
137 for (gpu_freq = consts.max_gpu_freq; in gen6_update_ring_freq()
138 gpu_freq >= consts.min_gpu_freq; in gen6_update_ring_freq()
139 gpu_freq--) { in gen6_update_ring_freq()
142 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_update_ring_freq()
147 gpu_freq); in gen6_update_ring_freq()