Lines Matching refs:uhp
51 ucode_header_validate_intel(ucode_header_intel_t *uhp) in ucode_header_validate_intel() argument
55 if (uhp == NULL) in ucode_header_validate_intel()
61 if (uhp->uh_header_ver != 0x1) in ucode_header_validate_intel()
65 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size); in ucode_header_validate_intel()
66 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size); in ucode_header_validate_intel()
122 ucode_checksum_intel_extsig(ucode_header_intel_t *uhp, in ucode_checksum_intel_extsig() argument
139 diff -= uhp->uh_signature + uhp->uh_proc_flags + in ucode_checksum_intel_extsig()
140 uhp->uh_checksum; in ucode_checksum_intel_extsig()
156 ucode_header_intel_t *uhp; in ucode_validate_intel() local
160 uhp = (ucode_header_intel_t *)curbuf; in ucode_validate_intel()
162 if ((rc = ucode_header_validate_intel(uhp)) != EM_OK) in ucode_validate_intel()
165 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size); in ucode_validate_intel()
170 body_size = UCODE_BODY_SIZE_INTEL(uhp->uh_body_size); in ucode_validate_intel()
187 if (ucode_checksum_intel_extsig(uhp, sig) != 0) in ucode_validate_intel()