Lines Matching refs:shark_device

56 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev)
61 struct shark_device { struct
82 struct shark_device *shark = tea->private_data; in shark_write_val() argument
106 struct shark_device *shark = tea->private_data; in shark_read_val()
157 struct shark_device *shark = in shark_led_work()
158 container_of(work, struct shark_device, led_work); in shark_led_work()
185 struct shark_device *shark = in shark_led_set_blue()
186 container_of(led_cdev, struct shark_device, leds[BLUE_LED]); in shark_led_set_blue()
197 struct shark_device *shark = container_of(led_cdev, in shark_led_set_blue_pulse()
198 struct shark_device, leds[BLUE_PULSE_LED]); in shark_led_set_blue_pulse()
209 struct shark_device *shark = in shark_led_set_red()
210 container_of(led_cdev, struct shark_device, leds[RED_LED]); in shark_led_set_red()
238 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds()
260 static void shark_unregister_leds(struct shark_device *shark) in shark_unregister_leds()
270 static inline void shark_resume_leds(struct shark_device *shark) in shark_resume_leds()
280 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds()
286 static inline void shark_unregister_leds(struct shark_device *shark) { } in shark_unregister_leds()
287 static inline void shark_resume_leds(struct shark_device *shark) { } in shark_resume_leds()
293 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_disconnect()
307 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_release()
317 struct shark_device *shark; in usb_shark_probe()
330 shark = kzalloc(sizeof(struct shark_device), GFP_KERNEL); in usb_shark_probe()
392 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_resume()