1*8d67ca89SAndroid Build Coastguard Worker /* 2*8d67ca89SAndroid Build Coastguard Worker * This file is auto-generated. Modifications will be lost. 3*8d67ca89SAndroid Build Coastguard Worker * 4*8d67ca89SAndroid Build Coastguard Worker * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5*8d67ca89SAndroid Build Coastguard Worker * for more information. 6*8d67ca89SAndroid Build Coastguard Worker */ 7*8d67ca89SAndroid Build Coastguard Worker #ifndef _CEC_UAPI_FUNCS_H 8*8d67ca89SAndroid Build Coastguard Worker #define _CEC_UAPI_FUNCS_H 9*8d67ca89SAndroid Build Coastguard Worker #include <linux/cec.h> 10*8d67ca89SAndroid Build Coastguard Worker struct cec_op_arib_data { 11*8d67ca89SAndroid Build Coastguard Worker __u16 transport_id; 12*8d67ca89SAndroid Build Coastguard Worker __u16 service_id; 13*8d67ca89SAndroid Build Coastguard Worker __u16 orig_network_id; 14*8d67ca89SAndroid Build Coastguard Worker }; 15*8d67ca89SAndroid Build Coastguard Worker struct cec_op_atsc_data { 16*8d67ca89SAndroid Build Coastguard Worker __u16 transport_id; 17*8d67ca89SAndroid Build Coastguard Worker __u16 program_number; 18*8d67ca89SAndroid Build Coastguard Worker }; 19*8d67ca89SAndroid Build Coastguard Worker struct cec_op_dvb_data { 20*8d67ca89SAndroid Build Coastguard Worker __u16 transport_id; 21*8d67ca89SAndroid Build Coastguard Worker __u16 service_id; 22*8d67ca89SAndroid Build Coastguard Worker __u16 orig_network_id; 23*8d67ca89SAndroid Build Coastguard Worker }; 24*8d67ca89SAndroid Build Coastguard Worker struct cec_op_channel_data { 25*8d67ca89SAndroid Build Coastguard Worker __u8 channel_number_fmt; 26*8d67ca89SAndroid Build Coastguard Worker __u16 major; 27*8d67ca89SAndroid Build Coastguard Worker __u16 minor; 28*8d67ca89SAndroid Build Coastguard Worker }; 29*8d67ca89SAndroid Build Coastguard Worker struct cec_op_digital_service_id { 30*8d67ca89SAndroid Build Coastguard Worker __u8 service_id_method; 31*8d67ca89SAndroid Build Coastguard Worker __u8 dig_bcast_system; 32*8d67ca89SAndroid Build Coastguard Worker union { 33*8d67ca89SAndroid Build Coastguard Worker struct cec_op_arib_data arib; 34*8d67ca89SAndroid Build Coastguard Worker struct cec_op_atsc_data atsc; 35*8d67ca89SAndroid Build Coastguard Worker struct cec_op_dvb_data dvb; 36*8d67ca89SAndroid Build Coastguard Worker struct cec_op_channel_data channel; 37*8d67ca89SAndroid Build Coastguard Worker }; 38*8d67ca89SAndroid Build Coastguard Worker }; 39*8d67ca89SAndroid Build Coastguard Worker struct cec_op_record_src { 40*8d67ca89SAndroid Build Coastguard Worker __u8 type; 41*8d67ca89SAndroid Build Coastguard Worker union { 42*8d67ca89SAndroid Build Coastguard Worker struct cec_op_digital_service_id digital; 43*8d67ca89SAndroid Build Coastguard Worker struct { 44*8d67ca89SAndroid Build Coastguard Worker __u8 ana_bcast_type; 45*8d67ca89SAndroid Build Coastguard Worker __u16 ana_freq; 46*8d67ca89SAndroid Build Coastguard Worker __u8 bcast_system; 47*8d67ca89SAndroid Build Coastguard Worker } analog; 48*8d67ca89SAndroid Build Coastguard Worker struct { 49*8d67ca89SAndroid Build Coastguard Worker __u8 plug; 50*8d67ca89SAndroid Build Coastguard Worker } ext_plug; 51*8d67ca89SAndroid Build Coastguard Worker struct { 52*8d67ca89SAndroid Build Coastguard Worker __u16 phys_addr; 53*8d67ca89SAndroid Build Coastguard Worker } ext_phys_addr; 54*8d67ca89SAndroid Build Coastguard Worker }; 55*8d67ca89SAndroid Build Coastguard Worker }; 56*8d67ca89SAndroid Build Coastguard Worker struct cec_op_tuner_device_info { 57*8d67ca89SAndroid Build Coastguard Worker __u8 rec_flag; 58*8d67ca89SAndroid Build Coastguard Worker __u8 tuner_display_info; 59*8d67ca89SAndroid Build Coastguard Worker __u8 is_analog; 60*8d67ca89SAndroid Build Coastguard Worker union { 61*8d67ca89SAndroid Build Coastguard Worker struct cec_op_digital_service_id digital; 62*8d67ca89SAndroid Build Coastguard Worker struct { 63*8d67ca89SAndroid Build Coastguard Worker __u8 ana_bcast_type; 64*8d67ca89SAndroid Build Coastguard Worker __u16 ana_freq; 65*8d67ca89SAndroid Build Coastguard Worker __u8 bcast_system; 66*8d67ca89SAndroid Build Coastguard Worker } analog; 67*8d67ca89SAndroid Build Coastguard Worker }; 68*8d67ca89SAndroid Build Coastguard Worker }; 69*8d67ca89SAndroid Build Coastguard Worker struct cec_op_ui_command { 70*8d67ca89SAndroid Build Coastguard Worker __u8 ui_cmd; 71*8d67ca89SAndroid Build Coastguard Worker __u8 has_opt_arg; 72*8d67ca89SAndroid Build Coastguard Worker union { 73*8d67ca89SAndroid Build Coastguard Worker struct cec_op_channel_data channel_identifier; 74*8d67ca89SAndroid Build Coastguard Worker __u8 ui_broadcast_type; 75*8d67ca89SAndroid Build Coastguard Worker __u8 ui_sound_presentation_control; 76*8d67ca89SAndroid Build Coastguard Worker __u8 play_mode; 77*8d67ca89SAndroid Build Coastguard Worker __u8 ui_function_media; 78*8d67ca89SAndroid Build Coastguard Worker __u8 ui_function_select_av_input; 79*8d67ca89SAndroid Build Coastguard Worker __u8 ui_function_select_audio_input; 80*8d67ca89SAndroid Build Coastguard Worker }; 81*8d67ca89SAndroid Build Coastguard Worker }; 82*8d67ca89SAndroid Build Coastguard Worker #endif 83