Home | History | Annotate | Download | only in video
      1 /****************************************************************************
      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 _UAPI__HDMI_HDCP_MGR_H
     20 #define _UAPI__MSM_HDMI_HDCP_MGR_H
     21 enum DS_TYPE {
     22   DS_UNKNOWN,
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24   DS_RECEIVER,
     25   DS_REPEATER,
     26 };
     27 enum {
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29   MSG_ID_IDX,
     30   RET_CODE_IDX,
     31   HEADER_LEN,
     32 };
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 enum RET_CODE {
     35   HDCP_NOT_AUTHED,
     36   HDCP_AUTHED,
     37   HDCP_DISABLE,
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 };
     40 enum MSG_ID {
     41   DOWN_CHECK_TOPOLOGY,
     42   UP_REQUEST_TOPOLOGY,
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44   UP_SEND_TOPOLOGY,
     45   DOWN_REQUEST_TOPOLOGY,
     46   MSG_NUM,
     47 };
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 enum SOURCE_ID {
     50   HDCP_V1_TX,
     51   HDCP_V1_RX,
     52   HDCP_V2_RX,
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54   HDCP_V2_TX,
     55   SRC_NUM,
     56 };
     57 struct HDCP_V2V1_MSG_TOPOLOGY {
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59   uint32_t ds_type;
     60   uint8_t bksv[5];
     61   uint8_t dev_count;
     62   uint8_t depth;
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64   uint8_t ksv_list[5 * 127];
     65   uint32_t max_cascade_exceeded;
     66   uint32_t max_dev_exceeded;
     67 };
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #endif
     70 
     71