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