Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 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 Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 7 | #ifndef _CEC_UAPI_FUNCS_H |
| 8 | #define _CEC_UAPI_FUNCS_H |
| 9 | #include <linux/cec.h> |
| 10 | struct cec_op_arib_data { |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 11 | __u16 transport_id; |
| 12 | __u16 service_id; |
| 13 | __u16 orig_network_id; |
| 14 | }; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 15 | struct cec_op_atsc_data { |
| 16 | __u16 transport_id; |
| 17 | __u16 program_number; |
| 18 | }; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 19 | struct cec_op_dvb_data { |
| 20 | __u16 transport_id; |
| 21 | __u16 service_id; |
| 22 | __u16 orig_network_id; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 23 | }; |
| 24 | struct cec_op_channel_data { |
| 25 | __u8 channel_number_fmt; |
| 26 | __u16 major; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 27 | __u16 minor; |
| 28 | }; |
| 29 | struct cec_op_digital_service_id { |
| 30 | __u8 service_id_method; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 31 | __u8 dig_bcast_system; |
| 32 | union { |
| 33 | struct cec_op_arib_data arib; |
| 34 | struct cec_op_atsc_data atsc; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 35 | struct cec_op_dvb_data dvb; |
| 36 | struct cec_op_channel_data channel; |
| 37 | }; |
| 38 | }; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 39 | struct cec_op_record_src { |
| 40 | __u8 type; |
| 41 | union { |
| 42 | struct cec_op_digital_service_id digital; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 43 | struct { |
| 44 | __u8 ana_bcast_type; |
| 45 | __u16 ana_freq; |
| 46 | __u8 bcast_system; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 47 | } analog; |
| 48 | struct { |
| 49 | __u8 plug; |
| 50 | } ext_plug; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 51 | struct { |
| 52 | __u16 phys_addr; |
| 53 | } ext_phys_addr; |
| 54 | }; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 55 | }; |
| 56 | struct cec_op_tuner_device_info { |
| 57 | __u8 rec_flag; |
| 58 | __u8 tuner_display_info; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 59 | __u8 is_analog; |
| 60 | union { |
| 61 | struct cec_op_digital_service_id digital; |
| 62 | struct { |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 63 | __u8 ana_bcast_type; |
| 64 | __u16 ana_freq; |
| 65 | __u8 bcast_system; |
| 66 | } analog; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 67 | }; |
| 68 | }; |
| 69 | struct cec_op_ui_command { |
| 70 | __u8 ui_cmd; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 71 | __u8 has_opt_arg; |
| 72 | union { |
| 73 | struct cec_op_channel_data channel_identifier; |
| 74 | __u8 ui_broadcast_type; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 75 | __u8 ui_sound_presentation_control; |
| 76 | __u8 play_mode; |
| 77 | __u8 ui_function_media; |
| 78 | __u8 ui_function_select_av_input; |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 79 | __u8 ui_function_select_audio_input; |
| 80 | }; |
| 81 | }; |
| 82 | #endif |