Lines Matching refs:fwhdr
702 struct bfi_ioc_image_hdr_s fwhdr; in bfa_iocpf_sm_fwcheck_entry() local
722 bfa_ioc_fwver_get(iocpf->ioc, &fwhdr); in bfa_iocpf_sm_fwcheck_entry()
724 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { in bfa_iocpf_sm_fwcheck_entry()
741 bfa_trc(iocpf->ioc, swab32(fwhdr.exec)); in bfa_iocpf_sm_fwcheck_entry()
1439 bfa_ioc_fwver_get(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *fwhdr) in bfa_ioc_fwver_get() argument
1444 u32 *fwsig = (u32 *) fwhdr; in bfa_ioc_fwver_get()
1503 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_fwver_valid() local
1505 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1507 if (swab32(fwhdr.bootenv) != boot_env) { in bfa_ioc_fwver_valid()
1508 bfa_trc(ioc, fwhdr.bootenv); in bfa_ioc_fwver_valid()
1513 return bfa_ioc_fwver_cmp(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1567 static bfa_boolean_t fwhdr_is_ga(struct bfi_ioc_image_hdr_s *fwhdr) in fwhdr_is_ga() argument
1569 if (fwhdr->fwver.phase == 0 && in fwhdr_is_ga()
1570 fwhdr->fwver.build == 0) in fwhdr_is_ga()