Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_log.h111 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, \
112 sizeof(hdcp->auth.msg.hdcp1.bksv)); \
113 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, \
114 sizeof(hdcp->auth.msg.hdcp1.bcaps)); \
116 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, \
117 sizeof(hdcp->auth.msg.hdcp1.bstatus)); \
118 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, \
119 sizeof(hdcp->auth.msg.hdcp1.an)); \
120 HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv, \
121 sizeof(hdcp->auth.msg.hdcp1.aksv)); \
[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.c33 memcpy(&n, hdcp->auth.msg.hdcp1.bksv, sizeof(uint64_t)); in validate_bksv()
46 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ? in check_ksv_ready()
49 return (hdcp->auth.msg.hdcp1.bcaps & DRM_HDCP_DDC_BCAPS_KSV_FIFO_READY) ? in check_ksv_ready()
56 return (hdcp->auth.msg.hdcp1.bcaps & DP_BCAPS_HDCP_CAPABLE) ? in check_hdcp_capable_dp()
65 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp()
78 return (hdcp->auth.msg.hdcp1.bstatus & in check_link_integrity_dp()
87 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_REAUTH_REQ) ? in check_no_reauthentication_request_dp()
97 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8) in check_no_max_cascade()
101 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus >> 8) in check_no_max_cascade()
112 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.c157 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary; in mod_hdcp_hdcp1_create_session()
158 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary, in mod_hdcp_hdcp1_create_session()
159 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session()
160 memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary, in mod_hdcp_hdcp1_create_session()
161 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session()
214 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_hdcp1_validate_rx()
217 hdcp_cmd->in_msg.hdcp1_first_part_authentication.r0_prime_primary = hdcp->auth.msg.hdcp1.r0p; in mod_hdcp_hdcp1_validate_rx()
218 hdcp_cmd->in_msg.hdcp1_first_part_authentication.bcaps = hdcp->auth.msg.hdcp1.bcaps; in mod_hdcp_hdcp1_validate_rx()
282 …hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list_size = hdcp->auth.msg.hdcp1.ksvlist_siz… in mod_hdcp_hdcp1_validate_ksvlist_vp()
283 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.c64 !hdcp->connection.link.adjust.hdcp1.disable && in is_cp_desired_hdcp1()
108 status = mod_hdcp_hdcp1_execution(hdcp, event_ctx, &input->hdcp1); in execution()
111 event_ctx, &input->hdcp1); in execution()
166 event_ctx, &input->hdcp1, output); in transition()
169 event_ctx, &input->hdcp1, output); in transition()
189 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-v5.10/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()
459 link->adjust.hdcp1.disable = 0; in update_config()
/Linux-v5.10/drivers/gpu/drm/amd/display/modules/inc/
Dmod_hdcp.h179 struct mod_hdcp_link_adjustment_hdcp1 hdcp1; member