Home
last modified time | relevance | path

Searched refs:freq_scale (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/include/linux/
Darch_topology.h26 DECLARE_PER_CPU(unsigned long, freq_scale);
30 return per_cpu(freq_scale, cpu); in topology_get_freq_scale()
/Linux-v5.10/arch/x86/kernel/
Dsmpboot.c2078 u64 freq_scale = SCHED_CAPACITY_SCALE; in arch_scale_freq_tick() local
2100 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()
/Linux-v5.10/arch/mips/ralink/
Dcevt-rt3352.c36 int freq_scale; member
/Linux-v5.10/drivers/base/
Darch_topology.c34 DEFINE_PER_CPU(unsigned long, freq_scale) = SCHED_CAPACITY_SCALE;
56 per_cpu(freq_scale, i) = scale; in topology_set_freq_scale()
/Linux-v5.10/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.h145 unsigned int freq_scale; member
Detnaviv_gpu.c470 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()
/Linux-v5.10/arch/arm64/kernel/
Dtopology.c306 this_cpu_write(freq_scale, (unsigned long)scale); in topology_scale_freq_tick()