Lines Matching defs:fw_hdr
3999 return t4_read_flash(adapter, start + offsetof(struct fw_hdr, fw_ver),
4010 int t4_get_fw_hdr(struct adapter *adapter, struct fw_hdr *hdr)
4030 return t4_read_flash(adapter, start + offsetof(struct fw_hdr, fw_ver),
4046 offsetof(struct fw_hdr, tp_microcode_ver), 1, vers, 0);
4252 const struct fw_hdr *hdr)
4285 const struct fw_hdr *hdr = (const struct fw_hdr *)fw_data;
4338 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff);
4353 fw_start + offsetof(struct fw_hdr, fw_ver),
8574 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data;
8576 be32_to_cpu(fw_hdr->magic) == FW_HDR_MAGIC_BOOTSTRAP;
8579 if (!t4_fw_matches_chip(adap, fw_hdr))