Lines Matching refs:fwhdr
710 struct bfi_ioc_image_hdr_s fwhdr; in bfa_iocpf_sm_fwcheck_entry() local
730 bfa_ioc_fwver_get(iocpf->ioc, &fwhdr); in bfa_iocpf_sm_fwcheck_entry()
732 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { in bfa_iocpf_sm_fwcheck_entry()
750 bfa_trc(iocpf->ioc, swab32(fwhdr.exec)); in bfa_iocpf_sm_fwcheck_entry()
1452 bfa_ioc_fwver_get(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *fwhdr) in bfa_ioc_fwver_get() argument
1457 u32 *fwsig = (u32 *) fwhdr; in bfa_ioc_fwver_get()
1517 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_fwver_valid() local
1519 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1521 if (swab32(fwhdr.bootenv) != boot_env) { in bfa_ioc_fwver_valid()
1522 bfa_trc(ioc, fwhdr.bootenv); in bfa_ioc_fwver_valid()
1527 return bfa_ioc_fwver_cmp(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1581 static bfa_boolean_t fwhdr_is_ga(struct bfi_ioc_image_hdr_s *fwhdr) in fwhdr_is_ga() argument
1583 if (fwhdr->fwver.phase == 0 && in fwhdr_is_ga()
1584 fwhdr->fwver.build == 0) in fwhdr_is_ga()