Searched refs:flash_fwhdr (Results 1 – 2 of 2) sorted by relevance
1339 bfa_ioc_flash_fwver_valid(struct bfi_ioc_image_hdr *flash_fwhdr) in bfa_ioc_flash_fwver_valid() argument1341 if (flash_fwhdr->fwver.major == 0 || flash_fwhdr->fwver.major == 0xFF) in bfa_ioc_flash_fwver_valid()1753 struct bfi_ioc_image_hdr *flash_fwhdr; in bfa_ioc_flash_fwver_cmp() local1761 flash_fwhdr = (struct bfi_ioc_image_hdr *)fwimg; in bfa_ioc_flash_fwver_cmp()1762 if (bfa_ioc_flash_fwver_valid(flash_fwhdr)) in bfa_ioc_flash_fwver_cmp()1763 return bfa_ioc_fw_ver_patch_cmp(base_fwhdr, flash_fwhdr); in bfa_ioc_flash_fwver_cmp()
1562 bfa_ioc_flash_fwver_valid(struct bfi_ioc_image_hdr_s *flash_fwhdr) in bfa_ioc_flash_fwver_valid() argument1564 if (flash_fwhdr->fwver.major == 0 || flash_fwhdr->fwver.major == 0xFF) in bfa_ioc_flash_fwver_valid()1642 struct bfi_ioc_image_hdr_s *flash_fwhdr; in bfa_ioc_flash_fwver_cmp() local1650 flash_fwhdr = (struct bfi_ioc_image_hdr_s *) fwimg; in bfa_ioc_flash_fwver_cmp()1651 if (bfa_ioc_flash_fwver_valid(flash_fwhdr) == BFA_TRUE) in bfa_ioc_flash_fwver_cmp()1652 return bfa_ioc_fw_ver_patch_cmp(base_fwhdr, flash_fwhdr); in bfa_ioc_flash_fwver_cmp()