This file is indexed.

/usr/share/doc/libcomedi-dev/html/func-ref-comedi-set-gate-source.html is in libcomedi-dev 0.10.2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>comedi_set_gate_source</title><link rel="stylesheet" type="text/css" href="comedilib.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Comedi"><link rel="up" href="functionreference.html#idp62348928" title="5.4.6.&#160;Extensions"><link rel="prev" href="func-ref-comedi-set-filter.html" title="comedi_set_filter"><link rel="next" href="func-ref-comedi-set-other-source.html" title="comedi_set_other_source"></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">comedi_set_gate_source</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="func-ref-comedi-set-filter.html">Prev</a>&#160;</td><th width="60%" align="center">5.4.6.&#160;Extensions</th><td width="20%" align="right">&#160;<a accesskey="n" href="func-ref-comedi-set-other-source.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="func-ref-comedi-set-gate-source"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>comedi_set_gate_source &#8212; select gate source for a subdevice</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;comedilib.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">comedi_set_gate_source</b>(</code></td><td>comedi_t * <var class="pdparam">device</var>, </td></tr><tr><td>&#160;</td><td>unsigned int <var class="pdparam">subdevice</var>, </td></tr><tr><td>&#160;</td><td>unsigned int <var class="pdparam">channel</var>, </td></tr><tr><td>&#160;</td><td>unsigned int <var class="pdparam">gate_index</var>, </td></tr><tr><td>&#160;</td><td>unsigned int <var class="pdparam">gate_source</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idp65275136"></a><h2>
      Status
    </h2><p>
	  alpha
    </p></div><div class="refsect1"><a name="idp63960528"></a><h2>
      Description
    </h2><p>
This function selects a gate source for a subdevice.  The
<em class="parameter"><code>gate_index</code></em>
parameter selects which gate is being configured, should the subdevice have
multiple gates.  It takes a value
from 0 to N-1 for a subdevice with N different gates.
The <em class="parameter"><code>gate_source</code></em> parameter selects which signal you wish to
use as
the gate, and is also driver-dependent.  If the subdevice does not
support configuring its gates on a per-channel basis, then the
<em class="parameter"><code>channel</code></em> parameter will be ignored.
</p><p>
You may query the gate source with the
<code class="function"><a class="link" href="func-ref-comedi-get-gate-source.html" title="comedi_get_gate_source">comedi_get_gate_source</a></code>
function.
This function is only useable
on subdevices that provide support for the
<code class="constant">INSN_CONFIG_SET_GATE_SOURCE</code>
configuration instruction.
    </p></div><div class="refsect1"><a name="idp62739376"></a><h2>
      Return value
    </h2><p>
<code class="literal">0</code> on success, <code class="literal">-1</code> on error.
</p><p>
    </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="func-ref-comedi-set-filter.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="functionreference.html#idp62348928">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="func-ref-comedi-set-other-source.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">comedi_set_filter&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;comedi_set_other_source</td></tr></table></div></body></html>