Home
last modified time | relevance | path

Searched refs:CPUFREQ_NAME_LEN (Results 1 – 3 of 3) sorted by relevance

/linux/rust/kernel/
H A Dcpufreq.rs38 const CPUFREQ_NAME_LEN: usize = bindings::CPUFREQ_NAME_LEN as usize; constant
1020 const fn copy_name(name: &'static CStr) -> [c_char; CPUFREQ_NAME_LEN] { in copy_name() argument
1022 let mut dst = [0; CPUFREQ_NAME_LEN];
1024 build_assert!(src.len() <= CPUFREQ_NAME_LEN);
/linux/drivers/cpufreq/
H A Dcpufreq.c52 static char default_governor[CPUFREQ_NAME_LEN];
647 if (!strncasecmp(str_governor, t->name, CPUFREQ_NAME_LEN)) in find_governor()
817 char str_governor[CPUFREQ_NAME_LEN]; in store_scaling_governor()
873 - (CPUFREQ_NAME_LEN + 2))) in show_scaling_available_governors()
1709 CPUFREQ_NAME_LEN); in __cpufreq_offline()
3050 strscpy(default_governor, gov->name, CPUFREQ_NAME_LEN); in cpufreq_core_init()
3083 module_param_string(default_governor, default_governor, CPUFREQ_NAME_LEN, 0444);
/linux/drivers/powercap/
H A Ddtpm_cpu.c198 char name[CPUFREQ_NAME_LEN]; in __dtpm_cpu_setup()