Lines Matching refs:shark_device
57 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev)
61 struct shark_device { struct
81 struct shark_device *shark = tea->private_data; in shark_write_reg() argument
106 struct shark_device *shark = tea->private_data; in shark_read_reg()
148 struct shark_device *shark = in shark_led_work()
149 container_of(work, struct shark_device, led_work); in shark_led_work()
174 struct shark_device *shark = in shark_led_set_blue()
175 container_of(led_cdev, struct shark_device, leds[BLUE_LED]); in shark_led_set_blue()
185 struct shark_device *shark = in shark_led_set_red()
186 container_of(led_cdev, struct shark_device, leds[RED_LED]); in shark_led_set_red()
208 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds()
230 static void shark_unregister_leds(struct shark_device *shark) in shark_unregister_leds()
240 static inline void shark_resume_leds(struct shark_device *shark) in shark_resume_leds()
250 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds()
256 static inline void shark_unregister_leds(struct shark_device *shark) { } in shark_unregister_leds()
257 static inline void shark_resume_leds(struct shark_device *shark) { } in shark_resume_leds()
263 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_disconnect()
277 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_release()
287 struct shark_device *shark; in usb_shark_probe()
290 shark = kzalloc(sizeof(struct shark_device), GFP_KERNEL); in usb_shark_probe()
351 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_resume()