Lines Matching refs:shark_device
53 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev)
57 struct shark_device { struct
77 struct shark_device *shark = tea->private_data; in shark_write_reg() argument
102 struct shark_device *shark = tea->private_data; in shark_read_reg()
144 struct shark_device *shark = in shark_led_work()
145 container_of(work, struct shark_device, led_work); in shark_led_work()
170 struct shark_device *shark = in shark_led_set_blue()
171 container_of(led_cdev, struct shark_device, leds[BLUE_LED]); in shark_led_set_blue()
181 struct shark_device *shark = in shark_led_set_red()
182 container_of(led_cdev, struct shark_device, leds[RED_LED]); in shark_led_set_red()
204 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds()
226 static void shark_unregister_leds(struct shark_device *shark) in shark_unregister_leds()
236 static inline void shark_resume_leds(struct shark_device *shark) in shark_resume_leds()
246 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds()
252 static inline void shark_unregister_leds(struct shark_device *shark) { } in shark_unregister_leds()
253 static inline void shark_resume_leds(struct shark_device *shark) { } in shark_resume_leds()
259 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_disconnect()
273 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_release()
283 struct shark_device *shark; in usb_shark_probe()
296 shark = kzalloc(sizeof(struct shark_device), GFP_KERNEL); in usb_shark_probe()
357 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_resume()