Lines Matching refs:fwhdr
1144 struct bfi_ioc_image_hdr fwhdr; in bfa_ioc_hw_sem_init() local
1160 bfa_nw_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_hw_sem_init()
1162 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { in bfa_ioc_hw_sem_init()
1283 bfa_nw_ioc_fwver_get(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) in bfa_nw_ioc_fwver_get() argument
1288 u32 *fwsig = (u32 *) fwhdr; in bfa_nw_ioc_fwver_get()
1348 fwhdr_is_ga(struct bfi_ioc_image_hdr *fwhdr) in fwhdr_is_ga() argument
1350 if (fwhdr->fwver.phase == 0 && in fwhdr_is_ga()
1351 fwhdr->fwver.build == 0) in fwhdr_is_ga()
1771 bfa_nw_ioc_fwver_cmp(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) in bfa_nw_ioc_fwver_cmp() argument
1780 drv_smem_cmp = bfa_ioc_fw_ver_patch_cmp(drv_fwhdr, fwhdr); in bfa_nw_ioc_fwver_cmp()
1790 smem_flash_cmp = bfa_ioc_flash_fwver_cmp(ioc, fwhdr); in bfa_nw_ioc_fwver_cmp()
1807 struct bfi_ioc_image_hdr fwhdr; in bfa_ioc_fwver_valid() local
1809 bfa_nw_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1810 if (swab32(fwhdr.bootenv) != boot_env) in bfa_ioc_fwver_valid()
1813 return bfa_nw_ioc_fwver_cmp(ioc, &fwhdr); in bfa_ioc_fwver_valid()