Lines Matching refs:hdcp
28 enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp, in mod_hdcp_hdcp1_transition() argument
34 struct mod_hdcp_connection *conn = &hdcp->connection; in mod_hdcp_hdcp1_transition()
35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp1_transition()
37 switch (current_state(hdcp)) { in mod_hdcp_hdcp1_transition()
42 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_transition()
46 set_state_id(hdcp, output, H1_A1_EXCHANGE_KSVS); in mod_hdcp_hdcp1_transition()
64 set_state_id(hdcp, output, in mod_hdcp_hdcp1_transition()
87 set_watchdog_in_ms(hdcp, 5000, output); in mod_hdcp_hdcp1_transition()
88 set_state_id(hdcp, output, H1_A8_WAIT_FOR_READY); in mod_hdcp_hdcp1_transition()
91 set_state_id(hdcp, output, H1_A45_AUTHENTICATED); in mod_hdcp_hdcp1_transition()
92 set_auth_complete(hdcp, output); in mod_hdcp_hdcp1_transition()
103 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_transition()
116 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_transition()
121 set_state_id(hdcp, output, H1_A9_READ_KSV_LIST); in mod_hdcp_hdcp1_transition()
139 set_state_id(hdcp, output, H1_A45_AUTHENTICATED); in mod_hdcp_hdcp1_transition()
140 set_auth_complete(hdcp, output); in mod_hdcp_hdcp1_transition()
151 enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp, in mod_hdcp_hdcp1_dp_transition() argument
157 struct mod_hdcp_connection *conn = &hdcp->connection; in mod_hdcp_hdcp1_dp_transition()
158 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp1_dp_transition()
160 switch (current_state(hdcp)) { in mod_hdcp_hdcp1_dp_transition()
172 set_state_id(hdcp, output, D1_A1_EXCHANGE_KSVS); in mod_hdcp_hdcp1_dp_transition()
189 set_watchdog_in_ms(hdcp, 100, output); in mod_hdcp_hdcp1_dp_transition()
190 set_state_id(hdcp, output, D1_A23_WAIT_FOR_R0_PRIME); in mod_hdcp_hdcp1_dp_transition()
200 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_dp_transition()
204 set_state_id(hdcp, output, D1_A2_COMPUTATIONS_A3_VALIDATE_RX_A5_TEST_FOR_REPEATER); in mod_hdcp_hdcp1_dp_transition()
211 if (hdcp->state.stay_count < 2 && in mod_hdcp_hdcp1_dp_transition()
212 !hdcp->connection.is_hdcp1_revoked) { in mod_hdcp_hdcp1_dp_transition()
215 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_dp_transition()
230 (!conn->is_repeater && is_dp_mst_hdcp(hdcp) && input->stream_encryption_dp != PASS)) { in mod_hdcp_hdcp1_dp_transition()
238 set_watchdog_in_ms(hdcp, 5000, output); in mod_hdcp_hdcp1_dp_transition()
239 set_state_id(hdcp, output, D1_A6_WAIT_FOR_READY); in mod_hdcp_hdcp1_dp_transition()
241 set_state_id(hdcp, output, D1_A4_AUTHENTICATED); in mod_hdcp_hdcp1_dp_transition()
242 set_auth_complete(hdcp, output); in mod_hdcp_hdcp1_dp_transition()
266 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_dp_transition()
271 set_state_id(hdcp, output, D1_A7_READ_KSV_LIST); in mod_hdcp_hdcp1_dp_transition()
295 if (hdcp->state.stay_count < 2 && in mod_hdcp_hdcp1_dp_transition()
296 !hdcp->connection.is_hdcp1_revoked) { in mod_hdcp_hdcp1_dp_transition()
299 increment_stay_counter(hdcp); in mod_hdcp_hdcp1_dp_transition()
309 (is_dp_mst_hdcp(hdcp) && input->stream_encryption_dp != PASS)) { in mod_hdcp_hdcp1_dp_transition()
313 set_state_id(hdcp, output, D1_A4_AUTHENTICATED); in mod_hdcp_hdcp1_dp_transition()
314 set_auth_complete(hdcp, output); in mod_hdcp_hdcp1_dp_transition()