Home
last modified time | relevance | path

Searched refs:DRM_HDCP_KSV_LEN (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/
Ddrm_hdcp.c48 vrl_sz = (vrl_ksv_cnt * DRM_HDCP_KSV_LEN) + 1; in drm_hdcp_get_revoked_ksv_count()
71 vrl_ksv_sz = vrl_ksv_cnt * DRM_HDCP_KSV_LEN; in drm_hdcp_get_revoked_ksvs()
138 srm_data->revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, in drm_hdcp_parse_hdcp1_srm()
202 srm_data->revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, in drm_hdcp_parse_hdcp2_srm()
209 ksv_sz = ksv_count * DRM_HDCP_KSV_LEN; in drm_hdcp_parse_hdcp2_srm()
308 for (j = 0; j < DRM_HDCP_KSV_LEN; j++) in drm_hdcp_check_ksvs_revoked()
311 } else if (j == (DRM_HDCP_KSV_LEN - 1)) { in drm_hdcp_check_ksvs_revoked()
318 rev_ksv_list += DRM_HDCP_KSV_LEN; in drm_hdcp_check_ksvs_revoked()
322 ksvs += DRM_HDCP_KSV_LEN; in drm_hdcp_check_ksvs_revoked()
/Linux-v5.4/include/drm/
Ddrm_hdcp.h21 #define DRM_HDCP_KSV_LEN 5 macro
93 #define HDCP_2_2_RECEIVER_ID_LEN DRM_HDCP_KSV_LEN
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_hdcp.c31 for (i = 0; i < DRM_HDCP_KSV_LEN; i++) in intel_hdcp_is_ksv_valid()
313 u8 *ksv = &ksv_fifo[i * DRM_HDCP_KSV_LEN]; in intel_hdcp_validate_v_prime()
330 sha_leftovers = DRM_HDCP_KSV_LEN - sha_empty; in intel_hdcp_validate_v_prime()
530 ksv_fifo = kcalloc(DRM_HDCP_KSV_LEN, num_downstream, GFP_KERNEL); in intel_hdcp_auth_downstream()
588 u8 shim[DRM_HDCP_KSV_LEN]; in intel_hdcp_auth()
Dintel_gmbus.c747 u8 buf[DRM_HDCP_KSV_LEN] = { 0 }; in intel_gmbus_output_aksv()
Dintel_dp.c5610 .size = DRM_HDCP_KSV_LEN, in intel_dp_hdcp_write_an_aksv()
5612 u8 txbuf[HEADER_SIZE + DRM_HDCP_KSV_LEN] = {}, rxbuf[2], reply = 0; in intel_dp_hdcp_write_an_aksv()
5658 DRM_HDCP_KSV_LEN); in intel_dp_hdcp_read_bksv()
5659 if (ret != DRM_HDCP_KSV_LEN) { in intel_dp_hdcp_read_bksv()
5754 size_t len = min(num_downstream - i, 3) * DRM_HDCP_KSV_LEN; in intel_dp_hdcp_read_ksv_fifo()
5757 ksv_fifo + i * DRM_HDCP_KSV_LEN, in intel_dp_hdcp_read_ksv_fifo()
Dintel_hdmi.c1337 DRM_HDCP_KSV_LEN); in intel_hdmi_hdcp_read_bksv()
1405 ksv_fifo, num_downstream * DRM_HDCP_KSV_LEN); in intel_hdmi_hdcp_read_ksv_fifo()