Home
last modified time | relevance | path

Searched refs:drv_fw (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/scsi/csiostor/
Dcsio_hw.c2321 const struct fw_hdr *drv_fw; in csio_hw_prep_fw() local
2323 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()
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c3470 const struct fw_hdr *drv_fw; in t4_prep_fw() local
3472 drv_fw = &fw_info->fw_hdr; in t4_prep_fw()
3479 card_fw_usable = fw_compatible(drv_fw, (const void *)card_fw); in t4_prep_fw()
3488 fs_fw_usable = fw_compatible(drv_fw, fs_fw); in t4_prep_fw()
3494 if (card_fw_usable && card_fw->fw_ver == drv_fw->fw_ver && in t4_prep_fw()
3495 (!fs_fw_usable || fs_fw->fw_ver == drv_fw->fw_ver)) { in t4_prep_fw()
3521 d = be32_to_cpu(drv_fw->fw_ver); in t4_prep_fw()