Lines Matching defs:hdr
118 const struct r92c_fw_hdr *hdr;
134 if (len < sizeof(*hdr) || len > sc->fwsize_limit) {
140 hdr = (const struct r92c_fw_hdr *)ptr;
142 if ((le16toh(hdr->signature) >> 4) == sc->fwsig) {
143 sc->fwver = le16toh(hdr->version);
147 le16toh(hdr->version), le16toh(hdr->subversion),
148 hdr->month, hdr->date, hdr->hour, hdr->minute);
149 ptr += sizeof(*hdr);
150 len -= sizeof(*hdr);