Home
last modified time | relevance | path

Searched refs:fw_version (Results 1 – 25 of 78) sorted by relevance

1234

/drivers/scsi/
Dmegaraid.c305 sprintf (adapter->fw_version, "%c%d%d.%d%d", in mega_query_adapter()
306 adapter->product_info.fw_version[2], in mega_query_adapter()
307 adapter->product_info.fw_version[1] >> 8, in mega_query_adapter()
308 adapter->product_info.fw_version[1] & 0x0f, in mega_query_adapter()
309 adapter->product_info.fw_version[0] >> 8, in mega_query_adapter()
310 adapter->product_info.fw_version[0] & 0x0f); in mega_query_adapter()
318 memcpy(adapter->fw_version, in mega_query_adapter()
319 (char *)adapter->product_info.fw_version, 4); in mega_query_adapter()
320 adapter->fw_version[4] = 0; in mega_query_adapter()
329 adapter->fw_version, adapter->bios_version, adapter->numldrv); in mega_query_adapter()
[all …]
Dmegaraid.h265 u8 fw_version[16]; /* printable ASCI string */ member
368 u8 fw_version[4]; /* Firmware version */ member
846 u8 fw_version[7]; member
/drivers/media/dvb/bt8xx/
Ddst.c933 memset(&state->fw_version, '\0', 8); in dst_fw_ver()
934 memcpy(&state->fw_version, &state->rxbuffer, 8); in dst_fw_ver()
936 state->fw_version[0] >> 4, state->fw_version[0] & 0x0f, in dst_fw_ver()
937 state->fw_version[1], in dst_fw_ver()
938 state->fw_version[5], state->fw_version[6], in dst_fw_ver()
939 state->fw_version[4], state->fw_version[3], state->fw_version[2]); in dst_fw_ver()
Ddst_common.h134 u8 fw_version[8]; member
/drivers/message/fusion/
Dmptctl.h389 u8 fw_version[16]; /* string */ member
412 u8 fw_version[16]; /* string */ member
Dmptctl.c2387 karg.fw_version[0] = ioc->facts.FWVersion.Struct.Major >= 10 ? in mptctl_hp_hostinfo()
2389 karg.fw_version[1] = (ioc->facts.FWVersion.Struct.Major % 10 ) + '0'; in mptctl_hp_hostinfo()
2390 karg.fw_version[2] = '.'; in mptctl_hp_hostinfo()
2391 karg.fw_version[3] = ioc->facts.FWVersion.Struct.Minor >= 10 ? in mptctl_hp_hostinfo()
2393 karg.fw_version[4] = (ioc->facts.FWVersion.Struct.Minor % 10 ) + '0'; in mptctl_hp_hostinfo()
2394 karg.fw_version[5] = '.'; in mptctl_hp_hostinfo()
2395 karg.fw_version[6] = ioc->facts.FWVersion.Struct.Unit >= 10 ? in mptctl_hp_hostinfo()
2397 karg.fw_version[7] = (ioc->facts.FWVersion.Struct.Unit % 10 ) + '0'; in mptctl_hp_hostinfo()
2398 karg.fw_version[8] = '.'; in mptctl_hp_hostinfo()
2399 karg.fw_version[9] = ioc->facts.FWVersion.Struct.Dev >= 10 ? in mptctl_hp_hostinfo()
[all …]
/drivers/net/atl1c/
Datl1c_ethtool.c238 strncpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); in atl1c_get_drvinfo()
/drivers/scsi/megaraid/
Dmegaraid_mbox.c3057 memset(adapter->fw_version, 0, VERSION_SIZE); in megaraid_mbox_product_info()
3060 memcpy(adapter->fw_version, pinfo->fw_version, 4); in megaraid_mbox_product_info()
3061 adapter->fw_version[4] = 0; in megaraid_mbox_product_info()
3068 adapter->fw_version, adapter->bios_version)); in megaraid_mbox_product_info()
3179 (adapter->fw_version[0] > '6' || in megaraid_mbox_support_random_del()
3180 (adapter->fw_version[0] == '6' && in megaraid_mbox_support_random_del()
3181 adapter->fw_version[2] > '6') || in megaraid_mbox_support_random_del()
3182 (adapter->fw_version[0] == '6' in megaraid_mbox_support_random_del()
3183 && adapter->fw_version[2] == '6' in megaraid_mbox_support_random_del()
3184 && adapter->fw_version[3] > '1'))) { in megaraid_mbox_support_random_del()
Dmbox_defs.h337 uint8_t fw_version[16]; member
516 uint8_t fw_version[4]; member
Dmega_common.h186 uint8_t fw_version[VERSION_SIZE]; member
/drivers/net/
Dpasemi_mac_ethtool.c88 strcpy(drvinfo->fw_version, "N/A"); in pasemi_mac_ethtool_get_drvinfo()
Dspider_net_ethtool.c78 strcpy(drvinfo->fw_version, "no information"); in spider_net_ethtool_get_drvinfo()
Ducc_geth_ethtool.c354 strncpy(drvinfo->fw_version, "N/A", 32); in uec_get_drvinfo()
Dveth.c65 strcpy(info->fw_version, "N/A"); in veth_get_drvinfo()
Dgianfar_ethtool.c176 strncpy(drvinfo->fw_version, "N/A", GFAR_INFOSTR_LEN); in gfar_gdrvinfo()
/drivers/staging/at76_usb/
Dat76_usb.h435 struct mib_fw_version fw_version; member
547 struct mib_fw_version fw_version; member
Dat76_usb.c3389 snprintf(info->fw_version, sizeof(info->fw_version), "%d.%d.%d-%d", in at76_ethtool_get_drvinfo()
3390 priv->fw_version.major, priv->fw_version.minor, in at76_ethtool_get_drvinfo()
3391 priv->fw_version.patch, priv->fw_version.build); in at76_ethtool_get_drvinfo()
5112 fwe->fw_version.major = fwh->major; in at76_load_firmware()
5113 fwe->fw_version.minor = fwh->minor; in at76_load_firmware()
5114 fwe->fw_version.patch = fwh->patch; in at76_load_firmware()
5115 fwe->fw_version.build = fwh->build; in at76_load_firmware()
5333 priv->fw_version.major, priv->fw_version.minor, in at76_init_new_device()
5334 priv->fw_version.patch, priv->fw_version.build); in at76_init_new_device()
5458 if ((fwe->fw_version.major > 0 || fwe->fw_version.minor >= 100) in at76_probe()
[all …]
/drivers/net/enic/
Dvnic_devcmd.h245 char fw_version[32]; member
/drivers/net/irda/
Dirda-usb.c1079 unsigned long fw_version = 0; in stir421x_patch_device() local
1111 fw_version = (major << 12) in stir421x_patch_device()
1117 __func__, fw_version); in stir421x_patch_device()
1121 if (self->usbdev->descriptor.bcdDevice == cpu_to_le16(fw_version)) { in stir421x_patch_device()
/drivers/net/wireless/libertas/
Dethtool.c28 snprintf(info->fw_version, 32, "%u.%u.%u.p%u", in lbs_ethtool_get_drvinfo()
/drivers/usb/gadget/
Du_ether.c174 strlcpy(p->fw_version, dev->gadget->name, sizeof p->fw_version); in eth_get_drvinfo()
/drivers/net/myri10ge/
Dmyri10ge.c242 char fw_version[128]; member
543 strncpy(mgp->fw_version, hdr->version, sizeof(mgp->fw_version)); in myri10ge_validate_firmware()
545 sscanf(mgp->fw_version, "%d.%d.%d", &mgp->fw_ver_major, in myri10ge_validate_firmware()
550 dev_err(dev, "Found firmware version %s\n", mgp->fw_version); in myri10ge_validate_firmware()
1630 strlcpy(info->fw_version, mgp->fw_version, sizeof(info->fw_version)); in myri10ge_get_drvinfo()
/drivers/net/qlge/
Dqlge_ethtool.c296 strncpy(drvinfo->fw_version, "N/A", 32); in ql_get_drvinfo()
/drivers/net/benet/
Dbe_ethtool.c116 strncpy(drvinfo->fw_version, adapter->fw_ver, FW_VER_LEN); in be_get_drvinfo()
/drivers/net/atl1e/
Datl1e_ethtool.c323 strncpy(drvinfo->fw_version, "L1e", 32); in atl1e_get_drvinfo()

1234