Home
last modified time | relevance | path

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

/drivers/cpuidle/
Dcpuidle.c398 struct device *cpu_dev = get_cpu_device((unsigned long)dev->cpu); in __cpuidle_register_device() local
410 ret = cpuidle_add_sysfs(cpu_dev); in __cpuidle_register_device()
422 cpuidle_remove_sysfs(cpu_dev); in __cpuidle_register_device()
463 struct device *cpu_dev = get_cpu_device((unsigned long)dev->cpu); in cpuidle_unregister_device() local
473 cpuidle_remove_sysfs(cpu_dev); in cpuidle_unregister_device()
Dsysfs.c408 int cpuidle_add_sysfs(struct device *cpu_dev) in cpuidle_add_sysfs() argument
410 int cpu = cpu_dev->id; in cpuidle_add_sysfs()
415 error = kobject_init_and_add(&dev->kobj, &ktype_cpuidle, &cpu_dev->kobj, in cpuidle_add_sysfs()
426 void cpuidle_remove_sysfs(struct device *cpu_dev) in cpuidle_remove_sysfs() argument
428 int cpu = cpu_dev->id; in cpuidle_remove_sysfs()
/drivers/cpufreq/
Dcpufreq.c772 struct device *cpu_dev; in cpufreq_add_dev_symlink() local
781 cpu_dev = get_cpu_device(j); in cpufreq_add_dev_symlink()
782 ret = sysfs_create_link(&cpu_dev->kobj, &policy->kobj, in cpufreq_add_dev_symlink()
1018 struct device *cpu_dev; in __cpufreq_remove_dev() local
1082 cpu_dev = get_cpu_device(j); in __cpufreq_remove_dev()
1083 kobj = &cpu_dev->kobj; in __cpufreq_remove_dev()