Lines Matching refs:hdcp

29 #define HDCP_LOG_ERR(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__)  argument
30 #define HDCP_LOG_VER(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) argument
31 #define HDCP_LOG_FSM(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) argument
32 #define HDCP_LOG_TOP(hdcp, ...) pr_debug("[HDCP_TOP]:"__VA_ARGS__) argument
33 #define HDCP_LOG_DDC(hdcp, ...) pr_debug("[HDCP_DDC]:"__VA_ARGS__) argument
36 #define HDCP_ERROR_TRACE(hdcp, status) \ argument
37 HDCP_LOG_ERR(hdcp, \
39 hdcp->config.index, \
41 mod_hdcp_state_id_to_str(hdcp->state.id), \
42 hdcp->state.stay_count)
43 #define HDCP_HDCP1_ENABLED_TRACE(hdcp, displayIndex) \ argument
44 HDCP_LOG_VER(hdcp, \
46 hdcp->config.index, displayIndex)
47 #define HDCP_HDCP2_ENABLED_TRACE(hdcp, displayIndex) \ argument
48 HDCP_LOG_VER(hdcp, \
50 hdcp->config.index, displayIndex)
51 #define HDCP_HDCP1_DISABLED_TRACE(hdcp, displayIndex) \ argument
52 HDCP_LOG_VER(hdcp, \
54 hdcp->config.index, displayIndex)
55 #define HDCP_HDCP2_DISABLED_TRACE(hdcp, displayIndex) \ argument
56 HDCP_LOG_VER(hdcp, \
58 hdcp->config.index, displayIndex)
61 #define HDCP_REMOVE_DISPLAY_TRACE(hdcp, displayIndex) \ argument
62 HDCP_LOG_FSM(hdcp, \
64 hdcp->config.index, displayIndex)
65 #define HDCP_INPUT_PASS_TRACE(hdcp, str) \ argument
66 HDCP_LOG_FSM(hdcp, \
68 hdcp->config.index, str)
69 #define HDCP_INPUT_FAIL_TRACE(hdcp, str) \ argument
70 HDCP_LOG_FSM(hdcp, \
72 hdcp->config.index, str)
73 #define HDCP_NEXT_STATE_TRACE(hdcp, id, output) do { \ argument
75 HDCP_LOG_FSM(hdcp, \
77 hdcp->config.index, \
80 HDCP_LOG_FSM(hdcp, \
81 "[Link %d] > %s", hdcp->config.index, \
84 #define HDCP_TIMEOUT_TRACE(hdcp) \ argument
85 HDCP_LOG_FSM(hdcp, "[Link %d] --> TIMEOUT", hdcp->config.index)
86 #define HDCP_CPIRQ_TRACE(hdcp) \ argument
87 HDCP_LOG_FSM(hdcp, "[Link %d] --> CPIRQ", hdcp->config.index)
88 #define HDCP_EVENT_TRACE(hdcp, event) \ argument
90 HDCP_TIMEOUT_TRACE(hdcp); \
92 HDCP_CPIRQ_TRACE(hdcp)
94 #define HDCP_DDC_READ_TRACE(hdcp, msg_name, msg, msg_size) do { \ argument
95 mod_hdcp_dump_binary_message(msg, msg_size, hdcp->buf, \
96 sizeof(hdcp->buf)); \
97 HDCP_LOG_DDC(hdcp, "[Link %d] Read %s%s", hdcp->config.index, \
98 msg_name, hdcp->buf); \
100 #define HDCP_DDC_WRITE_TRACE(hdcp, msg_name, msg, msg_size) do { \ argument
101 mod_hdcp_dump_binary_message(msg, msg_size, hdcp->buf, \
102 sizeof(hdcp->buf)); \
103 HDCP_LOG_DDC(hdcp, "[Link %d] Write %s%s", \
104 hdcp->config.index, msg_name,\
105 hdcp->buf); \
107 #define HDCP_TOP_ADD_DISPLAY_TRACE(hdcp, i) \ argument
108 HDCP_LOG_TOP(hdcp, "[Link %d]\tadd display %d", \
109 hdcp->config.index, i)
110 #define HDCP_TOP_REMOVE_DISPLAY_TRACE(hdcp, i) \ argument
111 HDCP_LOG_TOP(hdcp, "[Link %d]\tremove display %d", \
112 hdcp->config.index, i)
113 #define HDCP_TOP_HDCP1_DESTROY_SESSION_TRACE(hdcp) \ argument
114 HDCP_LOG_TOP(hdcp, "[Link %d]\tdestroy hdcp1 session", \
115 hdcp->config.index)
116 #define HDCP_TOP_HDCP2_DESTROY_SESSION_TRACE(hdcp) \ argument
117 HDCP_LOG_TOP(hdcp, "[Link %d]\tdestroy hdcp2 session", \
118 hdcp->config.index)
119 #define HDCP_TOP_RESET_AUTH_TRACE(hdcp) \ argument
120 HDCP_LOG_TOP(hdcp, "[Link %d]\treset authentication", hdcp->config.index)
121 #define HDCP_TOP_RESET_CONN_TRACE(hdcp) \ argument
122 HDCP_LOG_TOP(hdcp, "[Link %d]\treset connection", hdcp->config.index)
123 #define HDCP_TOP_INTERFACE_TRACE(hdcp) do { \ argument
124 HDCP_LOG_TOP(hdcp, "\n"); \
125 HDCP_LOG_TOP(hdcp, "[Link %d] %s", hdcp->config.index, __func__); \
127 #define HDCP_TOP_INTERFACE_TRACE_WITH_INDEX(hdcp, i) do { \ argument
128 HDCP_LOG_TOP(hdcp, "\n"); \
129 HDCP_LOG_TOP(hdcp, "[Link %d] %s display %d", hdcp->config.index, __func__, i); \