Lines Matching refs:fw_hdr
2919 offsetof(struct fw_hdr, fw_ver), 1, in t4_get_fw_version()
2933 offsetof(struct fw_hdr, tp_microcode_ver), in t4_get_tp_version()
3036 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible()
3086 struct fw_hdr *card_fw, enum dev_state state, in t4_prep_fw()
3090 const struct fw_hdr *fs_fw; in t4_prep_fw()
3091 const struct fw_hdr *drv_fw; in t4_prep_fw()
3093 drv_fw = &fw_info->fw_hdr; in t4_prep_fw()
3221 const struct fw_hdr *hdr) in t4_fw_matches_chip()
3252 const struct fw_hdr *hdr = (const struct fw_hdr *)fw_data; in t4_load_fw()
3299 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff); in t4_load_fw()
3314 fw_img_start + offsetof(struct fw_hdr, fw_ver), in t4_load_fw()
6073 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data; in t4_fw_upgrade() local
6076 if (!t4_fw_matches_chip(adap, fw_hdr)) in t4_fw_upgrade()
6095 reset = ((be32_to_cpu(fw_hdr->flags) & FW_HDR_FLAGS_RESET_HALT) == 0); in t4_fw_upgrade()