Lines Matching refs:fwhdr
703 struct bfi_ioc_image_hdr_s fwhdr; in bfa_iocpf_sm_fwcheck_entry() local
723 bfa_ioc_fwver_get(iocpf->ioc, &fwhdr); in bfa_iocpf_sm_fwcheck_entry()
725 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { in bfa_iocpf_sm_fwcheck_entry()
742 bfa_trc(iocpf->ioc, swab32(fwhdr.exec)); in bfa_iocpf_sm_fwcheck_entry()
1440 bfa_ioc_fwver_get(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *fwhdr) in bfa_ioc_fwver_get() argument
1445 u32 *fwsig = (u32 *) fwhdr; in bfa_ioc_fwver_get()
1504 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_fwver_valid() local
1506 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1508 if (swab32(fwhdr.bootenv) != boot_env) { in bfa_ioc_fwver_valid()
1509 bfa_trc(ioc, fwhdr.bootenv); in bfa_ioc_fwver_valid()
1514 return bfa_ioc_fwver_cmp(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1568 static bfa_boolean_t fwhdr_is_ga(struct bfi_ioc_image_hdr_s *fwhdr) in fwhdr_is_ga() argument
1570 if (fwhdr->fwver.phase == 0 && in fwhdr_is_ga()
1571 fwhdr->fwver.build == 0) in fwhdr_is_ga()