Lines Matching defs:shark_device
53 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev)
57 struct shark_device {
77 struct shark_device *shark = tea->private_data;
102 struct shark_device *shark = tea->private_data;
144 struct shark_device *shark =
145 container_of(work, struct shark_device, led_work);
170 struct shark_device *shark =
171 container_of(led_cdev, struct shark_device, leds[BLUE_LED]);
181 struct shark_device *shark =
182 container_of(led_cdev, struct shark_device, leds[RED_LED]);
204 static int shark_register_leds(struct shark_device *shark, struct device *dev)
226 static void shark_unregister_leds(struct shark_device *shark)
236 static inline void shark_resume_leds(struct shark_device *shark)
246 static int shark_register_leds(struct shark_device *shark, struct device *dev)
252 static inline void shark_unregister_leds(struct shark_device *shark) { }
253 static inline void shark_resume_leds(struct shark_device *shark) { }
259 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev);
273 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev);
283 struct shark_device *shark;
296 shark = kzalloc(sizeof(struct shark_device), GFP_KERNEL);
357 struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev);