Lines Matching refs:fw_hdr
3111 offsetof(struct fw_hdr, fw_ver), 1,
3125 offsetof(struct fw_hdr, fw_ver), 1,
3139 offsetof(struct fw_hdr, tp_microcode_ver),
3415 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2)
3465 struct fw_hdr *card_fw, enum dev_state state,
3469 const struct fw_hdr *fs_fw;
3470 const struct fw_hdr *drv_fw;
3472 drv_fw = &fw_info->fw_hdr;
3600 const struct fw_hdr *hdr)
3631 const struct fw_hdr *hdr = (const struct fw_hdr *)fw_data;
3679 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff);
3693 ret = t4_write_flash(adap, fw_start + offsetof(struct fw_hdr, fw_ver),
7157 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data;
7160 if (!t4_fw_matches_chip(adap, fw_hdr))
7195 reset = ((be32_to_cpu(fw_hdr->flags) & FW_HDR_FLAGS_RESET_HALT) == 0);