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