Home
last modified time | relevance | path

Searched refs:fw_ver (Results 1 – 25 of 193) sorted by relevance

12345678

/Linux-v6.6/drivers/net/wireless/ti/wlcore/
Dboot.c51 &wl->chip.fw_ver[0], &wl->chip.fw_ver[1], in wlcore_boot_parse_fw_ver()
52 &wl->chip.fw_ver[2], &wl->chip.fw_ver[3], in wlcore_boot_parse_fw_ver()
53 &wl->chip.fw_ver[4]); in wlcore_boot_parse_fw_ver()
57 memset(wl->chip.fw_ver, 0, sizeof(wl->chip.fw_ver)); in wlcore_boot_parse_fw_ver()
71 unsigned int *fw_ver = wl->chip.fw_ver; in wlcore_validate_fw_ver() local
80 (min_ver[FW_VER_CHIP] != fw_ver[FW_VER_CHIP])) in wlcore_validate_fw_ver()
85 (min_ver[FW_VER_IF_TYPE] != fw_ver[FW_VER_IF_TYPE])) in wlcore_validate_fw_ver()
90 (min_ver[FW_VER_SUBTYPE] != fw_ver[FW_VER_SUBTYPE])) in wlcore_validate_fw_ver()
95 (min_ver[FW_VER_MAJOR] > fw_ver[FW_VER_MAJOR])) in wlcore_validate_fw_ver()
100 (min_ver[FW_VER_MAJOR] == fw_ver[FW_VER_MAJOR])) && in wlcore_validate_fw_ver()
[all …]
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c81 struct nfp_net_fw_version fw_ver; in nfp_netvf_pci_probe() local
132 nfp_net_get_fw_version(&fw_ver, ctrl_bar); in nfp_netvf_pci_probe()
133 if (fw_ver.extend & NFP_NET_CFG_VERSION_RESERVED_MASK || in nfp_netvf_pci_probe()
134 fw_ver.class != NFP_NET_CFG_VERSION_CLASS_GENERIC) { in nfp_netvf_pci_probe()
136 fw_ver.extend, fw_ver.class, in nfp_netvf_pci_probe()
137 fw_ver.major, fw_ver.minor); in nfp_netvf_pci_probe()
143 if (nfp_net_fw_ver_eq(&fw_ver, 0, 0, 0, 1)) { in nfp_netvf_pci_probe()
149 switch (fw_ver.major) { in nfp_netvf_pci_probe()
157 fw_ver.extend, fw_ver.class, in nfp_netvf_pci_probe()
158 fw_ver.major, fw_ver.minor); in nfp_netvf_pci_probe()
Dnfp_net_main.c693 struct nfp_net_fw_version fw_ver; in nfp_net_pci_probe() local
721 nfp_net_get_fw_version(&fw_ver, ctrl_bar); in nfp_net_pci_probe()
722 if (fw_ver.extend & NFP_NET_CFG_VERSION_RESERVED_MASK || in nfp_net_pci_probe()
723 fw_ver.class != NFP_NET_CFG_VERSION_CLASS_GENERIC) { in nfp_net_pci_probe()
725 fw_ver.extend, fw_ver.class, in nfp_net_pci_probe()
726 fw_ver.major, fw_ver.minor); in nfp_net_pci_probe()
732 if (nfp_net_fw_ver_eq(&fw_ver, 0, 0, 0, 1)) { in nfp_net_pci_probe()
736 switch (fw_ver.major) { in nfp_net_pci_probe()
742 fw_ver.extend, fw_ver.class, in nfp_net_pci_probe()
743 fw_ver.major, fw_ver.minor); in nfp_net_pci_probe()
Dnfp_net.h457 static inline bool nfp_net_fw_ver_eq(struct nfp_net_fw_version *fw_ver, in nfp_net_fw_ver_eq() argument
460 return fw_ver->extend == extend && in nfp_net_fw_ver_eq()
461 fw_ver->class == class && in nfp_net_fw_ver_eq()
462 fw_ver->major == major && in nfp_net_fw_ver_eq()
463 fw_ver->minor == minor; in nfp_net_fw_ver_eq()
630 struct nfp_net_fw_version fw_ver; member
945 void nfp_net_get_fw_version(struct nfp_net_fw_version *fw_ver,
Dnfp_net_common.c63 void nfp_net_get_fw_version(struct nfp_net_fw_version *fw_ver, in nfp_net_get_fw_version() argument
69 put_unaligned_le32(reg, fw_ver); in nfp_net_get_fw_version()
2237 nn->fw_ver.extend, nn->fw_ver.class, in nfp_net_info()
2238 nn->fw_ver.major, nn->fw_ver.minor, in nfp_net_info()
2317 nfp_net_get_fw_version(&nn->fw_ver, ctrl_bar); in nfp_net_alloc()
2319 switch (FIELD_GET(NFP_NET_CFG_VERSION_DP_MASK, nn->fw_ver.extend)) { in nfp_net_alloc()
2324 if (nn->fw_ver.major < 5) { in nfp_net_alloc()
2327 nn->fw_ver.major); in nfp_net_alloc()
2514 if ((nn->cap & NFP_NET_CFG_CTRL_LSO && nn->fw_ver.major > 2) || in nfp_net_netdev_init()
2621 nn->dp.chained_metadata_format = nn->fw_ver.major == 4 || in nfp_net_read_caps()
[all …]
/Linux-v6.6/drivers/net/can/usb/etas_es58x/
Des58x_devlink.c194 struct es58x_sw_version *fw_ver = &es58x_dev->firmware_version; in es58x_devlink_info_get() local
200 if (es58x_sw_version_is_set(fw_ver)) { in es58x_devlink_info_get()
202 fw_ver->major, fw_ver->minor, fw_ver->revision); in es58x_devlink_info_get()
/Linux-v6.6/drivers/input/keyboard/
Dmcs_touchkey.c109 int fw_ver; in mcs_touchkey_probe() local
147 fw_ver = i2c_smbus_read_byte_data(client, fw_reg); in mcs_touchkey_probe()
148 if (fw_ver < 0) { in mcs_touchkey_probe()
149 dev_err(&client->dev, "i2c read error[%d]\n", fw_ver); in mcs_touchkey_probe()
150 return fw_ver; in mcs_touchkey_probe()
152 dev_info(&client->dev, "Firmware version: %d\n", fw_ver); in mcs_touchkey_probe()
/Linux-v6.6/drivers/ptp/
Dptp_clockmatrix.c65 u16 scratch = IDTCM_FW_REG(idtcm->fw_ver, V520, SCRATCH); in contains_full_configuration()
245 u16 tod_read_cmd = IDTCM_FW_REG(idtcm->fw_ver, V520, TOD_READ_SECONDARY_CMD); in arm_tod_read_trig_sel_refclk()
402 u16 tod_read_cmd = IDTCM_FW_REG(idtcm->fw_ver, V520, TOD_READ_SECONDARY_CMD); in _idtcm_gettime_triggered()
427 u16 tod_read_cmd = IDTCM_FW_REG(idtcm->fw_ver, V520, TOD_READ_PRIMARY_CMD); in _idtcm_gettime()
489 u16 tod_read_cmd = IDTCM_FW_REG(idtcm->fw_ver, V520, TOD_READ_PRIMARY_CMD); in _idtcm_gettime_immediate()
1073 IDTCM_FW_REG(idtcm->fw_ver, V520, SM_RESET), in idtcm_state_machine_reset()
1256 u16 scratch = IDTCM_FW_REG(idtcm->fw_ver, V520, SCRATCH); in idtcm_load_firmware()
1335 base = get_output_base_addr(idtcm->fw_ver, outn); in idtcm_output_enable()
1382 IDTCM_FW_REG(idtcm->fw_ver, V520, DPLL_MODE), in idtcm_get_pll_mode()
1400 IDTCM_FW_REG(idtcm->fw_ver, V520, DPLL_MODE), in idtcm_set_pll_mode()
[all …]
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.h316 fwrt->dump.fw_ver.type = lmac->ver_type; in iwl_fwrt_update_fw_versions()
317 fwrt->dump.fw_ver.subtype = lmac->ver_subtype; in iwl_fwrt_update_fw_versions()
318 fwrt->dump.fw_ver.lmac_major = le32_to_cpu(lmac->ucode_major); in iwl_fwrt_update_fw_versions()
319 fwrt->dump.fw_ver.lmac_minor = le32_to_cpu(lmac->ucode_minor); in iwl_fwrt_update_fw_versions()
323 fwrt->dump.fw_ver.umac_major = le32_to_cpu(umac->umac_major); in iwl_fwrt_update_fw_versions()
324 fwrt->dump.fw_ver.umac_minor = le32_to_cpu(umac->umac_minor); in iwl_fwrt_update_fw_versions()
Dacpi.h220 union iwl_tas_config_cmd *cmd, int fw_ver);
297 union iwl_tas_config_cmd *cmd, int fw_ver) in iwl_acpi_get_tas() argument
/Linux-v6.6/drivers/misc/mei/
Dbus-fixup.c172 memset(cldev->bus->fw_ver, 0, sizeof(cldev->bus->fw_ver)); in mei_fwver()
181 cldev->bus->fw_ver[i].platform = fwver->ver[i].platform; in mei_fwver()
182 cldev->bus->fw_ver[i].major = fwver->ver[i].major; in mei_fwver()
183 cldev->bus->fw_ver[i].minor = fwver->ver[i].minor; in mei_fwver()
184 cldev->bus->fw_ver[i].hotfix = fwver->ver[i].hotfix; in mei_fwver()
185 cldev->bus->fw_ver[i].buildno = fwver->ver[i].buildno; in mei_fwver()
/Linux-v6.6/drivers/char/tpm/
Dtpm_tis_spi_cr50.c245 char fw_ver[TPM_CR50_MAX_FW_VER_LEN + 1]; in cr50_print_fw_version() local
259 fw_ver[len] = fw_ver_block[i]; in cr50_print_fw_version()
261 fw_ver[len] = '\0'; in cr50_print_fw_version()
263 dev_info(&phy->spi_device->dev, "Cr50 firmware version: %s\n", fw_ver); in cr50_print_fw_version()
/Linux-v6.6/sound/soc/sof/
Dipc4-loader.c332 struct sof_ipc4_fw_version *fw_ver; in sof_ipc4_query_fw_configuration() local
359 fw_ver = (struct sof_ipc4_fw_version *)tuple->value; in sof_ipc4_query_fw_configuration()
363 fw_ver->major, fw_ver->minor, fw_ver->hotfix, in sof_ipc4_query_fw_configuration()
364 fw_ver->build); in sof_ipc4_query_fw_configuration()
/Linux-v6.6/drivers/media/usb/hdpvr/
Dhdpvr-core.c138 dev->fw_ver = dev->usbc_buf[1]; in device_authorization()
142 dev->fw_ver, &dev->usbc_buf[2]); in device_authorization()
144 if (dev->fw_ver > 0x15) { in device_authorization()
152 switch (dev->fw_ver) { in device_authorization()
164 if (dev->fw_ver >= HDPVR_FIRMWARE_VERSION_AC3) in device_authorization()
/Linux-v6.6/drivers/scsi/snic/
Dsnic_ctl.c161 snic->fwinfo.fw_ver = le32_to_cpu(exv_cmpl->version); in snic_io_exch_ver_cmpl_handler()
171 snic->fwinfo.fw_ver, in snic_io_exch_ver_cmpl_handler()
244 ret = (snic->fwinfo.fw_ver != 0) ? 0 : -ETIMEDOUT; in snic_get_conf()
/Linux-v6.6/drivers/scsi/
DBusLogic.c1263 strcpy(adapter->fw_ver, FLASHPOINT_FW_VER); in blogic_rdconfig()
1390 tgt = adapter->fw_ver; in blogic_rdconfig()
1400 if (strcmp(adapter->fw_ver, "3.3") >= 0) { in blogic_rdconfig()
1460 if (adapter->fw_ver[0] == '5' || (adapter->fw_ver[0] == '4' && in blogic_rdconfig()
1467 if (adapter->fw_ver[0] == '5') { in blogic_rdconfig()
1487 if (adapter->fw_ver[0] >= '4') { in blogic_rdconfig()
1501 if (adapter->fw_ver[0] == '4') { in blogic_rdconfig()
1526 if (adapter->fw_ver[0] < '4') { in blogic_rdconfig()
1571 if (adapter->fw_ver[0] == '5') in blogic_rdconfig()
1573 else if (adapter->fw_ver[0] == '4') in blogic_rdconfig()
[all …]
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt76x0/
Dpci_mcu.c50 val = le16_to_cpu(hdr->fw_ver); in mt76x0e_load_firmware()
54 val = le16_to_cpu(hdr->fw_ver); in mt76x0e_load_firmware()
/Linux-v6.6/drivers/usb/storage/
Drealtek_cr.c79 u16 fw_ver; member
133 #define FW_VERSION(chip) ((chip)->status[0].fw_ver)
154 #define CHECK_FW_VER(chip, fw_ver) (FW_VERSION(chip) == (fw_ver)) argument
155 #define CHECK_ID(chip, pid, fw_ver) \ argument
156 (CHECK_PID((chip), (pid)) && CHECK_FW_VER((chip), (fw_ver)))
464 chip->status[lun].fw_ver = ((u16) buf[7] << 8) | buf[8]; in rts51x_check_status()
898 status->fw_ver = ((u16) buf[7] << 8) | buf[8]; in realtek_cr_autosuspend_setup()
/Linux-v6.6/drivers/net/ethernet/brocade/bna/
Dbfa_defs.h45 char fw_ver[BFA_VERSION_LEN]; member
76 char fw_ver[BFA_VERSION_LEN]; /*!< firmware version */ member
/Linux-v6.6/drivers/infiniband/hw/qedr/
Dmain.c77 u32 fw_ver = (u32)qedr->attr.fw_ver; in qedr_get_dev_fw_str() local
80 (fw_ver >> 24) & 0xFF, (fw_ver >> 16) & 0xFF, in qedr_get_dev_fw_str()
81 (fw_ver >> 8) & 0xFF, fw_ver & 0xFF); in qedr_get_dev_fw_str()
602 attr->fw_ver = qed_attr->fw_ver; in qedr_set_device_attr()
/Linux-v6.6/sound/firewire/bebob/
Dbebob_proc.c21 u32 fw_ver; member
60 snd_iprintf(buffer, "Firmware Ver:\t%d\n", info->fw_ver); in proc_read_hw_info()
/Linux-v6.6/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.c147 char fw_ver[VPU_FW_VER_LEN]; member
628 dev_info(dev, "vpu is ready. Fw version %s\n", run->fw_ver); in vpu_load_firmware()
644 strscpy(vpu->run.fw_ver, run->fw_ver, sizeof(vpu->run.fw_ver)); in vpu_init_ipi_handler()
689 vpu->run.fw_ver, pc, wdt, in vpu_debug_read()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7996/
Dcoredump.c193 strscpy(dump->fw_ver, dev->mt76.hw->wiphy->fw_version, in mt7996_coredump_build()
194 sizeof(dump->fw_ver)); in mt7996_coredump_build()
/Linux-v6.6/drivers/scsi/csiostor/
Dcsio_hw.c640 offsetof(struct fw_hdr, fw_ver), 1, in csio_hw_get_fw_version()
732 ((struct fw_hdr *)first_page)->fw_ver = htonl(0xffffffff); in csio_hw_fw_dload()
751 offsetof(struct fw_hdr, fw_ver), in csio_hw_fw_dload()
752 sizeof(hdr->fw_ver), in csio_hw_fw_dload()
753 (const uint8_t *)&hdr->fw_ver); in csio_hw_fw_dload()
2229 if (hdr1->chip == hdr2->chip && hdr1->fw_ver == hdr2->fw_ver) in fw_compatible()
2280 .fw_ver = __cpu_to_be32(FW_VERSION(T5)),
2293 .fw_ver = __cpu_to_be32(FW_VERSION(T6)),
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()
[all …]
/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_main.c171 props->fw_ver = hr_dev->caps.fw_ver; in hns_roce_query_device()
507 u64 fw_ver = to_hr_dev(device)->caps.fw_ver; in hns_roce_get_fw_ver() local
510 major = upper_32_bits(fw_ver); in hns_roce_get_fw_ver()
511 minor = high_16_bits(lower_32_bits(fw_ver)); in hns_roce_get_fw_ver()
512 sub_minor = low_16_bits(fw_ver); in hns_roce_get_fw_ver()

12345678