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 __MSM_HDMI_HDCP_MGR_H 20 #define __MSM_HDMI_HDCP_MGR_H 21 enum DS_TYPE { 22 DS_UNKNOWN, 23 DS_RECEIVER, 24 DS_REPEATER, 25 }; 26 enum { 27 MSG_ID_IDX, 28 RET_CODE_IDX, 29 HEADER_LEN, 30 }; 31 enum RET_CODE { 32 HDCP_NOT_AUTHED, 33 HDCP_AUTHED, 34 HDCP_DISABLE, 35 }; 36 enum MSG_ID { 37 DOWN_CHECK_TOPOLOGY, 38 UP_REQUEST_TOPOLOGY, 39 UP_SEND_TOPOLOGY, 40 DOWN_REQUEST_TOPOLOGY, 41 MSG_NUM, 42 }; 43 enum SOURCE_ID { 44 HDCP_V1_TX, 45 HDCP_V1_RX, 46 HDCP_V2_RX, 47 HDCP_V2_TX, 48 SRC_NUM, 49 }; 50 struct HDCP_V2V1_MSG_TOPOLOGY { 51 uint32_t ds_type; 52 uint8_t bksv[5]; 53 uint8_t dev_count; 54 uint8_t depth; 55 uint8_t ksv_list[5 * 127]; 56 uint32_t max_cascade_exceeded; 57 uint32_t max_dev_exceeded; 58 }; 59 #endif 60