1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct v4l2_async_notifier</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="mediadev.html#id-1.8.2" title="Video2Linux devices"><link rel="prev" href="API-struct-v4l2-async-subdev.html" title="struct v4l2_async_subdev"><link rel="next" href="API-struct-v4l2-ctrl-ptr.html" title="union v4l2_ctrl_ptr"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct v4l2_async_notifier</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-v4l2-async-subdev.html">Prev</a> </td><th width="60%" align="center">Video2Linux devices</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-v4l2-ctrl-ptr.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-v4l2-async-notifier"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct v4l2_async_notifier — 
2     v4l2_device notifier data
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct v4l2_async_notifier {
5  unsigned int num_subdevs;
6  struct v4l2_async_subdev ** subdevs;
7  struct v4l2_device * v4l2_dev;
8  struct list_head waiting;
9  struct list_head done;
10  struct list_head list;
11  int (* bound) (struct v4l2_async_notifier *notifier,struct v4l2_subdev *subdev,struct v4l2_async_subdev *asd);
12  int (* complete) (struct v4l2_async_notifier *notifier);
13  void (* unbind) (struct v4l2_async_notifier *notifier,struct v4l2_subdev *subdev,struct v4l2_async_subdev *asd);
14};  </pre></div><div class="refsect1"><a name="id-1.8.2.12.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">num_subdevs</span></dt><dd><p>
15   number of subdevices
16      </p></dd><dt><span class="term">subdevs</span></dt><dd><p>
17   array of pointers to subdevice descriptors
18      </p></dd><dt><span class="term">v4l2_dev</span></dt><dd><p>
19   pointer to struct v4l2_device
20      </p></dd><dt><span class="term">waiting</span></dt><dd><p>
21   list of struct v4l2_async_subdev, waiting for their drivers
22      </p></dd><dt><span class="term">done</span></dt><dd><p>
23   list of struct v4l2_subdev, already probed
24      </p></dd><dt><span class="term">list</span></dt><dd><p>
25   member in a global list of notifiers
26      </p></dd><dt><span class="term">bound</span></dt><dd><p>
27   a subdevice driver has successfully probed one of subdevices
28      </p></dd><dt><span class="term">complete</span></dt><dd><p>
29   all subdevices have been probed successfully
30      </p></dd><dt><span class="term">unbind</span></dt><dd><p>
31   a subdevice is leaving
32      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-v4l2-async-subdev.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="mediadev.html#id-1.8.2">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-v4l2-ctrl-ptr.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct v4l2_async_subdev</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">union v4l2_ctrl_ptr</span></td></tr></table></div></body></html>
33