Home
last modified time | relevance | path

Searched refs:hdcp2 (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_ddc.c372 &hdcp->auth.msg.hdcp2.hdcp2version_hdmi, in mod_hdcp_read_hdcp2version()
373 sizeof(hdcp->auth.msg.hdcp2.hdcp2version_hdmi)); in mod_hdcp_read_hdcp2version()
386 hdcp->auth.msg.hdcp2.rxcaps_dp, in mod_hdcp_read_rxcaps()
387 sizeof(hdcp->auth.msg.hdcp2.rxcaps_dp)); in mod_hdcp_read_rxcaps()
398 &hdcp->auth.msg.hdcp2.rxstatus_dp, in mod_hdcp_read_rxstatus()
402 (uint8_t *)&hdcp->auth.msg.hdcp2.rxstatus, in mod_hdcp_read_rxstatus()
403 sizeof(hdcp->auth.msg.hdcp2.rxstatus)); in mod_hdcp_read_rxstatus()
413 hdcp->auth.msg.hdcp2.ake_cert[0] = HDCP_2_2_AKE_SEND_CERT; in mod_hdcp_read_ake_cert()
415 hdcp->auth.msg.hdcp2.ake_cert+1, in mod_hdcp_read_ake_cert()
416 sizeof(hdcp->auth.msg.hdcp2.ake_cert)-1); in mod_hdcp_read_ake_cert()
[all …]
Dhdcp_log.c82 &hdcp->auth.msg.hdcp2.hdcp2version_hdmi, in mod_hdcp_log_ddc_trace()
83 sizeof(hdcp->auth.msg.hdcp2.hdcp2version_hdmi)); in mod_hdcp_log_ddc_trace()
84 HDCP_DDC_READ_TRACE(hdcp, "Rx Caps", hdcp->auth.msg.hdcp2.rxcaps_dp, in mod_hdcp_log_ddc_trace()
85 sizeof(hdcp->auth.msg.hdcp2.rxcaps_dp)); in mod_hdcp_log_ddc_trace()
86 HDCP_DDC_WRITE_TRACE(hdcp, "AKE Init", hdcp->auth.msg.hdcp2.ake_init, in mod_hdcp_log_ddc_trace()
87 sizeof(hdcp->auth.msg.hdcp2.ake_init)); in mod_hdcp_log_ddc_trace()
88 HDCP_DDC_READ_TRACE(hdcp, "AKE Cert", hdcp->auth.msg.hdcp2.ake_cert, in mod_hdcp_log_ddc_trace()
89 sizeof(hdcp->auth.msg.hdcp2.ake_cert)); in mod_hdcp_log_ddc_trace()
91 hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_log_ddc_trace()
92 sizeof(hdcp->auth.msg.hdcp2.ake_stored_km)); in mod_hdcp_log_ddc_trace()
[all …]
Dhdcp2_execution.c35 is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0; in check_receiver_id_list_ready()
37 is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[1]) && in check_receiver_id_list_ready()
38 (HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(hdcp->auth.msg.hdcp2.rxstatus[1]) << 8 | in check_receiver_id_list_ready()
39 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0; in check_receiver_id_list_ready()
49 status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) && in check_hdcp2_capable()
50 HDCP_2_2_DP_HDCP_CAPABLE(hdcp->auth.msg.hdcp2.rxcaps_dp[2]) ? in check_hdcp2_capable()
54 status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ? in check_hdcp2_capable()
66 ret = HDCP_2_2_DP_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_reauthentication_request()
70 ret = HDCP_2_2_HDMI_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus[1]) ? in check_reauthentication_request()
79 return HDCP_2_2_DP_RXSTATUS_LINK_FAILED(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_link_integrity_failure_dp()
[all …]
Dhdcp_psp.c514 if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_hdcp2_create_session()
517 else if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_1) in mod_hdcp_hdcp2_create_session()
520 else if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_MAX) in mod_hdcp_hdcp2_create_session()
596 memcpy(&hdcp->auth.msg.hdcp2.ake_init[0], &msg_out->prepare.transmitter_message[0], in mod_hdcp_hdcp2_prepare_ake_init()
597 sizeof(hdcp->auth.msg.hdcp2.ake_init)); in mod_hdcp_hdcp2_prepare_ake_init()
623 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.ake_cert, in mod_hdcp_hdcp2_validate_ake_cert()
624 sizeof(hdcp->auth.msg.hdcp2.ake_cert)); in mod_hdcp_hdcp2_validate_ake_cert()
636 memcpy(hdcp->auth.msg.hdcp2.ake_no_stored_km, in mod_hdcp_hdcp2_validate_ake_cert()
638 sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km)); in mod_hdcp_hdcp2_validate_ake_cert()
640 memcpy(hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_hdcp2_validate_ake_cert()
[all …]
Dhdcp2_transition.c41 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition()
53 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition()
91 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_transition()
104 if (adjust->hdcp2.increase_h_prime_timeout) in mod_hdcp_hdcp2_transition()
180 adjust->hdcp2.force_no_stored_km = 1; in mod_hdcp_hdcp2_transition()
382 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition()
394 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition()
416 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_dp_transition()
429 if (adjust->hdcp2.increase_h_prime_timeout) in mod_hdcp_hdcp2_dp_transition()
494 adjust->hdcp2.force_no_stored_km = 1; in mod_hdcp_hdcp2_dp_transition()
[all …]
Dhdcp.c47 hdcp->connection.link.adjust.hdcp2.disable = 1; in push_error_status()
87 !hdcp->connection.link.adjust.hdcp2.disable && in is_cp_desired_hdcp2()
115 status = mod_hdcp_hdcp2_execution(hdcp, event_ctx, &input->hdcp2); in execution()
118 event_ctx, &input->hdcp2); in execution()
177 event_ctx, &input->hdcp2, output); in transition()
180 event_ctx, &input->hdcp2, output); in transition()
207 if (hdcp->auth.trans_input.hdcp2.create_session == PASS) { in reset_authentication()
507 if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_query_display()
509 else if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_1) in mod_hdcp_query_display()
Dhdcp.h114 struct mod_hdcp_transition_input_hdcp2 hdcp2; member
158 struct mod_hdcp_message_hdcp2 hdcp2; member
/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c184 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_0; in hdcp_update_display()
197 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_0; in hdcp_update_display()
200 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_1; in hdcp_update_display()
/linux-5.19.10/drivers/gpu/drm/amd/display/modules/inc/
Dmod_hdcp.h193 struct mod_hdcp_link_adjustment_hdcp2 hdcp2; member