Searched refs:drv_fw (Results 1 – 2 of 2) sorted by relevance
2321 const struct fw_hdr *drv_fw; in csio_hw_prep_fw() local2323 drv_fw = &fw_info->fw_hdr; in csio_hw_prep_fw()2330 card_fw_usable = fw_compatible(drv_fw, (const void *)card_fw); in csio_hw_prep_fw()2339 fs_fw_usable = fw_compatible(drv_fw, fs_fw); in csio_hw_prep_fw()2345 if (card_fw_usable && card_fw->fw_ver == drv_fw->fw_ver && in csio_hw_prep_fw()2346 (!fs_fw_usable || fs_fw->fw_ver == drv_fw->fw_ver)) { in csio_hw_prep_fw()2372 d = be32_to_cpu(drv_fw->fw_ver); in csio_hw_prep_fw()
3491 const struct fw_hdr *drv_fw; in t4_prep_fw() local3493 drv_fw = &fw_info->fw_hdr; in t4_prep_fw()3500 card_fw_usable = fw_compatible(drv_fw, (const void *)card_fw); in t4_prep_fw()3509 fs_fw_usable = fw_compatible(drv_fw, fs_fw); in t4_prep_fw()3515 if (card_fw_usable && card_fw->fw_ver == drv_fw->fw_ver && in t4_prep_fw()3516 (!fs_fw_usable || fs_fw->fw_ver == drv_fw->fw_ver)) { in t4_prep_fw()3542 d = be32_to_cpu(drv_fw->fw_ver); in t4_prep_fw()