Lines Matching refs:sys_dev
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()
79 static ssize_t ir_camera_on_store(struct device *sys_dev, in ir_camera_on_store() argument
83 struct usb_cam_gpio *gpiod = container_of(sys_dev, in ir_camera_on_store()
84 struct usb_cam_gpio, sys_dev); in ir_camera_on_store()
109 struct device *dev = &gpiod->sys_dev; in usb_cam_gpio_device_register()