| /OK3568_Linux_fs/kernel/net/wireless/ |
| H A D | ethtool.c | 20 if (wdev->wiphy->fw_version[0]) in cfg80211_get_drvinfo() 21 strlcpy(info->fw_version, wdev->wiphy->fw_version, in cfg80211_get_drvinfo() 22 sizeof(info->fw_version)); in cfg80211_get_drvinfo() 24 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in cfg80211_get_drvinfo()
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/atom/sst/ |
| H A D | sst_ipc.c | 230 if (memcmp(&sst_drv_ctx->fw_version, &init->fw_version, in process_fw_init() 231 sizeof(init->fw_version))) in process_fw_init() 233 init->fw_version.type, init->fw_version.major, in process_fw_init() 234 init->fw_version.minor, init->fw_version.build); in process_fw_init() 239 sst_drv_ctx->fw_version.type = init->fw_version.type; in process_fw_init() 240 sst_drv_ctx->fw_version.major = init->fw_version.major; in process_fw_init() 241 sst_drv_ctx->fw_version.minor = init->fw_version.minor; in process_fw_init() 242 sst_drv_ctx->fw_version.build = init->fw_version.build; in process_fw_init()
|
| H A D | sst.c | 243 if (ctx->fw_version.type == 0 && ctx->fw_version.major == 0 && in firmware_version_show() 244 ctx->fw_version.minor == 0 && ctx->fw_version.build == 0) in firmware_version_show() 248 ctx->fw_version.type, ctx->fw_version.major, in firmware_version_show() 249 ctx->fw_version.minor, ctx->fw_version.build); in firmware_version_show()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cgs.c | 163 uint16_t fw_version = 0; in amdgpu_get_firmware_version() local 167 fw_version = adev->sdma.instance[0].fw_version; in amdgpu_get_firmware_version() 170 fw_version = adev->sdma.instance[1].fw_version; in amdgpu_get_firmware_version() 173 fw_version = adev->gfx.ce_fw_version; in amdgpu_get_firmware_version() 176 fw_version = adev->gfx.pfp_fw_version; in amdgpu_get_firmware_version() 179 fw_version = adev->gfx.me_fw_version; in amdgpu_get_firmware_version() 182 fw_version = adev->gfx.mec_fw_version; in amdgpu_get_firmware_version() 185 fw_version = adev->gfx.mec_fw_version; in amdgpu_get_firmware_version() 188 fw_version = adev->gfx.mec_fw_version; in amdgpu_get_firmware_version() 191 fw_version = adev->gfx.rlc_fw_version; in amdgpu_get_firmware_version() [all …]
|
| H A D | amdgpu_virt.c | 489 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_VCE, adev->vce.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info() 490 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_UVD, adev->uvd.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info() 491 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_MC, adev->gmc.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info() 505 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SMC, adev->pm.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info() 506 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SDMA, adev->sdma.instance[0].fw_version); in amdgpu_virt_populate_vf2pf_ucode_info() 507 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SDMA2, adev->sdma.instance[1].fw_version); in amdgpu_virt_populate_vf2pf_ucode_info() 508 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_VCN, adev->vcn.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
|
| H A D | amdgpu_ucode.c | 417 FW_VERSION_ATTR(vce_fw_version, 0444, vce.fw_version); 418 FW_VERSION_ATTR(uvd_fw_version, 0444, uvd.fw_version); 419 FW_VERSION_ATTR(mc_fw_version, 0444, gmc.fw_version); 433 FW_VERSION_ATTR(smc_fw_version, 0444, pm.fw_version); 434 FW_VERSION_ATTR(sdma_fw_version, 0444, sdma.instance[0].fw_version); 435 FW_VERSION_ATTR(sdma2_fw_version, 0444, sdma.instance[1].fw_version); 436 FW_VERSION_ATTR(vcn_fw_version, 0444, vcn.fw_version);
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | melfas_mip4.c | 166 struct mip4_fw_version fw_version; member 228 u8 buf[sizeof(ts->fw_version)]; in mip4_get_fw_version() 233 memset(&ts->fw_version, 0xff, sizeof(ts->fw_version)); in mip4_get_fw_version() 237 mip4_parse_fw_version(buf, &ts->fw_version); in mip4_get_fw_version() 310 ts->fw_version.boot, ts->fw_version.core, in mip4_query_device() 311 ts->fw_version.app, ts->fw_version.param); in mip4_query_device() 1160 struct mip4_fw_version fw_version; in mip4_parse_firmware() local 1216 mip4_parse_fw_version((const u8 *)&fw_info->ver_boot, &fw_version); in mip4_parse_firmware() 1220 fw_version.boot, fw_version.core, in mip4_parse_firmware() 1221 fw_version.app, fw_version.param); in mip4_parse_firmware() [all …]
|
| H A D | exc3000.c | 81 char fw_version[EXC3000_LEN_FW_VERSION]; member 182 strlcpy(data->fw_version, buf + 5, sizeof(data->fw_version)); in exc3000_query_interrupt() 257 return sprintf(buf, "%s\n", data->fw_version); in fw_version_show() 259 static DEVICE_ATTR_RO(fw_version);
|
| H A D | wacom_i2c.c | 29 char fw_version; member 78 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device() 83 features->pressure_max, features->fw_version); in wacom_query_device() 177 input->id.version = features.fw_version; in wacom_i2c_probe()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | qcom_rpm.c | 535 u32 fw_version[3]; in qcom_rpm_probe() local 614 fw_version[0] = readl(RPM_STATUS_REG(rpm, 0)); in qcom_rpm_probe() 615 fw_version[1] = readl(RPM_STATUS_REG(rpm, 1)); in qcom_rpm_probe() 616 fw_version[2] = readl(RPM_STATUS_REG(rpm, 2)); in qcom_rpm_probe() 617 if (fw_version[0] != rpm->data->version) { in qcom_rpm_probe() 620 fw_version[0], in qcom_rpm_probe() 621 fw_version[1], in qcom_rpm_probe() 622 fw_version[2], in qcom_rpm_probe() 627 writel(fw_version[0], RPM_CTRL_REG(rpm, 0)); in qcom_rpm_probe() 628 writel(fw_version[1], RPM_CTRL_REG(rpm, 1)); in qcom_rpm_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/mouse/ |
| H A D | elantech.h | 127 #define ETP_NEW_IC_SMBUS_HOST_NOTIFY(fw_version) \ argument 128 ((((fw_version) & 0x0f2000) == 0x0f2000) && \ 129 ((fw_version) & 0x0000ff) > 0) 145 unsigned int fw_version; member
|
| H A D | elantech.c | 313 return info->fw_version & 0x001000; in elantech_is_buttonpad() 327 if (etd->info.fw_version < 0x020000) { in elantech_report_absolute_v1() 372 if (etd->info.fw_version < 0x020000 && in elantech_report_absolute_v1() 772 if (etd->info.fw_version < 0x020000) { in elantech_packet_check_v1() 885 ic_version = (etd->info.fw_version & 0x0f0000) >> 16; in elantech_packet_check_v4() 1191 if (info->fw_version < 0x020000 && in elantech_set_input_params() 1614 info->ic_version = (info->fw_version & 0x0f0000) >> 16; in elantech_set_properties() 1617 if (info->fw_version < 0x020030 || info->fw_version == 0x020600) in elantech_set_properties() 1638 if (info->ic_version == 0x0f && (info->fw_version & 0xff) <= 0x02) in elantech_set_properties() 1639 info->pattern = info->fw_version & 0xff; in elantech_set_properties() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/bluetooth/ |
| H A D | ath3k.c | 360 struct ath3k_version fw_version; in ath3k_load_patch() local 375 ret = ath3k_get_version(udev, &fw_version); in ath3k_load_patch() 382 le32_to_cpu(fw_version.rom_version)); in ath3k_load_patch() 395 if (pt_rom_version != le32_to_cpu(fw_version.rom_version) || in ath3k_load_patch() 396 pt_build_version <= le32_to_cpu(fw_version.build_version)) { in ath3k_load_patch() 413 struct ath3k_version fw_version; in ath3k_load_syscfg() local 422 ret = ath3k_get_version(udev, &fw_version); in ath3k_load_syscfg() 428 switch (fw_version.ref_clock) { in ath3k_load_syscfg() 445 le32_to_cpu(fw_version.rom_version), clk_value, ".dfu"); in ath3k_load_syscfg()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_nvm.c | 689 u16 eeprom_verh, eeprom_verl, etrack_test, fw_version; in igb_get_fw_version() local 710 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); 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() 755 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in igb_get_fw_version() 756 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in igb_get_fw_version() 760 if ((fw_version & NVM_NEW_DEC_MASK) == 0x0) { in igb_get_fw_version() 761 eeprom_verl = (fw_version & NVM_COMB_VER_MASK); in igb_get_fw_version() 763 eeprom_verl = (fw_version & NVM_MINOR_MASK) in igb_get_fw_version()
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | cw221x_battery.c | 129 int fw_version; member 422 if (((cw_bat->fw_version & CW2215_MARK) != 0) || ((cw_bat->fw_version & CW2217_MARK) != 0)) in cw_get_current() 424 else if ((cw_bat->fw_version != 0) && ((cw_bat->fw_version & 0xC0) == CW2218_MARK)) in cw_get_current() 489 int fw_version; in cw_get_fw_version() local 495 fw_version = reg_val; in cw_get_fw_version() 496 cw_bat->fw_version = fw_version; in cw_get_fw_version() 535 cw_bat->ui_soc, cw_bat->temp, cw_bat->fw_version); in cw_init_data()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/ |
| H A D | dib0700_core.c | 133 if (st->fw_version >= 0x10201) { in dib0700_set_usb_xfer_len() 512 u32 fw_version; in dib0700_download_firmware() local 560 fw_version = (buf[8] << 24) | (buf[9] << 16) | (buf[10] << 8) | buf[11]; in dib0700_download_firmware() 567 if (fw_version >= 0x10201) { in dib0700_download_firmware() 588 if ((onoff != 0) && (st->fw_version >= 0x10201)) { in dib0700_streaming_ctrl() 661 if (st->fw_version < 0x10200) { in dib0700_change_protocol() 816 if (st->fw_version < 0x10200 || !intf) in dib0700_rc_setup() 886 u32 hwversion, romversion, fw_version, fwtype; in dib0700_probe() local 889 &fw_version, &fwtype); in dib0700_probe() 892 hwversion, romversion, fw_version, fwtype); in dib0700_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/fsl-dpaa2/ethsw/ |
| H A D | ethsw-ethtool.c | 45 strlcpy(drvinfo->fw_version, "N/A", in dpaa2_switch_get_drvinfo() 46 sizeof(drvinfo->fw_version)); in dpaa2_switch_get_drvinfo() 48 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in dpaa2_switch_get_drvinfo()
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/pmbus/ |
| H A D | inspur-ipsps.c | 35 fw_version, enumerator 46 [fw_version] = IPSPS_REG_FW_VERSION, 162 static SENSOR_DEVICE_ATTR_RO(fw_version, ipsps_fw_version, fw_version);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | radeon_vce.c | 58 static const char *fw_version = "[ATI LIB=VCEFW,"; in radeon_vce_init() local 97 size = rdev->vce_fw->size - strlen(fw_version) - 9; in radeon_vce_init() 100 if (strncmp(c, fw_version, strlen(fw_version)) == 0) in radeon_vce_init() 106 c += strlen(fw_version); in radeon_vce_init() 128 rdev->vce.fw_version = (start << 24) | (mid << 16) | (end << 8); in radeon_vce_init() 131 if ((rdev->vce.fw_version != ((40 << 24) | (2 << 16) | (2 << 8))) && in radeon_vce_init() 132 (rdev->vce.fw_version != ((50 << 24) | (0 << 16) | (1 << 8))) && in radeon_vce_init() 133 (rdev->vce.fw_version != ((50 << 24) | (1 << 16) | (2 << 8)))) in radeon_vce_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_devlink.h | 88 u32 fw_version; member 105 u32 fw_version; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00firmware.c | 54 snprintf(rt2x00dev->hw->wiphy->fw_version, in rt2x00lib_request_firmware() 55 sizeof(rt2x00dev->hw->wiphy->fw_version), "%d.%d", in rt2x00lib_request_firmware()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_cmd.c | 355 hdev->fw_version = le32_to_cpu(resp->firmware); in hclgevf_cmd_query_version_and_capability() 442 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_cmd_init() 444 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_cmd_init() 446 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_cmd_init() 448 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_cmd_init()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/hyn_cst2xx/ |
| H A D | hyn_cst2xx.c | 598 unsigned int fw_checksum,fw_version,fw_customer_id; in cst2xx_check_code() local 659 fw_version = buf[3]; in cst2xx_check_code() 660 fw_version <<= 8; in cst2xx_check_code() 661 fw_version |= buf[2]; in cst2xx_check_code() 662 fw_version <<= 8; in cst2xx_check_code() 663 fw_version |= buf[1]; in cst2xx_check_code() 664 fw_version <<= 8; in cst2xx_check_code() 665 fw_version |= buf[0]; in cst2xx_check_code() 670 …hyn bin_version is different******bin_version:0x%x, fw_version:0x%x. \r\n",bin_version,fw_version); in cst2xx_check_code() 672 if(bin_version>=fw_version) in cst2xx_check_code()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_cmd.c | 375 hdev->fw_version = le32_to_cpu(resp->firmware); in hclge_cmd_query_version_and_capability() 482 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_cmd_init() 484 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_cmd_init() 486 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_cmd_init() 488 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_cmd_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wimax/i2400m/ |
| H A D | i2400m.h | 641 unsigned long fw_version; /* version of the firmware interface */ member 939 return i2400m->fw_version <= 0x00090001; in i2400m_le_v1_3() 946 return i2400m->fw_version >= 0x00090002; in i2400m_ge_v1_4()
|