Searched refs:sys_dev (Results 1 – 4 of 4) sorted by relevance
/drivers/cpuidle/ |
D | cpuidle.c | 268 struct sys_device *sys_dev = get_cpu_sysdev((unsigned long)dev->cpu); in __cpuidle_register_device() local 270 if (!sys_dev) in __cpuidle_register_device() 281 if ((ret = cpuidle_add_sysfs(sys_dev))) { in __cpuidle_register_device() 322 struct sys_device *sys_dev = get_cpu_sysdev((unsigned long)dev->cpu); in cpuidle_unregister_device() local 331 cpuidle_remove_sysfs(sys_dev); in cpuidle_unregister_device()
|
/drivers/base/ |
D | topology.c | 136 struct sys_device *sys_dev = get_cpu_sysdev(cpu); in topology_add_dev() local 138 return sysfs_create_group(&sys_dev->kobj, &topology_attr_group); in topology_add_dev() 143 struct sys_device *sys_dev = get_cpu_sysdev(cpu); in topology_remove_dev() local 145 sysfs_remove_group(&sys_dev->kobj, &topology_attr_group); in topology_remove_dev()
|
/drivers/cpufreq/ |
D | cpufreq.c | 763 static int cpufreq_add_dev(struct sys_device *sys_dev) in cpufreq_add_dev() argument 765 unsigned int cpu = sys_dev->id; in cpufreq_add_dev() 875 ret = sysfs_create_link(&sys_dev->kobj, in cpufreq_add_dev() 890 ret = kobject_init_and_add(&policy->kobj, &ktype_cpufreq, &sys_dev->kobj, in cpufreq_add_dev() 992 static int __cpufreq_remove_dev(struct sys_device *sys_dev) in __cpufreq_remove_dev() argument 994 unsigned int cpu = sys_dev->id; in __cpufreq_remove_dev() 1025 sysfs_remove_link(&sys_dev->kobj, "cpufreq"); in __cpufreq_remove_dev() 1099 static int cpufreq_remove_dev(struct sys_device *sys_dev) in cpufreq_remove_dev() argument 1101 unsigned int cpu = sys_dev->id; in cpufreq_remove_dev() 1110 retval = __cpufreq_remove_dev(sys_dev); in cpufreq_remove_dev() [all …]
|
/drivers/net/wireless/ |
D | atmel.c | 434 struct device *sys_dev; member 1473 struct device *sys_dev, in init_atmel_card() argument 1494 priv->sys_dev = sys_dev; in init_atmel_card() 1565 SET_NETDEV_DEV(dev, sys_dev); in init_atmel_card() 3878 err = request_firmware(&fw_entry, priv->firmware_id, priv->sys_dev); in reset_atmel_card() 3901 if (request_firmware(&fw_entry, priv->firmware_id, priv->sys_dev) == 0) { in reset_atmel_card()
|