Lines Matching refs:ksv_count

32 	u32 parsed_bytes = 0, ksv_count = 0, vrl_ksv_cnt, vrl_sz;  in drm_hdcp_get_revoked_ksv_count()  local
36 ksv_count += vrl_ksv_cnt; in drm_hdcp_get_revoked_ksv_count()
48 ksv_count = 0; in drm_hdcp_get_revoked_ksv_count()
50 return ksv_count; in drm_hdcp_get_revoked_ksv_count()
57 u32 parsed_bytes = 0, ksv_count = 0; in drm_hdcp_get_revoked_ksvs() local
67 memcpy((*revoked_ksv_list) + (ksv_count * DRM_HDCP_KSV_LEN), in drm_hdcp_get_revoked_ksvs()
70 ksv_count += vrl_ksv_cnt; in drm_hdcp_get_revoked_ksvs()
76 return ksv_count; in drm_hdcp_get_revoked_ksvs()
88 u32 vrl_length, ksv_count; in drm_hdcp_parse_hdcp1_srm() local
122 ksv_count = drm_hdcp_get_revoked_ksv_count(buf, vrl_length); in drm_hdcp_parse_hdcp1_srm()
123 if (!ksv_count) { in drm_hdcp_parse_hdcp1_srm()
128 *revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, GFP_KERNEL); in drm_hdcp_parse_hdcp1_srm()
135 vrl_length) != ksv_count) { in drm_hdcp_parse_hdcp1_srm()
141 *revoked_ksv_cnt = ksv_count; in drm_hdcp_parse_hdcp1_srm()
149 u32 vrl_length, ksv_count, ksv_sz; in drm_hdcp_parse_hdcp2_srm() local
185 ksv_count = (*buf << 2) | DRM_HDCP_2_KSV_COUNT_2_LSBITS(*(buf + 1)); in drm_hdcp_parse_hdcp2_srm()
186 if (!ksv_count) { in drm_hdcp_parse_hdcp2_srm()
191 *revoked_ksv_list = kcalloc(ksv_count, DRM_HDCP_KSV_LEN, GFP_KERNEL); in drm_hdcp_parse_hdcp2_srm()
197 ksv_sz = ksv_count * DRM_HDCP_KSV_LEN; in drm_hdcp_parse_hdcp2_srm()
200 DRM_DEBUG("Revoked KSVs: %d\n", ksv_count); in drm_hdcp_parse_hdcp2_srm()
203 *revoked_ksv_cnt = ksv_count; in drm_hdcp_parse_hdcp2_srm()
284 u32 ksv_count) in drm_hdcp_check_ksvs_revoked() argument
297 for (j = 0; j < ksv_count; j++) in drm_hdcp_check_ksvs_revoked()