Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_log.c57 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_log_ddc_trace()
58 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_log_ddc_trace()
59 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_log_ddc_trace()
60 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_log_ddc_trace()
62 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_log_ddc_trace()
63 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_log_ddc_trace()
64 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, in mod_hdcp_log_ddc_trace()
65 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_log_ddc_trace()
66 HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv, in mod_hdcp_log_ddc_trace()
67 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_log_ddc_trace()
[all …]
Dhdcp_ddc.c249 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv()
250 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_read_bksv()
256 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps()
257 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_read_bcaps()
266 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus()
270 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus()
271 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_read_bstatus()
278 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_read_r0p()
279 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_read_r0p()
289 hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_read_ksvlist()
[all …]
Dhdcp1_execution.c34 memcpy(bksv, hdcp->auth.msg.hdcp1.bksv, sizeof(hdcp->auth.msg.hdcp1.bksv)); in validate_bksv()
48 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ? in check_ksv_ready()
51 return (hdcp->auth.msg.hdcp1.bcaps & DRM_HDCP_DDC_BCAPS_KSV_FIFO_READY) ? in check_ksv_ready()
58 return (hdcp->auth.msg.hdcp1.bcaps & DP_BCAPS_HDCP_CAPABLE) ? in check_hdcp_capable_dp()
67 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp()
80 return (hdcp->auth.msg.hdcp1.bstatus & in check_link_integrity_dp()
89 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_REAUTH_REQ) ? in check_no_reauthentication_request_dp()
99 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8) in check_no_max_cascade()
103 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus >> 8) in check_no_max_cascade()
114 status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp) ? in check_no_max_devs()
[all …]
Dhdcp1_transition.c51 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_transition()
111 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_transition()
167 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_dp_transition()
177 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_dp_transition()
233 } else if (conn->hdcp1_retry_count < conn->link.adjust.hdcp1.min_auth_retries_wa) { in mod_hdcp_hdcp1_dp_transition()
263 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_dp_transition()
287 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_dp_transition()
Dhdcp_psp.c278 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary; in mod_hdcp_hdcp1_create_session()
279 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary, in mod_hdcp_hdcp1_create_session()
280 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session()
281 memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary, in mod_hdcp_hdcp1_create_session()
282 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session()
335 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_hdcp1_validate_rx()
338 hdcp_cmd->in_msg.hdcp1_first_part_authentication.r0_prime_primary = hdcp->auth.msg.hdcp1.r0p; in mod_hdcp_hdcp1_validate_rx()
339 hdcp_cmd->in_msg.hdcp1_first_part_authentication.bcaps = hdcp->auth.msg.hdcp1.bcaps; in mod_hdcp_hdcp1_validate_rx()
403 …hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list_size = hdcp->auth.msg.hdcp1.ksvlist_siz… in mod_hdcp_hdcp1_validate_ksvlist_vp()
404 memcpy(hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list, hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_hdcp1_validate_ksvlist_vp()
[all …]
Dhdcp.c43 hdcp->connection.link.adjust.hdcp1.disable = 1; in push_error_status()
67 !hdcp->connection.link.adjust.hdcp1.disable && in is_cp_desired_hdcp1()
110 status = mod_hdcp_hdcp1_execution(hdcp, event_ctx, &input->hdcp1); in execution()
113 event_ctx, &input->hdcp1); in execution()
171 event_ctx, &input->hdcp1, output); in transition()
174 event_ctx, &input->hdcp1, output); in transition()
194 if (hdcp->auth.trans_input.hdcp1.create_session != UNKNOWN) { in reset_authentication()
Dhdcp.h113 struct mod_hdcp_transition_input_hdcp1 hdcp1; member
157 struct mod_hdcp_message_hdcp1 hdcp1; member
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c196 hdcp_w->link.adjust.hdcp1.disable = 0; in hdcp_update_display()
199 hdcp_w->link.adjust.hdcp1.disable = 1; in hdcp_update_display()
499 link->adjust.hdcp1.disable = 0; in update_config()
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/inc/
Dmod_hdcp.h192 struct mod_hdcp_link_adjustment_hdcp1 hdcp1; member