Searched refs:DRM_HDCP_KSV_LEN (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_hdcp.c | 40 vrl_sz = (vrl_ksv_cnt * DRM_HDCP_KSV_LEN) + 1; in drm_hdcp_get_revoked_ksv_count() 63 vrl_ksv_sz = vrl_ksv_cnt * DRM_HDCP_KSV_LEN; in drm_hdcp_get_revoked_ksvs() 69 memcpy((*revoked_ksv_list) + (ksv_count * DRM_HDCP_KSV_LEN), in drm_hdcp_get_revoked_ksvs() 130 *revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, GFP_KERNEL); in drm_hdcp_parse_hdcp1_srm() 193 *revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, GFP_KERNEL); in drm_hdcp_parse_hdcp2_srm() 199 ksv_sz = ksv_count * DRM_HDCP_KSV_LEN; in drm_hdcp_parse_hdcp2_srm() 300 if (!memcmp(&ksvs[j * DRM_HDCP_KSV_LEN], in drm_hdcp_check_ksvs_revoked() 301 &revoked_ksv_list[i * DRM_HDCP_KSV_LEN], in drm_hdcp_check_ksvs_revoked() 302 DRM_HDCP_KSV_LEN)) { in drm_hdcp_check_ksvs_revoked() 304 drm_hdcp_print_ksv(&ksvs[j * DRM_HDCP_KSV_LEN]); in drm_hdcp_check_ksvs_revoked()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dp_hdcp.c | 36 u8 aksv[DRM_HDCP_KSV_LEN] = {}; in intel_dp_hdcp_write_an_aksv() 57 aksv, DRM_HDCP_KSV_LEN); in intel_dp_hdcp_write_an_aksv() 58 if (dpcd_ret != DRM_HDCP_KSV_LEN) { in intel_dp_hdcp_write_an_aksv() 74 DRM_HDCP_KSV_LEN); in intel_dp_hdcp_read_bksv() 75 if (ret != DRM_HDCP_KSV_LEN) { in intel_dp_hdcp_read_bksv() 183 size_t len = min(num_downstream - i, 3) * DRM_HDCP_KSV_LEN; in intel_dp_hdcp_read_ksv_fifo() 186 ksv_fifo + i * DRM_HDCP_KSV_LEN, in intel_dp_hdcp_read_ksv_fifo()
|
D | intel_hdcp.c | 34 for (i = 0; i < DRM_HDCP_KSV_LEN; i++) in intel_hdcp_is_ksv_valid() 326 u8 *ksv = &ksv_fifo[i * DRM_HDCP_KSV_LEN]; in intel_hdcp_validate_v_prime() 346 sha_leftovers = DRM_HDCP_KSV_LEN - sha_empty; in intel_hdcp_validate_v_prime() 573 ksv_fifo = kcalloc(DRM_HDCP_KSV_LEN, num_downstream, GFP_KERNEL); in intel_hdcp_auth_downstream() 633 u8 shim[DRM_HDCP_KSV_LEN]; in intel_hdcp_auth()
|
D | intel_gmbus.c | 745 u8 buf[DRM_HDCP_KSV_LEN] = { 0 }; in intel_gmbus_output_aksv()
|
D | intel_hdmi.c | 1373 DRM_HDCP_KSV_LEN); in intel_hdmi_hdcp_read_bksv() 1453 ksv_fifo, num_downstream * DRM_HDCP_KSV_LEN); in intel_hdmi_hdcp_read_ksv_fifo()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_hdcp.h | 21 #define DRM_HDCP_KSV_LEN 5 macro 96 #define HDCP_2_2_RECEIVER_ID_LEN DRM_HDCP_KSV_LEN
|