Home
last modified time | relevance | path

Searched refs:fw_vers (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/drivers/media/usb/dvb-usb/
Dgp8psk.c100 static int gp8psk_get_fw_version(struct dvb_usb_device *d, u8 *fw_vers) in gp8psk_get_fw_version() argument
102 return gp8psk_usb_in_op(d, GET_FW_VERS, 0, 0, fw_vers, 6); in gp8psk_get_fw_version()
112 u8 fpga_vers, fw_vers[6]; in gp8psk_info() local
114 if (!gp8psk_get_fw_version(d, fw_vers)) in gp8psk_info()
116 fw_vers[2], fw_vers[1], fw_vers[0], GP8PSK_FW_VERS(fw_vers), in gp8psk_info()
117 2000 + fw_vers[5], fw_vers[4], fw_vers[3]); in gp8psk_info()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
De1000_nvm.c687 void igb_get_fw_version(struct e1000_hw *hw, struct e1000_fw_version *fw_vers) in igb_get_fw_version() argument
693 memset(fw_vers, 0, sizeof(struct e1000_fw_version)); in igb_get_fw_version()
701 igb_read_invm_version(hw, fw_vers); in igb_get_fw_version()
711 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in igb_get_fw_version()
713 fw_vers->eep_minor = (fw_version & NVM_MINOR_MASK) in igb_get_fw_version()
715 fw_vers->eep_build = (fw_version & NVM_IMAGE_ID_MASK); in igb_get_fw_version()
721 igb_read_invm_version(hw, fw_vers); in igb_get_fw_version()
741 fw_vers->or_valid = true; in igb_get_fw_version()
742 fw_vers->or_major = in igb_get_fw_version()
744 fw_vers->or_build = in igb_get_fw_version()
[all …]
De1000_nvm.h34 void igb_get_fw_version(struct e1000_hw *hw, struct e1000_fw_version *fw_vers);
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dprovider.c276 props->fw_ver = dev->rdev.lldi.fw_vers; in c4iw_query_device()
454 FW_HDR_FW_VER_MAJOR_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
455 FW_HDR_FW_VER_MINOR_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
456 FW_HDR_FW_VER_MICRO_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
457 FW_HDR_FW_VER_BUILD_G(c4iw_dev->rdev.lldi.fw_vers)); in get_dev_fw_str()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ctl_defs.h186 u32 fw_vers; member
Dcxgb3_main.c1623 u32 fw_vers = 0; in get_drvinfo() local
1627 t3_get_fw_version(adapter, &fw_vers); in get_drvinfo()
1635 if (fw_vers) in get_drvinfo()
1638 G_FW_VERSION_TYPE(fw_vers) ? "T" : "N", in get_drvinfo()
1639 G_FW_VERSION_MAJOR(fw_vers), in get_drvinfo()
1640 G_FW_VERSION_MINOR(fw_vers), in get_drvinfo()
1641 G_FW_VERSION_MICRO(fw_vers), in get_drvinfo()
Dcxgb3_offload.c464 t3_get_fw_version(adapter, &e->fw_vers); in cxgb_offload_ctl()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c178 if (!adapter->params.fw_vers) in get_drvinfo()
183 FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), in get_drvinfo()
184 FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), in get_drvinfo()
185 FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), in get_drvinfo()
186 FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers), in get_drvinfo()
Dcxgb4_uld.h335 unsigned int fw_vers; /* FW version */ member
Dt4_hw.c3299 FIRST_RET(t4_get_fw_version(adapter, &adapter->params.fw_vers)); in t4_get_version_info()
3328 if (!adapter->params.fw_vers) in t4_dump_version_info()
3332 FW_HDR_FW_VER_MAJOR_G(adapter->params.fw_vers), in t4_dump_version_info()
3333 FW_HDR_FW_VER_MINOR_G(adapter->params.fw_vers), in t4_dump_version_info()
3334 FW_HDR_FW_VER_MICRO_G(adapter->params.fw_vers), in t4_dump_version_info()
3335 FW_HDR_FW_VER_BUILD_G(adapter->params.fw_vers)); in t4_dump_version_info()
3394 ret = t4_get_fw_version(adap, &adap->params.fw_vers); in t4_check_fw_version()
3397 ret = t4_get_fw_version(adap, &adap->params.fw_vers); in t4_check_fw_version()
3402 major = FW_HDR_FW_VER_MAJOR_G(adap->params.fw_vers); in t4_check_fw_version()
3403 minor = FW_HDR_FW_VER_MINOR_G(adap->params.fw_vers); in t4_check_fw_version()
[all …]
Dcxgb4_uld.c682 lld->fw_vers = adap->params.fw_vers; in uld_init()
Dcxgb4_cudbg.c483 adapter->eth_dump.version = adapter->params.fw_vers; in cxgb4_init_ethtool_dump()
Dcudbg_lib.c2273 u32 scfg_vers, vpd_vers, fw_vers; in cudbg_collect_vpd_data() local
2282 rc = t4_get_fw_version(padap, &fw_vers); in cudbg_collect_vpd_data()
2326 vpd_data->fw_major = FW_HDR_FW_VER_MAJOR_G(fw_vers); in cudbg_collect_vpd_data()
2327 vpd_data->fw_minor = FW_HDR_FW_VER_MINOR_G(fw_vers); in cudbg_collect_vpd_data()
2328 vpd_data->fw_micro = FW_HDR_FW_VER_MICRO_G(fw_vers); in cudbg_collect_vpd_data()
2329 vpd_data->fw_build = FW_HDR_FW_VER_BUILD_G(fw_vers); in cudbg_collect_vpd_data()
Dcxgb4.h377 unsigned int fw_vers; /* firmware version */ member
/Linux-v5.4/drivers/fsi/
Dfsi-master-ast-cf.c882 uint32_t fw_vers, fw_api, fw_options; in check_firmware_image() local
884 fw_vers = ioread16be(master->cf_mem + HDR_OFFSET + HDR_FW_VERS); in check_firmware_image()
891 fw_vers, fw_api >> 8, fw_api & 0xff, in check_firmware_image()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c73 if (lldi->fw_vers >= 0x10d2b00) in cxgbit_uld_add()
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c929 if (G_FW_VERSION_MAJOR(rdev_p->fw_info.fw_vers) != CXIO_FW_MAJ) { in cxio_rdev_open()
932 G_FW_VERSION_MAJOR(rdev_p->fw_info.fw_vers)); in cxio_rdev_open()
/Linux-v5.4/drivers/scsi/
Dgdth.h813 u16 fw_vers; /* firmware version */ member
Dgdth.c1213 ha->fw_vers = ha->service; in gdth_search_drives()
2556 (ha->fw_vers & 0xff) >= 0x1a) { in __gdth_interrupt()
3041 (ha->fw_vers & 0xff) >= 0x1a) { in gdth_async_event()