Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A Dfw_inc.c43 const struct wil_fw_record_file_header *fh_; in wil_fw_verify() local
64 fh_ = (struct wil_fw_record_file_header *)&hdr[1]; in wil_fw_verify()
65 dlen = le32_to_cpu(fh_->data_len); in wil_fw_verify()
81 if (le32_to_cpu(fh_->signature) != WIL_FW_SIGNATURE) { in wil_fw_verify()
83 le32_to_cpu(fh_->signature)); in wil_fw_verify()
88 if (le32_to_cpu(fh_->version) > WIL_FW_FMT_VERSION) { in wil_fw_verify()
90 le32_to_cpu(fh_->version)); in wil_fw_verify()
95 fh = *fh_; in wil_fw_verify()
100 crc = crc32_le(crc, (unsigned char const *)&fh_[1], in wil_fw_verify()
104 if (crc != le32_to_cpu(fh_->crc)) { in wil_fw_verify()
[all …]