Lines Matching refs:fw_hdr
3138 offsetof(struct fw_hdr, fw_ver), 1, in t4_get_fw_version()
3152 offsetof(struct fw_hdr, fw_ver), 1, in t4_get_bs_version()
3166 offsetof(struct fw_hdr, tp_microcode_ver), in t4_get_tp_version()
3442 static int fw_compatible(const struct fw_hdr *hdr1, const struct fw_hdr *hdr2) in fw_compatible()
3492 struct fw_hdr *card_fw, enum dev_state state, in t4_prep_fw()
3496 const struct fw_hdr *fs_fw; in t4_prep_fw()
3497 const struct fw_hdr *drv_fw; in t4_prep_fw()
3499 drv_fw = &fw_info->fw_hdr; in t4_prep_fw()
3627 const struct fw_hdr *hdr) in t4_fw_matches_chip()
3658 const struct fw_hdr *hdr = (const struct fw_hdr *)fw_data; in t4_load_fw()
3706 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff); in t4_load_fw()
3721 fw_start + offsetof(struct fw_hdr, fw_ver), in t4_load_fw()
7019 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data; in t4_fw_upgrade() local
7022 if (!t4_fw_matches_chip(adap, fw_hdr)) in t4_fw_upgrade()
7057 reset = ((be32_to_cpu(fw_hdr->flags) & FW_HDR_FLAGS_RESET_HALT) == 0); in t4_fw_upgrade()