Lines Matching refs:v4l2_dev

70 	void (*release)(struct v4l2_device *v4l2_dev);
81 static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) in v4l2_device_get() argument
83 kref_get(&v4l2_dev->ref); in v4l2_device_get()
94 int v4l2_device_put(struct v4l2_device *v4l2_dev);
109 struct v4l2_device *v4l2_dev);
138 int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename,
152 void v4l2_device_disconnect(struct v4l2_device *v4l2_dev);
160 void v4l2_device_unregister(struct v4l2_device *v4l2_dev);
173 int __must_check v4l2_device_register_subdev(struct v4l2_device *v4l2_dev,
196 v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev);
210 if (sd && sd->v4l2_dev && sd->v4l2_dev->notify) in v4l2_subdev_notify()
211 sd->v4l2_dev->notify(sd, notification, arg); in v4l2_subdev_notify()
228 #define v4l2_device_for_each_subdev(sd, v4l2_dev) \ argument
229 list_for_each_entry(sd, &(v4l2_dev)->subdevs, list)
251 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
253 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) \
276 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
280 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \
308 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
312 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) { \
343 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
346 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, cond, o, \
370 #define v4l2_device_call_all(v4l2_dev, grpid, o, f, args...) \ argument
374 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, \
403 #define v4l2_device_call_until_err(v4l2_dev, grpid, o, f, args...) \ argument
406 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, \
430 #define v4l2_device_mask_call_all(v4l2_dev, grpmsk, o, f, args...) \ argument
434 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, \
462 #define v4l2_device_mask_call_until_err(v4l2_dev, grpmsk, o, f, args...) \ argument
465 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, \
484 #define v4l2_device_has_op(v4l2_dev, grpid, o, f) \ argument
488 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \
512 #define v4l2_device_mask_has_op(v4l2_dev, grpmsk, o, f) \ argument
516 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \