Lines Matching refs:fwhdr_to_cmp
109 struct bfi_ioc_image_hdr_s *fwhdr_to_cmp);
1538 struct bfi_ioc_image_hdr_s *fwhdr_to_cmp) in bfa_ioc_fw_ver_compatible() argument
1540 if (drv_fwhdr->signature != fwhdr_to_cmp->signature) in bfa_ioc_fw_ver_compatible()
1543 if (drv_fwhdr->fwver.major != fwhdr_to_cmp->fwver.major) in bfa_ioc_fw_ver_compatible()
1546 if (drv_fwhdr->fwver.minor != fwhdr_to_cmp->fwver.minor) in bfa_ioc_fw_ver_compatible()
1549 if (drv_fwhdr->fwver.maint != fwhdr_to_cmp->fwver.maint) in bfa_ioc_fw_ver_compatible()
1552 if (drv_fwhdr->fwver.patch == fwhdr_to_cmp->fwver.patch && in bfa_ioc_fw_ver_compatible()
1553 drv_fwhdr->fwver.phase == fwhdr_to_cmp->fwver.phase && in bfa_ioc_fw_ver_compatible()
1554 drv_fwhdr->fwver.build == fwhdr_to_cmp->fwver.build) { in bfa_ioc_fw_ver_compatible()
1555 return bfa_ioc_fwver_md5_check(drv_fwhdr, fwhdr_to_cmp); in bfa_ioc_fw_ver_compatible()
1584 struct bfi_ioc_image_hdr_s *fwhdr_to_cmp) in bfa_ioc_fw_ver_patch_cmp() argument
1586 if (bfa_ioc_fw_ver_compatible(base_fwhdr, fwhdr_to_cmp) == BFA_FALSE) in bfa_ioc_fw_ver_patch_cmp()
1589 if (fwhdr_to_cmp->fwver.patch > base_fwhdr->fwver.patch) in bfa_ioc_fw_ver_patch_cmp()
1592 else if (fwhdr_to_cmp->fwver.patch < base_fwhdr->fwver.patch) in bfa_ioc_fw_ver_patch_cmp()
1601 if (fwhdr_is_ga(fwhdr_to_cmp)) in bfa_ioc_fw_ver_patch_cmp()
1606 if (fwhdr_is_ga(fwhdr_to_cmp)) in bfa_ioc_fw_ver_patch_cmp()
1610 if (fwhdr_to_cmp->fwver.phase > base_fwhdr->fwver.phase) in bfa_ioc_fw_ver_patch_cmp()
1612 else if (fwhdr_to_cmp->fwver.phase < base_fwhdr->fwver.phase) in bfa_ioc_fw_ver_patch_cmp()
1615 if (fwhdr_to_cmp->fwver.build > base_fwhdr->fwver.build) in bfa_ioc_fw_ver_patch_cmp()
1617 else if (fwhdr_to_cmp->fwver.build < base_fwhdr->fwver.build) in bfa_ioc_fw_ver_patch_cmp()