blob: e0daea2a3421d6a578bdd88ff788b95b58782b7a [file] [log] [blame]
Christopher Ferris48af7cb2017-02-21 12:35:09 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _CEC_UAPI_FUNCS_H
20#define _CEC_UAPI_FUNCS_H
21#include <linux/cec.h>
22struct cec_op_arib_data {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 __u16 transport_id;
25 __u16 service_id;
26 __u16 orig_network_id;
27};
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29struct cec_op_atsc_data {
30 __u16 transport_id;
31 __u16 program_number;
32};
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34struct cec_op_dvb_data {
35 __u16 transport_id;
36 __u16 service_id;
37 __u16 orig_network_id;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39};
40struct cec_op_channel_data {
41 __u8 channel_number_fmt;
42 __u16 major;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 __u16 minor;
45};
46struct cec_op_digital_service_id {
47 __u8 service_id_method;
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 __u8 dig_bcast_system;
50 union {
51 struct cec_op_arib_data arib;
52 struct cec_op_atsc_data atsc;
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 struct cec_op_dvb_data dvb;
55 struct cec_op_channel_data channel;
56 };
57};
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59struct cec_op_record_src {
60 __u8 type;
61 union {
62 struct cec_op_digital_service_id digital;
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 struct {
65 __u8 ana_bcast_type;
66 __u16 ana_freq;
67 __u8 bcast_system;
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 } analog;
70 struct {
71 __u8 plug;
72 } ext_plug;
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 struct {
75 __u16 phys_addr;
76 } ext_phys_addr;
77 };
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79};
80struct cec_op_tuner_device_info {
81 __u8 rec_flag;
82 __u8 tuner_display_info;
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 __u8 is_analog;
85 union {
86 struct cec_op_digital_service_id digital;
87 struct {
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 __u8 ana_bcast_type;
90 __u16 ana_freq;
91 __u8 bcast_system;
92 } analog;
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 };
95};
96struct cec_op_ui_command {
97 __u8 ui_cmd;
98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 __u8 has_opt_arg;
100 union {
101 struct cec_op_channel_data channel_identifier;
102 __u8 ui_broadcast_type;
103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 __u8 ui_sound_presentation_control;
105 __u8 play_mode;
106 __u8 ui_function_media;
107 __u8 ui_function_select_av_input;
108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 __u8 ui_function_select_audio_input;
110 };
111};
112#endif
113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */