Searched refs:sys_dev (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | usb_cam_gpio.c | 33 struct device sys_dev; member 39 static ssize_t hd_camera_on_show(struct device *sys_dev, in hd_camera_on_show() argument 43 struct usb_cam_gpio *gpiod = container_of(sys_dev, struct usb_cam_gpio, in hd_camera_on_show() 44 sys_dev); in hd_camera_on_show() 49 static ssize_t hd_camera_on_store(struct device *sys_dev, in hd_camera_on_store() argument 53 struct usb_cam_gpio *gpiod = container_of(sys_dev, struct usb_cam_gpio, in hd_camera_on_store() 54 sys_dev); in hd_camera_on_store() 69 static ssize_t ir_camera_on_show(struct device *sys_dev, in ir_camera_on_show() argument 73 struct usb_cam_gpio *gpiod = container_of(sys_dev, in ir_camera_on_show() 74 struct usb_cam_gpio, sys_dev); in ir_camera_on_show() [all …]
|
| /OK3568_Linux_fs/kernel/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 | 350 struct device *sys_dev = get_cpu_device(cpu); in cache_add_dev() local 364 &cache_ktype_percpu_entry, &sys_dev->kobj, in cache_add_dev()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | r852.c | 586 static ssize_t r852_media_type_show(struct device *sys_dev, in r852_media_type_show() argument 589 struct mtd_info *mtd = container_of(sys_dev, struct mtd_info, dev); in r852_media_type_show()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/atmel/ |
| H A D | atmel.c | 449 struct device *sys_dev; member 1497 struct device *sys_dev, in init_atmel_card() argument 1516 priv->sys_dev = sys_dev; in init_atmel_card() 1583 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()
|