Lines Matching refs:gpu_freq
73 unsigned int gpu_freq, in calc_ia_freq() argument
79 const int diff = consts->max_gpu_freq - gpu_freq; in calc_ia_freq()
87 ring_freq = gpu_freq; in calc_ia_freq()
90 ring_freq = max(consts->min_ring_freq, gpu_freq); in calc_ia_freq()
92 ring_freq = mult_frac(gpu_freq, 5, 4); in calc_ia_freq()
107 if (gpu_freq < min_freq) in calc_ia_freq()
121 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()
146 gpu_freq); in gen6_update_ring_freq()