Lines Matching refs:fwhdr_to_cmp
109 struct bfi_ioc_image_hdr_s *fwhdr_to_cmp);
1535 struct bfi_ioc_image_hdr_s *fwhdr_to_cmp) in bfa_ioc_fw_ver_compatible() argument
1537 if (drv_fwhdr->signature != fwhdr_to_cmp->signature) in bfa_ioc_fw_ver_compatible()
1540 if (drv_fwhdr->fwver.major != fwhdr_to_cmp->fwver.major) in bfa_ioc_fw_ver_compatible()
1543 if (drv_fwhdr->fwver.minor != fwhdr_to_cmp->fwver.minor) in bfa_ioc_fw_ver_compatible()
1546 if (drv_fwhdr->fwver.maint != fwhdr_to_cmp->fwver.maint) in bfa_ioc_fw_ver_compatible()
1549 if (drv_fwhdr->fwver.patch == fwhdr_to_cmp->fwver.patch && in bfa_ioc_fw_ver_compatible()
1550 drv_fwhdr->fwver.phase == fwhdr_to_cmp->fwver.phase && in bfa_ioc_fw_ver_compatible()
1551 drv_fwhdr->fwver.build == fwhdr_to_cmp->fwver.build) { in bfa_ioc_fw_ver_compatible()
1552 return bfa_ioc_fwver_md5_check(drv_fwhdr, fwhdr_to_cmp); in bfa_ioc_fw_ver_compatible()
1581 struct bfi_ioc_image_hdr_s *fwhdr_to_cmp) in bfa_ioc_fw_ver_patch_cmp() argument
1583 if (bfa_ioc_fw_ver_compatible(base_fwhdr, fwhdr_to_cmp) == BFA_FALSE) in bfa_ioc_fw_ver_patch_cmp()
1586 if (fwhdr_to_cmp->fwver.patch > base_fwhdr->fwver.patch) in bfa_ioc_fw_ver_patch_cmp()
1589 else if (fwhdr_to_cmp->fwver.patch < base_fwhdr->fwver.patch) in bfa_ioc_fw_ver_patch_cmp()
1598 if (fwhdr_is_ga(fwhdr_to_cmp)) in bfa_ioc_fw_ver_patch_cmp()
1603 if (fwhdr_is_ga(fwhdr_to_cmp)) in bfa_ioc_fw_ver_patch_cmp()
1607 if (fwhdr_to_cmp->fwver.phase > base_fwhdr->fwver.phase) in bfa_ioc_fw_ver_patch_cmp()
1609 else if (fwhdr_to_cmp->fwver.phase < base_fwhdr->fwver.phase) in bfa_ioc_fw_ver_patch_cmp()
1612 if (fwhdr_to_cmp->fwver.build > base_fwhdr->fwver.build) in bfa_ioc_fw_ver_patch_cmp()
1614 else if (fwhdr_to_cmp->fwver.build < base_fwhdr->fwver.build) in bfa_ioc_fw_ver_patch_cmp()