Home
last modified time | relevance | path

Searched refs:hw_version (Results 1 – 25 of 126) sorted by relevance

123456

/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Dreg.h835 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
838 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9100))
840 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
843 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9160))
845 (((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9160))
848 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9160_11))
892 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9300)
976 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9580_10))
979 ((_ah)->hw_version.macRev == AR_SREV_REVISION_9580_10))
1011 (((_ah)->hw_version.usbdev == AR9280_USB) || \
[all …]
H A Dhw.c262 switch (ah->hw_version.devid) { in ath9k_hw_read_revisions()
299 ah->hw_version.macVersion = in ath9k_hw_read_revisions()
461 ah->hw_version.magic = AR5416_MAGIC; in ath9k_hw_init_defaults()
462 ah->hw_version.subvendorid = 0; in ath9k_hw_init_defaults()
577 switch (ah->hw_version.macVersion) { in __ath9k_hw_init()
599 ah->hw_version.macVersion, ah->hw_version.macRev); in __ath9k_hw_init()
669 switch (ah->hw_version.devid) { in ath9k_hw_init()
696 ah->hw_version.devid); in ath9k_hw_init()
3363 ah->hw_version.macRev); in ath9k_hw_name()
3369 ah->hw_version.macRev, in ath9k_hw_name()
[all …]
/linux-6.15/drivers/soc/tegra/
H A Dcommon.c108 u32 hw_version; in devm_tegra_core_dev_init_opp_table() local
128 hw_version = BIT(tegra_sku_info.soc_process_id); in devm_tegra_core_dev_init_opp_table()
129 config.supported_hw = &hw_version; in devm_tegra_core_dev_init_opp_table()
132 hw_version = BIT(tegra_sku_info.soc_speedo_id); in devm_tegra_core_dev_init_opp_table()
133 config.supported_hw = &hw_version; in devm_tegra_core_dev_init_opp_table()
/linux-6.15/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_regs.h115 #define MLXBF_GIGE_TX_PAUSE_CNT_HI ((priv->hw_version == MLXBF_GIGE_VERSION_BF2) ? \
118 #define MLXBF_GIGE_TX_PAUSE_CNT_LO ((priv->hw_version == MLXBF_GIGE_VERSION_BF2) ? \
121 #define MLXBF_GIGE_RX_PAUSE_CNT_HI ((priv->hw_version == MLXBF_GIGE_VERSION_BF2) ? \
124 #define MLXBF_GIGE_RX_PAUSE_CNT_LO ((priv->hw_version == MLXBF_GIGE_VERSION_BF2) ? \
H A Dmlxbf_gige_mdio.c272 if (priv->hw_version == MLXBF_GIGE_VERSION_BF2) { in mlxbf_gige_mdio_cfg()
294 if (priv->hw_version > MLXBF_GIGE_VERSION_BF3) in mlxbf_gige_mdio_probe()
309 res = &corepll_params[priv->hw_version]; in mlxbf_gige_mdio_probe()
316 priv->mdio_gw = &mlxbf_gige_mdio_gw_t[priv->hw_version]; in mlxbf_gige_mdio_probe()
H A Dmlxbf_gige_main.c417 priv->hw_version = readq(base + MLXBF_GIGE_VERSION); in mlxbf_gige_probe()
466 mlxbf_gige_link_cfgs[priv->hw_version].adjust_link, in mlxbf_gige_probe()
467 mlxbf_gige_link_cfgs[priv->hw_version].phy_mode); in mlxbf_gige_probe()
473 mlxbf_gige_link_cfgs[priv->hw_version].set_phy_link_mode(phydev); in mlxbf_gige_probe()
/linux-6.15/include/linux/soc/qcom/
H A Dgeni-se.h433 u32 val, hw_version, hw_major, hw_minor, tx_fifo_depth_mask; in geni_se_get_tx_fifo_depth() local
435 hw_version = geni_se_get_qup_hw_version(se); in geni_se_get_tx_fifo_depth()
436 hw_major = GENI_SE_VERSION_MAJOR(hw_version); in geni_se_get_tx_fifo_depth()
437 hw_minor = GENI_SE_VERSION_MINOR(hw_version); in geni_se_get_tx_fifo_depth()
479 u32 val, hw_version, hw_major, hw_minor, rx_fifo_depth_mask; in geni_se_get_rx_fifo_depth() local
481 hw_version = geni_se_get_qup_hw_version(se); in geni_se_get_rx_fifo_depth()
482 hw_major = GENI_SE_VERSION_MAJOR(hw_version); in geni_se_get_rx_fifo_depth()
483 hw_minor = GENI_SE_VERSION_MINOR(hw_version); in geni_se_get_rx_fifo_depth()
/linux-6.15/drivers/input/mouse/
H A Delantech.c149 switch (etd->info.hw_version) { in elantech_read_reg()
1189 switch (info->hw_version) { in elantech_set_input_params()
1206 if (info->hw_version == 3) in elantech_set_input_params()
1252 if (info->hw_version > 1) { in elantech_set_input_params()
1650 info->hw_version = 1; in elantech_set_properties()
1655 info->hw_version = 2; in elantech_set_properties()
1658 info->hw_version = 3; in elantech_set_properties()
1661 info->hw_version = 4; in elantech_set_properties()
1688 if (info->hw_version > 1) { in elantech_set_properties()
1816 switch (info->hw_version) { in elantech_query_info()
[all …]
/linux-6.15/drivers/hwmon/pmbus/
H A Dinspur-ipsps.c38 hw_version, enumerator
49 [hw_version] = IPSPS_REG_HW_VERSION,
161 static SENSOR_DEVICE_ATTR_RO(hw_version, ipsps_string, hw_version);
/linux-6.15/drivers/staging/gpib/hp_82341/
H A Dhp_82341.c519 switch (hp_priv->hw_version) { in xilinx_ready()
540 switch (hp_priv->hw_version) { in xilinx_done()
560 switch (hp_priv->hw_version) { in irq_valid()
631 switch (hp_priv->hw_version) { in hp_82341_load_firmware()
655 switch (hp_priv->hw_version) { in set_xilinx_not_prog()
717 hp_priv->hw_version = HW_VERSION_82341D; in hp_82341_attach()
722 hp_priv->hw_version = HW_VERSION_82341C; in hp_82341_attach()
736 if (hp_priv->hw_version == HW_VERSION_82341D) { in hp_82341_attach()
750 if (hp_priv->hw_version == HW_VERSION_82341D) in hp_82341_attach()
/linux-6.15/drivers/net/wireless/ath/wil6210/
H A Dmain.c945 if (wil->hw_version >= HW_VER_TALYN_MB) in wil_release_cpu()
1114 if (wil->hw_version < HW_VER_TALYN) { in wil_target_reset()
1180 if (wil->hw_version == HW_VER_TALYN_MB) in wil_target_reset()
1417 if (wil->hw_version >= HW_VER_TALYN_MB) in wil_get_otp_info()
1527 if (wil->hw_version < HW_VER_TALYN_MB) { in wil_pre_fw_config()
1535 if (wil->hw_version < HW_VER_TALYN_MB) in wil_pre_fw_config()
1616 if (wil->hw_version == HW_VER_UNKNOWN) in wil_reset()
1620 wil->hw_version < HW_VER_TALYN_MB) { in wil_reset()
1765 if (wil->hw_version >= HW_VER_TALYN_MB) in wil_reset()
1953 if (wil->hw_version >= HW_VER_TALYN_MB) in wil_halp_vote()
[all …]
H A Dpcie_bus.c51 wil->hw_version = HW_VER_SPARROW_D0; in wil_set_capabilities()
66 wil->hw_version = HW_VER_SPARROW_B0; in wil_set_capabilities()
70 wil->hw_version = HW_VER_UNKNOWN; in wil_set_capabilities()
78 wil->hw_version = HW_VER_TALYN; in wil_set_capabilities()
92 wil->hw_version = HW_VER_TALYN_MB; in wil_set_capabilities()
110 wil->hw_version = HW_VER_UNKNOWN; in wil_set_capabilities()
/linux-6.15/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy-3ph-1-0.c430 u32 hw_version; in csiphy_hw_version_read() local
435 hw_version = readl_relaxed(csiphy->base + in csiphy_hw_version_read()
437 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
439 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
441 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
444 dev_dbg(dev, "CSIPHY 3PH HW Version = 0x%08x\n", hw_version); in csiphy_hw_version_read()
H A Dcamss-csiphy-2ph-1-0.c46 u8 hw_version = readl_relaxed(csiphy->base + in csiphy_hw_version_read() local
49 dev_dbg(dev, "CSIPHY HW Version = 0x%02x\n", hw_version); in csiphy_hw_version_read()
H A Dcamss-csid.c607 u32 hw_version; in csid_hw_version() local
612 hw_version = readl_relaxed(csid->base + CSID_HW_VERSION); in csid_hw_version()
613 hw_gen = (hw_version >> HW_VERSION_GENERATION) & 0xF; in csid_hw_version()
614 hw_rev = (hw_version >> HW_VERSION_REVISION) & 0xFFF; in csid_hw_version()
615 hw_step = (hw_version >> HW_VERSION_STEPPING) & 0xFFFF; in csid_hw_version()
619 return hw_version; in csid_hw_version()
736 csid->res->hw_ops->hw_version(csid); in csid_set_power()
/linux-6.15/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c400 if (priv->hw_version == MVPP21) in mvpp2_bm_pool_create()
431 if (priv->hw_version == MVPP23) { in mvpp2_bm_pool_create()
472 if (priv->hw_version >= MVPP22) { in mvpp2_bm_bufs_get_addrs()
695 if (priv->hw_version == MVPP23) in mvpp2_bm_init()
2928 if (priv->hw_version == MVPP21) in mvpp2_aggr_txq_init()
6147 if (priv->hw_version == MVPP21) in mvpp2_port_has_irqs()
6906 if (priv->hw_version == MVPP21) in mvpp2_port_probe()
7459 if (priv->hw_version >= MVPP22) in mvpp2_init()
7498 if (priv->hw_version == MVPP21) in mvpp2_init()
7561 if (priv->hw_version == MVPP21) in mvpp2_probe()
[all …]
/linux-6.15/drivers/tty/ipwireless/
H A Dhardware.c231 short hw_version; member
421 if (hw->hw_version == HW_VERSION_1) { in do_send_fragment()
435 } else if (hw->hw_version == HW_VERSION_2) { in do_send_fragment()
526 if (hw->hw_version == HW_VERSION_1) { in ipw_setup_hardware()
844 if (hw->hw_version == HW_VERSION_1) in acknowledge_data_read()
862 if (hw->hw_version == HW_VERSION_1) { in do_receive_packet()
1050 if (hw->hw_version == HW_VERSION_1) in is_card_present()
1219 if (ipw->hardware->hw_version == HW_VERSION_1) in ipwireless_interrupt()
1602 if (hw->hw_version == HW_VERSION_1) { in do_close_hardware()
1658 hw->hw_version = (is_v2_card ? HW_VERSION_2 : HW_VERSION_1); in ipwireless_init_hardware_v1()
[all …]
/linux-6.15/drivers/nfc/s3fwrn5/
H A Dfirmware.c342 if (bootinfo->hw_version[0] == match[i].version[0] && in s3fwrn5_fw_get_base_addr()
343 bootinfo->hw_version[1] == match[i].version[1] && in s3fwrn5_fw_get_base_addr()
344 bootinfo->hw_version[3] == match[i].version[3]) { in s3fwrn5_fw_get_base_addr()
355 return !!bootinfo->hw_version[2]; in s3fwrn5_fw_is_custom()
/linux-6.15/drivers/dma/qcom/
H A Dhidma_mgmt.c131 mgmtdev->hw_version = in hidma_mgmt_setup()
133 mgmtdev->hw_version_major = (mgmtdev->hw_version >> 28) & 0xF; in hidma_mgmt_setup()
134 mgmtdev->hw_version_minor = (mgmtdev->hw_version >> 16) & 0xF; in hidma_mgmt_setup()
H A Dhidma_mgmt.h18 u32 hw_version; member
/linux-6.15/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c88 u32 hw_version; member
661 dsi->hw_version = dsi_read(dsi, DSI_VERSION) & VERSION; in dw_mipi_dsi_stm_probe()
664 if (dsi->hw_version != HWVER_130 && dsi->hw_version != HWVER_131) { in dw_mipi_dsi_stm_probe()
673 if (dsi->hw_version == HWVER_131) { in dw_mipi_dsi_stm_probe()
H A Dltdc.h15 u32 hw_version; /* hardware version */ member
/linux-6.15/drivers/net/wireless/ti/wlcore/
H A Dboot.h27 u32 hw_version; member
/linux-6.15/drivers/mmc/host/
H A Dsdhci-xenon.h101 enum xenon_variant hw_version; member
/linux-6.15/include/uapi/rdma/hfi/
H A Dhfi1_ioctl.h122 __u32 hw_version; member

123456