Lines Matching refs:fh_
50 const struct wil_fw_record_file_header *fh_; in wil_fw_verify() local
71 fh_ = (struct wil_fw_record_file_header *)&hdr[1]; in wil_fw_verify()
72 dlen = le32_to_cpu(fh_->data_len); in wil_fw_verify()
88 if (le32_to_cpu(fh_->signature) != WIL_FW_SIGNATURE) { in wil_fw_verify()
90 le32_to_cpu(fh_->signature)); in wil_fw_verify()
95 if (le32_to_cpu(fh_->version) > WIL_FW_FMT_VERSION) { in wil_fw_verify()
97 le32_to_cpu(fh_->version)); in wil_fw_verify()
102 fh = *fh_; in wil_fw_verify()
107 crc = crc32_le(crc, (unsigned char const *)&fh_[1], in wil_fw_verify()
111 if (crc != le32_to_cpu(fh_->crc)) { in wil_fw_verify()
114 (ulong)dlen, crc, le32_to_cpu(fh_->crc)); in wil_fw_verify()