blob: 511673dcb927ceaab5d2987994e316d518b926b2 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferris48af7cb2017-02-21 12:35:09 -08007#ifndef _CEC_UAPI_FUNCS_H
8#define _CEC_UAPI_FUNCS_H
9#include <linux/cec.h>
10struct cec_op_arib_data {
Christopher Ferris48af7cb2017-02-21 12:35:09 -080011 __u16 transport_id;
12 __u16 service_id;
13 __u16 orig_network_id;
14};
Christopher Ferris48af7cb2017-02-21 12:35:09 -080015struct cec_op_atsc_data {
16 __u16 transport_id;
17 __u16 program_number;
18};
Christopher Ferris48af7cb2017-02-21 12:35:09 -080019struct cec_op_dvb_data {
20 __u16 transport_id;
21 __u16 service_id;
22 __u16 orig_network_id;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080023};
24struct cec_op_channel_data {
25 __u8 channel_number_fmt;
26 __u16 major;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080027 __u16 minor;
28};
29struct cec_op_digital_service_id {
30 __u8 service_id_method;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080031 __u8 dig_bcast_system;
32 union {
33 struct cec_op_arib_data arib;
34 struct cec_op_atsc_data atsc;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080035 struct cec_op_dvb_data dvb;
36 struct cec_op_channel_data channel;
37 };
38};
Christopher Ferris48af7cb2017-02-21 12:35:09 -080039struct cec_op_record_src {
40 __u8 type;
41 union {
42 struct cec_op_digital_service_id digital;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080043 struct {
44 __u8 ana_bcast_type;
45 __u16 ana_freq;
46 __u8 bcast_system;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080047 } analog;
48 struct {
49 __u8 plug;
50 } ext_plug;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080051 struct {
52 __u16 phys_addr;
53 } ext_phys_addr;
54 };
Christopher Ferris48af7cb2017-02-21 12:35:09 -080055};
56struct cec_op_tuner_device_info {
57 __u8 rec_flag;
58 __u8 tuner_display_info;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080059 __u8 is_analog;
60 union {
61 struct cec_op_digital_service_id digital;
62 struct {
Christopher Ferris48af7cb2017-02-21 12:35:09 -080063 __u8 ana_bcast_type;
64 __u16 ana_freq;
65 __u8 bcast_system;
66 } analog;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080067 };
68};
69struct cec_op_ui_command {
70 __u8 ui_cmd;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080071 __u8 has_opt_arg;
72 union {
73 struct cec_op_channel_data channel_identifier;
74 __u8 ui_broadcast_type;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080075 __u8 ui_sound_presentation_control;
76 __u8 play_mode;
77 __u8 ui_function_media;
78 __u8 ui_function_select_av_input;
Christopher Ferris48af7cb2017-02-21 12:35:09 -080079 __u8 ui_function_select_audio_input;
80 };
81};
82#endif