Searched refs:sys_dev (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/ia64/kernel/ |
H A D | err_inject.c | 229 struct device *sys_dev = get_cpu_device(cpu); in err_inject_add_dev() local 231 return sysfs_create_group(&sys_dev->kobj, &err_inject_attr_group); in err_inject_add_dev() 236 struct device *sys_dev = get_cpu_device(cpu); in err_inject_remove_dev() local 238 sysfs_remove_group(&sys_dev->kobj, &err_inject_attr_group); in err_inject_remove_dev()
|
H A D | topology.c | 340 struct device *sys_dev = get_cpu_device(cpu); in cache_add_dev() local 354 &cache_ktype_percpu_entry, &sys_dev->kobj, in cache_add_dev()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | r852.c | 586 static ssize_t media_type_show(struct device *sys_dev, in media_type_show() argument 589 struct mtd_info *mtd = container_of(sys_dev, struct mtd_info, dev); in media_type_show()
|
/openbmc/linux/drivers/net/wireless/atmel/ |
H A D | atmel.c | 448 struct device *sys_dev; member 1496 struct device *sys_dev, in init_atmel_card() argument 1515 priv->sys_dev = sys_dev; in init_atmel_card() 1582 SET_NETDEV_DEV(dev, sys_dev); in init_atmel_card() 3894 err = request_firmware(&fw_entry, priv->firmware_id, priv->sys_dev); in reset_atmel_card() 3917 if (request_firmware(&fw_entry, priv->firmware_id, priv->sys_dev) == 0) { in reset_atmel_card()
|