Lines Matching refs:v4l2_dev
64 void (*release)(struct v4l2_device *v4l2_dev);
67 static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) in v4l2_device_get() argument
69 kref_get(&v4l2_dev->ref); in v4l2_device_get()
72 int v4l2_device_put(struct v4l2_device *v4l2_dev);
77 int __must_check v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev);
95 int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename,
101 void v4l2_device_disconnect(struct v4l2_device *v4l2_dev);
104 void v4l2_device_unregister(struct v4l2_device *v4l2_dev);
109 int __must_check v4l2_device_register_subdev(struct v4l2_device *v4l2_dev,
119 v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev);
125 if (sd && sd->v4l2_dev && sd->v4l2_dev->notify) in v4l2_subdev_notify()
126 sd->v4l2_dev->notify(sd, notification, arg); in v4l2_subdev_notify()
130 #define v4l2_device_for_each_subdev(sd, v4l2_dev) \ argument
131 list_for_each_entry(sd, &(v4l2_dev)->subdevs, list)
136 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
138 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) \
143 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
147 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \
155 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
159 list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) { \
168 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
171 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, cond, o, \
178 #define v4l2_device_call_all(v4l2_dev, grpid, o, f, args...) \ argument
182 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, \
191 #define v4l2_device_call_until_err(v4l2_dev, grpid, o, f, args...) \ argument
194 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, \
199 #define v4l2_device_has_op(v4l2_dev, o, f) \ argument
203 list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \