1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct v4l2_flash</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-flash-config.html" title="struct v4l2_flash_config"><link rel="next" href="API-v4l2-flash-init.html" title="v4l2_flash_init"></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_flash</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-v4l2-flash-config.html">Prev</a> </td><th width="60%" align="center">Video2Linux devices</th><td width="20%" align="right"> <a accesskey="n" href="API-v4l2-flash-init.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-v4l2-flash"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct v4l2_flash — 
2     Flash sub-device context
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct v4l2_flash {
5  struct led_classdev_flash * fled_cdev;
6  struct led_classdev_flash * iled_cdev;
7  const struct v4l2_flash_ops * ops;
8  struct v4l2_subdev sd;
9  struct v4l2_ctrl_handler hdl;
10  struct v4l2_ctrl ** ctrls;
11};  </pre></div><div class="refsect1"><a name="id-1.8.2.61.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">fled_cdev</span></dt><dd><p>
12   LED flash class device controlled by this sub-device
13      </p></dd><dt><span class="term">iled_cdev</span></dt><dd><p>
14   LED class device representing indicator LED associated
15   with the LED flash class device
16      </p></dd><dt><span class="term">ops</span></dt><dd><p>
17   V4L2 specific flash ops
18      </p></dd><dt><span class="term">sd</span></dt><dd><p>
19   V4L2 sub-device
20      </p></dd><dt><span class="term">hdl</span></dt><dd><p>
21   flash controls handler
22      </p></dd><dt><span class="term">ctrls</span></dt><dd><p>
23   array of pointers to controls, whose values define
24   the sub-device state
25      </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-flash-config.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-v4l2-flash-init.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct v4l2_flash_config</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">v4l2_flash_init</span></td></tr></table></div></body></html>
26