/drivers/scsi/ |
D | megaraid.c | 305 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 …]
|
D | megaraid.h | 265 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/ |
D | dst.c | 933 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()
|
D | dst_common.h | 134 u8 fw_version[8]; member
|
/drivers/message/fusion/ |
D | mptctl.h | 389 u8 fw_version[16]; /* string */ member 412 u8 fw_version[16]; /* string */ member
|
D | mptctl.c | 2387 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/ |
D | atl1c_ethtool.c | 238 strncpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); in atl1c_get_drvinfo()
|
/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 3057 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()
|
D | mbox_defs.h | 337 uint8_t fw_version[16]; member 516 uint8_t fw_version[4]; member
|
D | mega_common.h | 186 uint8_t fw_version[VERSION_SIZE]; member
|
/drivers/net/ |
D | pasemi_mac_ethtool.c | 88 strcpy(drvinfo->fw_version, "N/A"); in pasemi_mac_ethtool_get_drvinfo()
|
D | spider_net_ethtool.c | 78 strcpy(drvinfo->fw_version, "no information"); in spider_net_ethtool_get_drvinfo()
|
D | ucc_geth_ethtool.c | 354 strncpy(drvinfo->fw_version, "N/A", 32); in uec_get_drvinfo()
|
D | veth.c | 65 strcpy(info->fw_version, "N/A"); in veth_get_drvinfo()
|
D | gianfar_ethtool.c | 176 strncpy(drvinfo->fw_version, "N/A", GFAR_INFOSTR_LEN); in gfar_gdrvinfo()
|
/drivers/staging/at76_usb/ |
D | at76_usb.h | 435 struct mib_fw_version fw_version; member 547 struct mib_fw_version fw_version; member
|
D | at76_usb.c | 3389 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/ |
D | vnic_devcmd.h | 245 char fw_version[32]; member
|
/drivers/net/irda/ |
D | irda-usb.c | 1079 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/ |
D | ethtool.c | 28 snprintf(info->fw_version, 32, "%u.%u.%u.p%u", in lbs_ethtool_get_drvinfo()
|
/drivers/usb/gadget/ |
D | u_ether.c | 174 strlcpy(p->fw_version, dev->gadget->name, sizeof p->fw_version); in eth_get_drvinfo()
|
/drivers/net/myri10ge/ |
D | myri10ge.c | 242 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/ |
D | qlge_ethtool.c | 296 strncpy(drvinfo->fw_version, "N/A", 32); in ql_get_drvinfo()
|
/drivers/net/benet/ |
D | be_ethtool.c | 116 strncpy(drvinfo->fw_version, adapter->fw_ver, FW_VER_LEN); in be_get_drvinfo()
|
/drivers/net/atl1e/ |
D | atl1e_ethtool.c | 323 strncpy(drvinfo->fw_version, "L1e", 32); in atl1e_get_drvinfo()
|