Lines Matching refs:shark_device
60 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev)
65 struct shark_device { struct
86 struct shark_device *shark = tea->private_data; in shark_write_val() argument
110 struct shark_device *shark = tea->private_data; in shark_read_val()
161 struct shark_device *shark = in shark_led_work()
162 container_of(work, struct shark_device, led_work); in shark_led_work()
189 struct shark_device *shark = in shark_led_set_blue()
190 container_of(led_cdev, struct shark_device, leds[BLUE_LED]); in shark_led_set_blue()
201 struct shark_device *shark = container_of(led_cdev, in shark_led_set_blue_pulse()
202 struct shark_device, leds[BLUE_PULSE_LED]); in shark_led_set_blue_pulse()
213 struct shark_device *shark = in shark_led_set_red()
214 container_of(led_cdev, struct shark_device, leds[RED_LED]); in shark_led_set_red()
242 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds()
264 static void shark_unregister_leds(struct shark_device *shark) in shark_unregister_leds()
274 static inline void shark_resume_leds(struct shark_device *shark) in shark_resume_leds()
284 static int shark_register_leds(struct shark_device *shark, struct device *dev) in shark_register_leds()
290 static inline void shark_unregister_leds(struct shark_device *shark) { } in shark_unregister_leds()
291 static inline void shark_resume_leds(struct shark_device *shark) { } in shark_resume_leds()
297 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_disconnect()
311 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_release()
321 struct shark_device *shark; in usb_shark_probe()
324 shark = kzalloc(sizeof(struct shark_device), GFP_KERNEL); in usb_shark_probe()
386 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); in usb_shark_resume()