1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct tveeprom</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-enum-tveeprom-audio-processor.html" title="enum tveeprom_audio_processor"><link rel="next" href="API-tveeprom-hauppauge-analog.html" title="tveeprom_hauppauge_analog"></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 tveeprom</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-tveeprom-audio-processor.html">Prev</a> </td><th width="60%" align="center">Video2Linux devices</th><td width="20%" align="right"> <a accesskey="n" href="API-tveeprom-hauppauge-analog.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-tveeprom"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct tveeprom — 
2     Contains the fields parsed from Hauppauge eeproms
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct tveeprom {
5  u32 has_radio;
6  u32 has_ir;
7  u32 has_MAC_address;
8  u32 tuner_type;
9  u32 tuner_formats;
10  u32 tuner_hauppauge_model;
11  u32 tuner2_type;
12  u32 tuner2_formats;
13  u32 tuner2_hauppauge_model;
14  u32 audio_processor;
15  u32 decoder_processor;
16  u32 model;
17  u32 revision;
18  u32 serial_number;
19  char rev_str[5];
20  u8 MAC_address[ETH_ALEN];
21};  </pre></div><div class="refsect1"><a name="id-1.8.2.8.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">has_radio</span></dt><dd><p>
22   1 if the device has radio; 0 otherwise.
23      </p></dd><dt><span class="term">has_ir</span></dt><dd><p>
24   If has_ir == 0, then it is unknown what the IR
25   capabilities are. Otherwise:
26   bit 0) 1 (= IR capabilities are known);
27   bit 1) IR receiver present;
28   bit 2) IR transmitter (blaster) present.
29      </p></dd><dt><span class="term">has_MAC_address</span></dt><dd><p>
30   0: no MAC, 1: MAC present, 2: unknown.
31      </p></dd><dt><span class="term">tuner_type</span></dt><dd><p>
32   type of the tuner (TUNER_*, as defined at
33   include/media/tuner.h).
34      </p></dd><dt><span class="term">tuner_formats</span></dt><dd><p>
35   Supported analog TV standards (V4L2_STD_*).
36      </p></dd><dt><span class="term">tuner_hauppauge_model</span></dt><dd><p>
37   Hauppauge's code for the device model number.
38      </p></dd><dt><span class="term">tuner2_type</span></dt><dd><p>
39   type of the second tuner (TUNER_*, as defined
40   at include/media/tuner.h).
41      </p></dd><dt><span class="term">tuner2_formats</span></dt><dd><p>
42   Tuner 2 supported analog TV standards
43   (V4L2_STD_*).
44      </p></dd><dt><span class="term">tuner2_hauppauge_model</span></dt><dd><p>
45   tuner 2 Hauppauge's code for the device model
46   number.
47      </p></dd><dt><span class="term">audio_processor</span></dt><dd><p>
48   analog audio decoder, as defined by enum
49   tveeprom_audio_processor.
50      </p></dd><dt><span class="term">decoder_processor</span></dt><dd><p>
51   Hauppauge's code for the decoder chipset.
52   Unused by the drivers, as they probe the
53   decoder based on the PCI or USB ID.
54      </p></dd><dt><span class="term">model</span></dt><dd><p>
55   Hauppauge's model number
56      </p></dd><dt><span class="term">revision</span></dt><dd><p>
57   Card revision number
58      </p></dd><dt><span class="term">serial_number</span></dt><dd><p>
59   Card's serial number
60      </p></dd><dt><span class="term">rev_str[5]</span></dt><dd><p>
61   Card revision converted to number
62      </p></dd><dt><span class="term">MAC_address[ETH_ALEN]</span></dt><dd><p>
63   MAC address for the network interface
64      </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-enum-tveeprom-audio-processor.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-tveeprom-hauppauge-analog.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">enum tveeprom_audio_processor</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">tveeprom_hauppauge_analog</span></td></tr></table></div></body></html>
65