Lines Matching refs:fw_hdr
1695 offsetof(struct fw_hdr, fw_ver), 1, in t4_get_fw_version()
1709 offsetof(struct fw_hdr, tp_microcode_ver), in t4_get_tp_version()
1753 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible()
1803 struct fw_hdr *card_fw, enum dev_state state, in t4_prep_fw()
1807 const struct fw_hdr *fs_fw; in t4_prep_fw()
1808 const struct fw_hdr *drv_fw; in t4_prep_fw()
1810 drv_fw = &fw_info->fw_hdr; in t4_prep_fw()
1938 const struct fw_hdr *hdr) in t4_fw_matches_chip()
1968 const struct fw_hdr *hdr = (const struct fw_hdr *)fw_data; in t4_load_fw()
2015 ((struct fw_hdr *)first_page)->fw_ver = htonl(0xffffffff); in t4_load_fw()
2030 fw_img_start + offsetof(struct fw_hdr, fw_ver), in t4_load_fw()
4171 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data; in t4_fw_upgrade() local
4174 if (!t4_fw_matches_chip(adap, fw_hdr)) in t4_fw_upgrade()
4193 reset = ((ntohl(fw_hdr->flags) & FW_HDR_FLAGS_RESET_HALT) == 0); in t4_fw_upgrade()