Searched refs:shark_device (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/radio/
H A Dradio-shark2.c57 #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; shark_write_reg()
106 struct shark_device *shark = tea->private_data; shark_read_reg()
148 struct shark_device *shark = shark_led_work()
149 container_of(work, struct shark_device, led_work); shark_led_work()
174 struct shark_device *shark = shark_led_set_blue()
175 container_of(led_cdev, struct shark_device, leds[BLUE_LED]); shark_led_set_blue()
185 struct shark_device *shark = shark_led_set_red()
186 container_of(led_cdev, struct shark_device, leds[RED_LED]); shark_led_set_red()
208 static int shark_register_leds(struct shark_device *shark, struct device *dev) shark_register_leds()
230 static void shark_unregister_leds(struct shark_device *shark) shark_unregister_leds()
240 static inline void shark_resume_leds(struct shark_device *shark) shark_resume_leds()
250 static int shark_register_leds(struct shark_device *shark, struct device *dev) shark_register_leds()
256 static inline void shark_unregister_leds(struct shark_device *shark) { } shark_resume_leds()
257 static inline void shark_resume_leds(struct shark_device *shark) { } shark_resume_leds()
263 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); usb_shark_disconnect()
277 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); usb_shark_release()
287 struct shark_device *shark; usb_shark_probe()
290 shark = kzalloc(sizeof(struct shark_device), GFP_KERNEL); usb_shark_probe()
351 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); usb_shark_resume()
H A Dradio-shark.c60 #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; shark_write_val()
110 struct shark_device *shark = tea->private_data; shark_read_val()
161 struct shark_device *shark = shark_led_work()
162 container_of(work, struct shark_device, led_work); shark_led_work()
189 struct shark_device *shark = shark_led_set_blue()
190 container_of(led_cdev, struct shark_device, leds[BLUE_LED]); shark_led_set_blue()
201 struct shark_device *shark = container_of(led_cdev, shark_led_set_blue_pulse()
202 struct shark_device, leds[BLUE_PULSE_LED]); shark_led_set_blue_pulse()
213 struct shark_device *shark = shark_led_set_red()
214 container_of(led_cdev, struct shark_device, leds[RED_LED]); shark_led_set_red()
242 static int shark_register_leds(struct shark_device *shark, struct device *dev) shark_register_leds()
264 static void shark_unregister_leds(struct shark_device *shark) shark_unregister_leds()
274 static inline void shark_resume_leds(struct shark_device *shark) shark_resume_leds()
284 static int shark_register_leds(struct shark_device *shark, struct device *dev) shark_register_leds()
290 static inline void shark_unregister_leds(struct shark_device *shark) { } shark_resume_leds()
291 static inline void shark_resume_leds(struct shark_device *shark) { } shark_resume_leds()
297 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); usb_shark_disconnect()
311 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); usb_shark_release()
321 struct shark_device *shark; usb_shark_probe()
324 shark = kzalloc(sizeof(struct shark_device), GFP_KERNEL); usb_shark_probe()
386 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); usb_shark_resume()

Completed in 34 milliseconds