Searched refs:freq_scale (Results 1 – 7 of 7) sorted by relevance
26 DECLARE_PER_CPU(unsigned long, freq_scale);30 return per_cpu(freq_scale, cpu); in topology_get_freq_scale()
2078 u64 freq_scale = SCHED_CAPACITY_SCALE; in arch_scale_freq_tick() local2100 freq_scale = div64_u64(acnt, mcnt); in arch_scale_freq_tick()2101 if (!freq_scale) in arch_scale_freq_tick()2104 if (freq_scale > SCHED_CAPACITY_SCALE) in arch_scale_freq_tick()2105 freq_scale = SCHED_CAPACITY_SCALE; in arch_scale_freq_tick()2107 this_cpu_write(arch_freq_scale, freq_scale); in arch_scale_freq_tick()
36 int freq_scale; member
34 DEFINE_PER_CPU(unsigned long, freq_scale) = SCHED_CAPACITY_SCALE;56 per_cpu(freq_scale, i) = scale; in topology_set_freq_scale()
145 unsigned int freq_scale; member
470 gpu->base_rate_core >> gpu->freq_scale); in etnaviv_gpu_update_clock()472 gpu->base_rate_shader >> gpu->freq_scale); in etnaviv_gpu_update_clock()474 unsigned int fscale = 1 << (6 - gpu->freq_scale); in etnaviv_gpu_update_clock()494 unsigned int fscale = 1 << (6 - gpu->freq_scale); in etnaviv_hw_reset()1619 *state = gpu->freq_scale; in etnaviv_gpu_cooling_get_cur_state()1631 gpu->freq_scale = state; in etnaviv_gpu_cooling_set_cur_state()
306 this_cpu_write(freq_scale, (unsigned long)scale); in topology_scale_freq_tick()