#ifndef _CEC_UAPI_H
#define _CEC_UAPI_H
#include <linux/types.h>
#include <linux/string.h>
#define CEC_MAX_MSG_SIZE …
struct cec_msg { … };
static inline __u8 cec_msg_initiator(const struct cec_msg *msg)
{ … }
static inline __u8 cec_msg_destination(const struct cec_msg *msg)
{ … }
static inline int cec_msg_opcode(const struct cec_msg *msg)
{ … }
static inline int cec_msg_is_broadcast(const struct cec_msg *msg)
{ … }
static inline void cec_msg_init(struct cec_msg *msg,
__u8 initiator, __u8 destination)
{ … }
static inline void cec_msg_set_reply_to(struct cec_msg *msg,
struct cec_msg *orig)
{ … }
static inline int cec_msg_recv_is_tx_result(const struct cec_msg *msg)
{ … }
static inline int cec_msg_recv_is_rx_result(const struct cec_msg *msg)
{ … }
#define CEC_MSG_FL_REPLY_TO_FOLLOWERS …
#define CEC_MSG_FL_RAW …
#define CEC_TX_STATUS_OK …
#define CEC_TX_STATUS_ARB_LOST …
#define CEC_TX_STATUS_NACK …
#define CEC_TX_STATUS_LOW_DRIVE …
#define CEC_TX_STATUS_ERROR …
#define CEC_TX_STATUS_MAX_RETRIES …
#define CEC_TX_STATUS_ABORTED …
#define CEC_TX_STATUS_TIMEOUT …
#define CEC_RX_STATUS_OK …
#define CEC_RX_STATUS_TIMEOUT …
#define CEC_RX_STATUS_FEATURE_ABORT …
#define CEC_RX_STATUS_ABORTED …
static inline int cec_msg_status_is_ok(const struct cec_msg *msg)
{ … }
#define CEC_LOG_ADDR_INVALID …
#define CEC_PHYS_ADDR_INVALID …
#define CEC_MAX_LOG_ADDRS …
#define CEC_LOG_ADDR_TV …
#define CEC_LOG_ADDR_RECORD_1 …
#define CEC_LOG_ADDR_RECORD_2 …
#define CEC_LOG_ADDR_TUNER_1 …
#define CEC_LOG_ADDR_PLAYBACK_1 …
#define CEC_LOG_ADDR_AUDIOSYSTEM …
#define CEC_LOG_ADDR_TUNER_2 …
#define CEC_LOG_ADDR_TUNER_3 …
#define CEC_LOG_ADDR_PLAYBACK_2 …
#define CEC_LOG_ADDR_RECORD_3 …
#define CEC_LOG_ADDR_TUNER_4 …
#define CEC_LOG_ADDR_PLAYBACK_3 …
#define CEC_LOG_ADDR_BACKUP_1 …
#define CEC_LOG_ADDR_BACKUP_2 …
#define CEC_LOG_ADDR_SPECIFIC …
#define CEC_LOG_ADDR_UNREGISTERED …
#define CEC_LOG_ADDR_BROADCAST …
#define CEC_LOG_ADDR_TYPE_TV …
#define CEC_LOG_ADDR_TYPE_RECORD …
#define CEC_LOG_ADDR_TYPE_TUNER …
#define CEC_LOG_ADDR_TYPE_PLAYBACK …
#define CEC_LOG_ADDR_TYPE_AUDIOSYSTEM …
#define CEC_LOG_ADDR_TYPE_SPECIFIC …
#define CEC_LOG_ADDR_TYPE_UNREGISTERED …
#define CEC_LOG_ADDR_MASK_TV …
#define CEC_LOG_ADDR_MASK_RECORD …
#define CEC_LOG_ADDR_MASK_TUNER …
#define CEC_LOG_ADDR_MASK_PLAYBACK …
#define CEC_LOG_ADDR_MASK_AUDIOSYSTEM …
#define CEC_LOG_ADDR_MASK_BACKUP …
#define CEC_LOG_ADDR_MASK_SPECIFIC …
#define CEC_LOG_ADDR_MASK_UNREGISTERED …
static inline int cec_has_tv(__u16 log_addr_mask)
{ … }
static inline int cec_has_record(__u16 log_addr_mask)
{ … }
static inline int cec_has_tuner(__u16 log_addr_mask)
{ … }
static inline int cec_has_playback(__u16 log_addr_mask)
{ … }
static inline int cec_has_audiosystem(__u16 log_addr_mask)
{ … }
static inline int cec_has_backup(__u16 log_addr_mask)
{ … }
static inline int cec_has_specific(__u16 log_addr_mask)
{ … }
static inline int cec_is_unregistered(__u16 log_addr_mask)
{ … }
static inline int cec_is_unconfigured(__u16 log_addr_mask)
{ … }
#define CEC_VENDOR_ID_NONE …
#define CEC_MODE_NO_INITIATOR …
#define CEC_MODE_INITIATOR …
#define CEC_MODE_EXCL_INITIATOR …
#define CEC_MODE_INITIATOR_MSK …
#define CEC_MODE_NO_FOLLOWER …
#define CEC_MODE_FOLLOWER …
#define CEC_MODE_EXCL_FOLLOWER …
#define CEC_MODE_EXCL_FOLLOWER_PASSTHRU …
#define CEC_MODE_MONITOR_PIN …
#define CEC_MODE_MONITOR …
#define CEC_MODE_MONITOR_ALL …
#define CEC_MODE_FOLLOWER_MSK …
#define CEC_CAP_PHYS_ADDR …
#define CEC_CAP_LOG_ADDRS …
#define CEC_CAP_TRANSMIT …
#define CEC_CAP_PASSTHROUGH …
#define CEC_CAP_RC …
#define CEC_CAP_MONITOR_ALL …
#define CEC_CAP_NEEDS_HPD …
#define CEC_CAP_MONITOR_PIN …
#define CEC_CAP_CONNECTOR_INFO …
struct cec_caps { … };
struct cec_log_addrs { … };
#define CEC_LOG_ADDRS_FL_ALLOW_UNREG_FALLBACK …
#define CEC_LOG_ADDRS_FL_ALLOW_RC_PASSTHRU …
#define CEC_LOG_ADDRS_FL_CDC_ONLY …
struct cec_drm_connector_info { … };
#define CEC_CONNECTOR_TYPE_NO_CONNECTOR …
#define CEC_CONNECTOR_TYPE_DRM …
struct cec_connector_info { … };
#define CEC_EVENT_STATE_CHANGE …
#define CEC_EVENT_LOST_MSGS …
#define CEC_EVENT_PIN_CEC_LOW …
#define CEC_EVENT_PIN_CEC_HIGH …
#define CEC_EVENT_PIN_HPD_LOW …
#define CEC_EVENT_PIN_HPD_HIGH …
#define CEC_EVENT_PIN_5V_LOW …
#define CEC_EVENT_PIN_5V_HIGH …
#define CEC_EVENT_FL_INITIAL_STATE …
#define CEC_EVENT_FL_DROPPED_EVENTS …
struct cec_event_state_change { … };
struct cec_event_lost_msgs { … };
struct cec_event { … };
#define CEC_ADAP_G_CAPS …
#define CEC_ADAP_G_PHYS_ADDR …
#define CEC_ADAP_S_PHYS_ADDR …
#define CEC_ADAP_G_LOG_ADDRS …
#define CEC_ADAP_S_LOG_ADDRS …
#define CEC_TRANSMIT …
#define CEC_RECEIVE …
#define CEC_DQEVENT …
#define CEC_G_MODE …
#define CEC_S_MODE …
#define CEC_ADAP_G_CONNECTOR_INFO …
#define CEC_MSG_ACTIVE_SOURCE …
#define CEC_MSG_IMAGE_VIEW_ON …
#define CEC_MSG_TEXT_VIEW_ON …
#define CEC_MSG_INACTIVE_SOURCE …
#define CEC_MSG_REQUEST_ACTIVE_SOURCE …
#define CEC_MSG_ROUTING_CHANGE …
#define CEC_MSG_ROUTING_INFORMATION …
#define CEC_MSG_SET_STREAM_PATH …
#define CEC_MSG_STANDBY …
#define CEC_MSG_RECORD_OFF …
#define CEC_MSG_RECORD_ON …
#define CEC_OP_RECORD_SRC_OWN …
#define CEC_OP_RECORD_SRC_DIGITAL …
#define CEC_OP_RECORD_SRC_ANALOG …
#define CEC_OP_RECORD_SRC_EXT_PLUG …
#define CEC_OP_RECORD_SRC_EXT_PHYS_ADDR …
#define CEC_OP_SERVICE_ID_METHOD_BY_DIG_ID …
#define CEC_OP_SERVICE_ID_METHOD_BY_CHANNEL …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_ARIB_GEN …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_ATSC_GEN …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_DVB_GEN …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_ARIB_BS …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_ARIB_CS …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_ARIB_T …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_ATSC_CABLE …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_ATSC_SAT …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_ATSC_T …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_DVB_C …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_DVB_S …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_DVB_S2 …
#define CEC_OP_DIG_SERVICE_BCAST_SYSTEM_DVB_T …
#define CEC_OP_ANA_BCAST_TYPE_CABLE …
#define CEC_OP_ANA_BCAST_TYPE_SATELLITE …
#define CEC_OP_ANA_BCAST_TYPE_TERRESTRIAL …
#define CEC_OP_BCAST_SYSTEM_PAL_BG …
#define CEC_OP_BCAST_SYSTEM_SECAM_LQ …
#define CEC_OP_BCAST_SYSTEM_PAL_M …
#define CEC_OP_BCAST_SYSTEM_NTSC_M …
#define CEC_OP_BCAST_SYSTEM_PAL_I …
#define CEC_OP_BCAST_SYSTEM_SECAM_DK …
#define CEC_OP_BCAST_SYSTEM_SECAM_BG …
#define CEC_OP_BCAST_SYSTEM_SECAM_L …
#define CEC_OP_BCAST_SYSTEM_PAL_DK …
#define CEC_OP_BCAST_SYSTEM_OTHER …
#define CEC_OP_CHANNEL_NUMBER_FMT_1_PART …
#define CEC_OP_CHANNEL_NUMBER_FMT_2_PART …
#define CEC_MSG_RECORD_STATUS …
#define CEC_OP_RECORD_STATUS_CUR_SRC …
#define CEC_OP_RECORD_STATUS_DIG_SERVICE …
#define CEC_OP_RECORD_STATUS_ANA_SERVICE …
#define CEC_OP_RECORD_STATUS_EXT_INPUT …
#define CEC_OP_RECORD_STATUS_NO_DIG_SERVICE …
#define CEC_OP_RECORD_STATUS_NO_ANA_SERVICE …
#define CEC_OP_RECORD_STATUS_NO_SERVICE …
#define CEC_OP_RECORD_STATUS_INVALID_EXT_PLUG …
#define CEC_OP_RECORD_STATUS_INVALID_EXT_PHYS_ADDR …
#define CEC_OP_RECORD_STATUS_UNSUP_CA …
#define CEC_OP_RECORD_STATUS_NO_CA_ENTITLEMENTS …
#define CEC_OP_RECORD_STATUS_CANT_COPY_SRC …
#define CEC_OP_RECORD_STATUS_NO_MORE_COPIES …
#define CEC_OP_RECORD_STATUS_NO_MEDIA …
#define CEC_OP_RECORD_STATUS_PLAYING …
#define CEC_OP_RECORD_STATUS_ALREADY_RECORDING …
#define CEC_OP_RECORD_STATUS_MEDIA_PROT …
#define CEC_OP_RECORD_STATUS_NO_SIGNAL …
#define CEC_OP_RECORD_STATUS_MEDIA_PROBLEM …
#define CEC_OP_RECORD_STATUS_NO_SPACE …
#define CEC_OP_RECORD_STATUS_PARENTAL_LOCK …
#define CEC_OP_RECORD_STATUS_TERMINATED_OK …
#define CEC_OP_RECORD_STATUS_ALREADY_TERM …
#define CEC_OP_RECORD_STATUS_OTHER …
#define CEC_MSG_RECORD_TV_SCREEN …
#define CEC_MSG_CLEAR_ANALOGUE_TIMER …
#define CEC_OP_REC_SEQ_SUNDAY …
#define CEC_OP_REC_SEQ_MONDAY …
#define CEC_OP_REC_SEQ_TUESDAY …
#define CEC_OP_REC_SEQ_WEDNESDAY …
#define CEC_OP_REC_SEQ_THURSDAY …
#define CEC_OP_REC_SEQ_FRIDAY …
#define CEC_OP_REC_SEQ_SATURDAY …
#define CEC_OP_REC_SEQ_ONCE_ONLY …
#define CEC_MSG_CLEAR_DIGITAL_TIMER …
#define CEC_MSG_CLEAR_EXT_TIMER …
#define CEC_OP_EXT_SRC_PLUG …
#define CEC_OP_EXT_SRC_PHYS_ADDR …
#define CEC_MSG_SET_ANALOGUE_TIMER …
#define CEC_MSG_SET_DIGITAL_TIMER …
#define CEC_MSG_SET_EXT_TIMER …
#define CEC_MSG_SET_TIMER_PROGRAM_TITLE …
#define CEC_MSG_TIMER_CLEARED_STATUS …
#define CEC_OP_TIMER_CLR_STAT_RECORDING …
#define CEC_OP_TIMER_CLR_STAT_NO_MATCHING …
#define CEC_OP_TIMER_CLR_STAT_NO_INFO …
#define CEC_OP_TIMER_CLR_STAT_CLEARED …
#define CEC_MSG_TIMER_STATUS …
#define CEC_OP_TIMER_OVERLAP_WARNING_NO_OVERLAP …
#define CEC_OP_TIMER_OVERLAP_WARNING_OVERLAP …
#define CEC_OP_MEDIA_INFO_UNPROT_MEDIA …
#define CEC_OP_MEDIA_INFO_PROT_MEDIA …
#define CEC_OP_MEDIA_INFO_NO_MEDIA …
#define CEC_OP_PROG_IND_NOT_PROGRAMMED …
#define CEC_OP_PROG_IND_PROGRAMMED …
#define CEC_OP_PROG_INFO_ENOUGH_SPACE …
#define CEC_OP_PROG_INFO_NOT_ENOUGH_SPACE …
#define CEC_OP_PROG_INFO_MIGHT_NOT_BE_ENOUGH_SPACE …
#define CEC_OP_PROG_INFO_NONE_AVAILABLE …
#define CEC_OP_PROG_ERROR_NO_FREE_TIMER …
#define CEC_OP_PROG_ERROR_DATE_OUT_OF_RANGE …
#define CEC_OP_PROG_ERROR_REC_SEQ_ERROR …
#define CEC_OP_PROG_ERROR_INV_EXT_PLUG …
#define CEC_OP_PROG_ERROR_INV_EXT_PHYS_ADDR …
#define CEC_OP_PROG_ERROR_CA_UNSUPP …
#define CEC_OP_PROG_ERROR_INSUF_CA_ENTITLEMENTS …
#define CEC_OP_PROG_ERROR_RESOLUTION_UNSUPP …
#define CEC_OP_PROG_ERROR_PARENTAL_LOCK …
#define CEC_OP_PROG_ERROR_CLOCK_FAILURE …
#define CEC_OP_PROG_ERROR_DUPLICATE …
#define CEC_MSG_CEC_VERSION …
#define CEC_OP_CEC_VERSION_1_3A …
#define CEC_OP_CEC_VERSION_1_4 …
#define CEC_OP_CEC_VERSION_2_0 …
#define CEC_MSG_GET_CEC_VERSION …
#define CEC_MSG_GIVE_PHYSICAL_ADDR …
#define CEC_MSG_GET_MENU_LANGUAGE …
#define CEC_MSG_REPORT_PHYSICAL_ADDR …
#define CEC_OP_PRIM_DEVTYPE_TV …
#define CEC_OP_PRIM_DEVTYPE_RECORD …
#define CEC_OP_PRIM_DEVTYPE_TUNER …
#define CEC_OP_PRIM_DEVTYPE_PLAYBACK …
#define CEC_OP_PRIM_DEVTYPE_AUDIOSYSTEM …
#define CEC_OP_PRIM_DEVTYPE_SWITCH …
#define CEC_OP_PRIM_DEVTYPE_PROCESSOR …
#define CEC_MSG_SET_MENU_LANGUAGE …
#define CEC_MSG_REPORT_FEATURES …
#define CEC_OP_ALL_DEVTYPE_TV …
#define CEC_OP_ALL_DEVTYPE_RECORD …
#define CEC_OP_ALL_DEVTYPE_TUNER …
#define CEC_OP_ALL_DEVTYPE_PLAYBACK …
#define CEC_OP_ALL_DEVTYPE_AUDIOSYSTEM …
#define CEC_OP_ALL_DEVTYPE_SWITCH …
#define CEC_OP_FEAT_EXT …
#define CEC_OP_FEAT_RC_TV_PROFILE_NONE …
#define CEC_OP_FEAT_RC_TV_PROFILE_1 …
#define CEC_OP_FEAT_RC_TV_PROFILE_2 …
#define CEC_OP_FEAT_RC_TV_PROFILE_3 …
#define CEC_OP_FEAT_RC_TV_PROFILE_4 …
#define CEC_OP_FEAT_RC_SRC_HAS_DEV_ROOT_MENU …
#define CEC_OP_FEAT_RC_SRC_HAS_DEV_SETUP_MENU …
#define CEC_OP_FEAT_RC_SRC_HAS_CONTENTS_MENU …
#define CEC_OP_FEAT_RC_SRC_HAS_MEDIA_TOP_MENU …
#define CEC_OP_FEAT_RC_SRC_HAS_MEDIA_CONTEXT_MENU …
#define CEC_OP_FEAT_DEV_HAS_RECORD_TV_SCREEN …
#define CEC_OP_FEAT_DEV_HAS_SET_OSD_STRING …
#define CEC_OP_FEAT_DEV_HAS_DECK_CONTROL …
#define CEC_OP_FEAT_DEV_HAS_SET_AUDIO_RATE …
#define CEC_OP_FEAT_DEV_SINK_HAS_ARC_TX …
#define CEC_OP_FEAT_DEV_SOURCE_HAS_ARC_RX …
#define CEC_OP_FEAT_DEV_HAS_SET_AUDIO_VOLUME_LEVEL …
#define CEC_MSG_GIVE_FEATURES …
#define CEC_MSG_DECK_CONTROL …
#define CEC_OP_DECK_CTL_MODE_SKIP_FWD …
#define CEC_OP_DECK_CTL_MODE_SKIP_REV …
#define CEC_OP_DECK_CTL_MODE_STOP …
#define CEC_OP_DECK_CTL_MODE_EJECT …
#define CEC_MSG_DECK_STATUS …
#define CEC_OP_DECK_INFO_PLAY …
#define CEC_OP_DECK_INFO_RECORD …
#define CEC_OP_DECK_INFO_PLAY_REV …
#define CEC_OP_DECK_INFO_STILL …
#define CEC_OP_DECK_INFO_SLOW …
#define CEC_OP_DECK_INFO_SLOW_REV …
#define CEC_OP_DECK_INFO_FAST_FWD …
#define CEC_OP_DECK_INFO_FAST_REV …
#define CEC_OP_DECK_INFO_NO_MEDIA …
#define CEC_OP_DECK_INFO_STOP …
#define CEC_OP_DECK_INFO_SKIP_FWD …
#define CEC_OP_DECK_INFO_SKIP_REV …
#define CEC_OP_DECK_INFO_INDEX_SEARCH_FWD …
#define CEC_OP_DECK_INFO_INDEX_SEARCH_REV …
#define CEC_OP_DECK_INFO_OTHER …
#define CEC_MSG_GIVE_DECK_STATUS …
#define CEC_OP_STATUS_REQ_ON …
#define CEC_OP_STATUS_REQ_OFF …
#define CEC_OP_STATUS_REQ_ONCE …
#define CEC_MSG_PLAY …
#define CEC_OP_PLAY_MODE_PLAY_FWD …
#define CEC_OP_PLAY_MODE_PLAY_REV …
#define CEC_OP_PLAY_MODE_PLAY_STILL …
#define CEC_OP_PLAY_MODE_PLAY_FAST_FWD_MIN …
#define CEC_OP_PLAY_MODE_PLAY_FAST_FWD_MED …
#define CEC_OP_PLAY_MODE_PLAY_FAST_FWD_MAX …
#define CEC_OP_PLAY_MODE_PLAY_FAST_REV_MIN …
#define CEC_OP_PLAY_MODE_PLAY_FAST_REV_MED …
#define CEC_OP_PLAY_MODE_PLAY_FAST_REV_MAX …
#define CEC_OP_PLAY_MODE_PLAY_SLOW_FWD_MIN …
#define CEC_OP_PLAY_MODE_PLAY_SLOW_FWD_MED …
#define CEC_OP_PLAY_MODE_PLAY_SLOW_FWD_MAX …
#define CEC_OP_PLAY_MODE_PLAY_SLOW_REV_MIN …
#define CEC_OP_PLAY_MODE_PLAY_SLOW_REV_MED …
#define CEC_OP_PLAY_MODE_PLAY_SLOW_REV_MAX …
#define CEC_MSG_GIVE_TUNER_DEVICE_STATUS …
#define CEC_MSG_SELECT_ANALOGUE_SERVICE …
#define CEC_MSG_SELECT_DIGITAL_SERVICE …
#define CEC_MSG_TUNER_DEVICE_STATUS …
#define CEC_OP_REC_FLAG_NOT_USED …
#define CEC_OP_REC_FLAG_USED …
#define CEC_OP_TUNER_DISPLAY_INFO_DIGITAL …
#define CEC_OP_TUNER_DISPLAY_INFO_NONE …
#define CEC_OP_TUNER_DISPLAY_INFO_ANALOGUE …
#define CEC_MSG_TUNER_STEP_DECREMENT …
#define CEC_MSG_TUNER_STEP_INCREMENT …
#define CEC_MSG_DEVICE_VENDOR_ID …
#define CEC_MSG_GIVE_DEVICE_VENDOR_ID …
#define CEC_MSG_VENDOR_COMMAND …
#define CEC_MSG_VENDOR_COMMAND_WITH_ID …
#define CEC_MSG_VENDOR_REMOTE_BUTTON_DOWN …
#define CEC_MSG_VENDOR_REMOTE_BUTTON_UP …
#define CEC_MSG_SET_OSD_STRING …
#define CEC_OP_DISP_CTL_DEFAULT …
#define CEC_OP_DISP_CTL_UNTIL_CLEARED …
#define CEC_OP_DISP_CTL_CLEAR …
#define CEC_MSG_GIVE_OSD_NAME …
#define CEC_MSG_SET_OSD_NAME …
#define CEC_MSG_MENU_REQUEST …
#define CEC_OP_MENU_REQUEST_ACTIVATE …
#define CEC_OP_MENU_REQUEST_DEACTIVATE …
#define CEC_OP_MENU_REQUEST_QUERY …
#define CEC_MSG_MENU_STATUS …
#define CEC_OP_MENU_STATE_ACTIVATED …
#define CEC_OP_MENU_STATE_DEACTIVATED …
#define CEC_MSG_USER_CONTROL_PRESSED …
#define CEC_OP_UI_CMD_SELECT …
#define CEC_OP_UI_CMD_UP …
#define CEC_OP_UI_CMD_DOWN …
#define CEC_OP_UI_CMD_LEFT …
#define CEC_OP_UI_CMD_RIGHT …
#define CEC_OP_UI_CMD_RIGHT_UP …
#define CEC_OP_UI_CMD_RIGHT_DOWN …
#define CEC_OP_UI_CMD_LEFT_UP …
#define CEC_OP_UI_CMD_LEFT_DOWN …
#define CEC_OP_UI_CMD_DEVICE_ROOT_MENU …
#define CEC_OP_UI_CMD_DEVICE_SETUP_MENU …
#define CEC_OP_UI_CMD_CONTENTS_MENU …
#define CEC_OP_UI_CMD_FAVORITE_MENU …
#define CEC_OP_UI_CMD_BACK …
#define CEC_OP_UI_CMD_MEDIA_TOP_MENU …
#define CEC_OP_UI_CMD_MEDIA_CONTEXT_SENSITIVE_MENU …
#define CEC_OP_UI_CMD_NUMBER_ENTRY_MODE …
#define CEC_OP_UI_CMD_NUMBER_11 …
#define CEC_OP_UI_CMD_NUMBER_12 …
#define CEC_OP_UI_CMD_NUMBER_0_OR_NUMBER_10 …
#define CEC_OP_UI_CMD_NUMBER_1 …
#define CEC_OP_UI_CMD_NUMBER_2 …
#define CEC_OP_UI_CMD_NUMBER_3 …
#define CEC_OP_UI_CMD_NUMBER_4 …
#define CEC_OP_UI_CMD_NUMBER_5 …
#define CEC_OP_UI_CMD_NUMBER_6 …
#define CEC_OP_UI_CMD_NUMBER_7 …
#define CEC_OP_UI_CMD_NUMBER_8 …
#define CEC_OP_UI_CMD_NUMBER_9 …
#define CEC_OP_UI_CMD_DOT …
#define CEC_OP_UI_CMD_ENTER …
#define CEC_OP_UI_CMD_CLEAR …
#define CEC_OP_UI_CMD_NEXT_FAVORITE …
#define CEC_OP_UI_CMD_CHANNEL_UP …
#define CEC_OP_UI_CMD_CHANNEL_DOWN …
#define CEC_OP_UI_CMD_PREVIOUS_CHANNEL …
#define CEC_OP_UI_CMD_SOUND_SELECT …
#define CEC_OP_UI_CMD_INPUT_SELECT …
#define CEC_OP_UI_CMD_DISPLAY_INFORMATION …
#define CEC_OP_UI_CMD_HELP …
#define CEC_OP_UI_CMD_PAGE_UP …
#define CEC_OP_UI_CMD_PAGE_DOWN …
#define CEC_OP_UI_CMD_POWER …
#define CEC_OP_UI_CMD_VOLUME_UP …
#define CEC_OP_UI_CMD_VOLUME_DOWN …
#define CEC_OP_UI_CMD_MUTE …
#define CEC_OP_UI_CMD_PLAY …
#define CEC_OP_UI_CMD_STOP …
#define CEC_OP_UI_CMD_PAUSE …
#define CEC_OP_UI_CMD_RECORD …
#define CEC_OP_UI_CMD_REWIND …
#define CEC_OP_UI_CMD_FAST_FORWARD …
#define CEC_OP_UI_CMD_EJECT …
#define CEC_OP_UI_CMD_SKIP_FORWARD …
#define CEC_OP_UI_CMD_SKIP_BACKWARD …
#define CEC_OP_UI_CMD_STOP_RECORD …
#define CEC_OP_UI_CMD_PAUSE_RECORD …
#define CEC_OP_UI_CMD_ANGLE …
#define CEC_OP_UI_CMD_SUB_PICTURE …
#define CEC_OP_UI_CMD_VIDEO_ON_DEMAND …
#define CEC_OP_UI_CMD_ELECTRONIC_PROGRAM_GUIDE …
#define CEC_OP_UI_CMD_TIMER_PROGRAMMING …
#define CEC_OP_UI_CMD_INITIAL_CONFIGURATION …
#define CEC_OP_UI_CMD_SELECT_BROADCAST_TYPE …
#define CEC_OP_UI_CMD_SELECT_SOUND_PRESENTATION …
#define CEC_OP_UI_CMD_AUDIO_DESCRIPTION …
#define CEC_OP_UI_CMD_INTERNET …
#define CEC_OP_UI_CMD_3D_MODE …
#define CEC_OP_UI_CMD_PLAY_FUNCTION …
#define CEC_OP_UI_CMD_PAUSE_PLAY_FUNCTION …
#define CEC_OP_UI_CMD_RECORD_FUNCTION …
#define CEC_OP_UI_CMD_PAUSE_RECORD_FUNCTION …
#define CEC_OP_UI_CMD_STOP_FUNCTION …
#define CEC_OP_UI_CMD_MUTE_FUNCTION …
#define CEC_OP_UI_CMD_RESTORE_VOLUME_FUNCTION …
#define CEC_OP_UI_CMD_TUNE_FUNCTION …
#define CEC_OP_UI_CMD_SELECT_MEDIA_FUNCTION …
#define CEC_OP_UI_CMD_SELECT_AV_INPUT_FUNCTION …
#define CEC_OP_UI_CMD_SELECT_AUDIO_INPUT_FUNCTION …
#define CEC_OP_UI_CMD_POWER_TOGGLE_FUNCTION …
#define CEC_OP_UI_CMD_POWER_OFF_FUNCTION …
#define CEC_OP_UI_CMD_POWER_ON_FUNCTION …
#define CEC_OP_UI_CMD_F1_BLUE …
#define CEC_OP_UI_CMD_F2_RED …
#define CEC_OP_UI_CMD_F3_GREEN …
#define CEC_OP_UI_CMD_F4_YELLOW …
#define CEC_OP_UI_CMD_F5 …
#define CEC_OP_UI_CMD_DATA …
#define CEC_OP_UI_BCAST_TYPE_TOGGLE_ALL …
#define CEC_OP_UI_BCAST_TYPE_TOGGLE_DIG_ANA …
#define CEC_OP_UI_BCAST_TYPE_ANALOGUE …
#define CEC_OP_UI_BCAST_TYPE_ANALOGUE_T …
#define CEC_OP_UI_BCAST_TYPE_ANALOGUE_CABLE …
#define CEC_OP_UI_BCAST_TYPE_ANALOGUE_SAT …
#define CEC_OP_UI_BCAST_TYPE_DIGITAL …
#define CEC_OP_UI_BCAST_TYPE_DIGITAL_T …
#define CEC_OP_UI_BCAST_TYPE_DIGITAL_CABLE …
#define CEC_OP_UI_BCAST_TYPE_DIGITAL_SAT …
#define CEC_OP_UI_BCAST_TYPE_DIGITAL_COM_SAT …
#define CEC_OP_UI_BCAST_TYPE_DIGITAL_COM_SAT2 …
#define CEC_OP_UI_BCAST_TYPE_IP …
#define CEC_OP_UI_SND_PRES_CTL_DUAL_MONO …
#define CEC_OP_UI_SND_PRES_CTL_KARAOKE …
#define CEC_OP_UI_SND_PRES_CTL_DOWNMIX …
#define CEC_OP_UI_SND_PRES_CTL_REVERB …
#define CEC_OP_UI_SND_PRES_CTL_EQUALIZER …
#define CEC_OP_UI_SND_PRES_CTL_BASS_UP …
#define CEC_OP_UI_SND_PRES_CTL_BASS_NEUTRAL …
#define CEC_OP_UI_SND_PRES_CTL_BASS_DOWN …
#define CEC_OP_UI_SND_PRES_CTL_TREBLE_UP …
#define CEC_OP_UI_SND_PRES_CTL_TREBLE_NEUTRAL …
#define CEC_OP_UI_SND_PRES_CTL_TREBLE_DOWN …
#define CEC_MSG_USER_CONTROL_RELEASED …
#define CEC_MSG_GIVE_DEVICE_POWER_STATUS …
#define CEC_MSG_REPORT_POWER_STATUS …
#define CEC_OP_POWER_STATUS_ON …
#define CEC_OP_POWER_STATUS_STANDBY …
#define CEC_OP_POWER_STATUS_TO_ON …
#define CEC_OP_POWER_STATUS_TO_STANDBY …
#define CEC_MSG_FEATURE_ABORT …
#define CEC_OP_ABORT_UNRECOGNIZED_OP …
#define CEC_OP_ABORT_INCORRECT_MODE …
#define CEC_OP_ABORT_NO_SOURCE …
#define CEC_OP_ABORT_INVALID_OP …
#define CEC_OP_ABORT_REFUSED …
#define CEC_OP_ABORT_UNDETERMINED …
#define CEC_MSG_ABORT …
#define CEC_MSG_GIVE_AUDIO_STATUS …
#define CEC_MSG_GIVE_SYSTEM_AUDIO_MODE_STATUS …
#define CEC_MSG_REPORT_AUDIO_STATUS …
#define CEC_OP_AUD_MUTE_STATUS_OFF …
#define CEC_OP_AUD_MUTE_STATUS_ON …
#define CEC_MSG_REPORT_SHORT_AUDIO_DESCRIPTOR …
#define CEC_MSG_REQUEST_SHORT_AUDIO_DESCRIPTOR …
#define CEC_MSG_SET_SYSTEM_AUDIO_MODE …
#define CEC_OP_SYS_AUD_STATUS_OFF …
#define CEC_OP_SYS_AUD_STATUS_ON …
#define CEC_MSG_SYSTEM_AUDIO_MODE_REQUEST …
#define CEC_MSG_SYSTEM_AUDIO_MODE_STATUS …
#define CEC_OP_AUD_FMT_ID_CEA861 …
#define CEC_OP_AUD_FMT_ID_CEA861_CXT …
#define CEC_MSG_SET_AUDIO_VOLUME_LEVEL …
#define CEC_MSG_SET_AUDIO_RATE …
#define CEC_OP_AUD_RATE_OFF …
#define CEC_OP_AUD_RATE_WIDE_STD …
#define CEC_OP_AUD_RATE_WIDE_FAST …
#define CEC_OP_AUD_RATE_WIDE_SLOW …
#define CEC_OP_AUD_RATE_NARROW_STD …
#define CEC_OP_AUD_RATE_NARROW_FAST …
#define CEC_OP_AUD_RATE_NARROW_SLOW …
#define CEC_MSG_INITIATE_ARC …
#define CEC_MSG_REPORT_ARC_INITIATED …
#define CEC_MSG_REPORT_ARC_TERMINATED …
#define CEC_MSG_REQUEST_ARC_INITIATION …
#define CEC_MSG_REQUEST_ARC_TERMINATION …
#define CEC_MSG_TERMINATE_ARC …
#define CEC_MSG_REQUEST_CURRENT_LATENCY …
#define CEC_MSG_REPORT_CURRENT_LATENCY …
#define CEC_OP_LOW_LATENCY_MODE_OFF …
#define CEC_OP_LOW_LATENCY_MODE_ON …
#define CEC_OP_AUD_OUT_COMPENSATED_NA …
#define CEC_OP_AUD_OUT_COMPENSATED_DELAY …
#define CEC_OP_AUD_OUT_COMPENSATED_NO_DELAY …
#define CEC_OP_AUD_OUT_COMPENSATED_PARTIAL_DELAY …
#define CEC_MSG_CDC_MESSAGE …
#define CEC_MSG_CDC_HEC_INQUIRE_STATE …
#define CEC_MSG_CDC_HEC_REPORT_STATE …
#define CEC_OP_HEC_FUNC_STATE_NOT_SUPPORTED …
#define CEC_OP_HEC_FUNC_STATE_INACTIVE …
#define CEC_OP_HEC_FUNC_STATE_ACTIVE …
#define CEC_OP_HEC_FUNC_STATE_ACTIVATION_FIELD …
#define CEC_OP_HOST_FUNC_STATE_NOT_SUPPORTED …
#define CEC_OP_HOST_FUNC_STATE_INACTIVE …
#define CEC_OP_HOST_FUNC_STATE_ACTIVE …
#define CEC_OP_ENC_FUNC_STATE_EXT_CON_NOT_SUPPORTED …
#define CEC_OP_ENC_FUNC_STATE_EXT_CON_INACTIVE …
#define CEC_OP_ENC_FUNC_STATE_EXT_CON_ACTIVE …
#define CEC_OP_CDC_ERROR_CODE_NONE …
#define CEC_OP_CDC_ERROR_CODE_CAP_UNSUPPORTED …
#define CEC_OP_CDC_ERROR_CODE_WRONG_STATE …
#define CEC_OP_CDC_ERROR_CODE_OTHER …
#define CEC_OP_HEC_SUPPORT_NO …
#define CEC_OP_HEC_SUPPORT_YES …
#define CEC_OP_HEC_ACTIVATION_ON …
#define CEC_OP_HEC_ACTIVATION_OFF …
#define CEC_MSG_CDC_HEC_SET_STATE_ADJACENT …
#define CEC_MSG_CDC_HEC_SET_STATE …
#define CEC_OP_HEC_SET_STATE_DEACTIVATE …
#define CEC_OP_HEC_SET_STATE_ACTIVATE …
#define CEC_MSG_CDC_HEC_REQUEST_DEACTIVATION …
#define CEC_MSG_CDC_HEC_NOTIFY_ALIVE …
#define CEC_MSG_CDC_HEC_DISCOVER …
#define CEC_MSG_CDC_HPD_SET_STATE …
#define CEC_OP_HPD_STATE_CP_EDID_DISABLE …
#define CEC_OP_HPD_STATE_CP_EDID_ENABLE …
#define CEC_OP_HPD_STATE_CP_EDID_DISABLE_ENABLE …
#define CEC_OP_HPD_STATE_EDID_DISABLE …
#define CEC_OP_HPD_STATE_EDID_ENABLE …
#define CEC_OP_HPD_STATE_EDID_DISABLE_ENABLE …
#define CEC_MSG_CDC_HPD_REPORT_STATE …
#define CEC_OP_HPD_ERROR_NONE …
#define CEC_OP_HPD_ERROR_INITIATOR_NOT_CAPABLE …
#define CEC_OP_HPD_ERROR_INITIATOR_WRONG_STATE …
#define CEC_OP_HPD_ERROR_OTHER …
#define CEC_OP_HPD_ERROR_NONE_NO_VIDEO …
static inline int cec_is_2nd_tv(const struct cec_log_addrs *las)
{ … }
static inline int cec_is_processor(const struct cec_log_addrs *las)
{ … }
static inline int cec_is_switch(const struct cec_log_addrs *las)
{ … }
static inline int cec_is_cdc_only(const struct cec_log_addrs *las)
{ … }
#endif