Home
last modified time | relevance | path

Searched refs:sys_dev (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/arch/ia64/kernel/
Derr_inject.c228 static int err_inject_add_dev(struct device *sys_dev) in err_inject_add_dev() argument
230 return sysfs_create_group(&sys_dev->kobj, &err_inject_attr_group); in err_inject_add_dev()
233 static int err_inject_remove_dev(struct device *sys_dev) in err_inject_remove_dev() argument
235 sysfs_remove_group(&sys_dev->kobj, &err_inject_attr_group); in err_inject_remove_dev()
242 struct device *sys_dev; in err_inject_cpu_callback() local
244 sys_dev = get_cpu_device(cpu); in err_inject_cpu_callback()
248 err_inject_add_dev(sys_dev); in err_inject_cpu_callback()
252 err_inject_remove_dev(sys_dev); in err_inject_cpu_callback()
291 struct device *sys_dev; in err_inject_exit() local
300 sys_dev = get_cpu_device(i); in err_inject_exit()
[all …]
Dtopology.c352 static int cache_add_dev(struct device *sys_dev) in cache_add_dev() argument
354 unsigned int cpu = sys_dev->id; in cache_add_dev()
374 &cache_ktype_percpu_entry, &sys_dev->kobj, in cache_add_dev()
402 static int cache_remove_dev(struct device *sys_dev) in cache_remove_dev() argument
404 unsigned int cpu = sys_dev->id; in cache_remove_dev()
430 struct device *sys_dev; in cache_cpu_callback() local
432 sys_dev = get_cpu_device(cpu); in cache_cpu_callback()
436 cache_add_dev(sys_dev); in cache_cpu_callback()
440 cache_remove_dev(sys_dev); in cache_cpu_callback()
458 struct device *sys_dev = get_cpu_device((unsigned int)i); in cache_sysfs_init() local
[all …]
/linux-4.4.14/drivers/mtd/nand/
Dr852.c591 static ssize_t r852_media_type_show(struct device *sys_dev, in r852_media_type_show() argument
594 struct mtd_info *mtd = container_of(sys_dev, struct mtd_info, dev); in r852_media_type_show()
/linux-4.4.14/drivers/net/wireless/
Datmel.c449 struct device *sys_dev; member
1518 struct device *sys_dev, in init_atmel_card() argument
1537 priv->sys_dev = sys_dev; in init_atmel_card()
1603 SET_NETDEV_DEV(dev, sys_dev); in init_atmel_card()
3919 err = request_firmware(&fw_entry, priv->firmware_id, priv->sys_dev); in reset_atmel_card()
3942 if (request_firmware(&fw_entry, priv->firmware_id, priv->sys_dev) == 0) { in reset_atmel_card()