Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dreg.h830 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \
831 ((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCIE))
834 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_5416_22)) || \
835 ((_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))
850 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9280))
[all …]
Dhw.c260 ah->hw_version.macRev = ah->get_mac_revision(); in ath9k_hw_read_revisions()
262 switch (ah->hw_version.devid) { in ath9k_hw_read_revisions()
264 ah->hw_version.macVersion = AR_SREV_VERSION_9100; in ath9k_hw_read_revisions()
267 ah->hw_version.macVersion = AR_SREV_VERSION_9330; in ath9k_hw_read_revisions()
270 ah->hw_version.macRev = MS(val, AR_SREV_REVISION2); in ath9k_hw_read_revisions()
274 ah->hw_version.macVersion = AR_SREV_VERSION_9340; in ath9k_hw_read_revisions()
277 ah->hw_version.macVersion = AR_SREV_VERSION_9550; in ath9k_hw_read_revisions()
280 ah->hw_version.macVersion = AR_SREV_VERSION_9531; in ath9k_hw_read_revisions()
283 ah->hw_version.macVersion = AR_SREV_VERSION_9561; in ath9k_hw_read_revisions()
299 ah->hw_version.macVersion = in ath9k_hw_read_revisions()
[all …]
/linux-6.1.9/drivers/soc/tegra/
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.1.9/drivers/input/mouse/
Delantech.c149 switch (etd->info.hw_version) { in elantech_read_reg()
181 else if (etd->info.hw_version != 4) in elantech_read_reg()
204 switch (etd->info.hw_version) { in elantech_write_reg()
933 switch (etd->info.hw_version) { in elantech_process_byte()
1019 switch (etd->info.hw_version) { in elantech_set_absolute_mode()
1079 } else if (etd->info.hw_version == 1 && in elantech_set_absolute_mode()
1188 switch (info->hw_version) { in elantech_set_input_params()
1205 if (info->hw_version == 3) in elantech_set_input_params()
1251 if (info->hw_version > 1) { in elantech_set_input_params()
1301 if (etd->info.hw_version == 1) { in elantech_set_int_attr()
[all …]
/linux-6.1.9/drivers/hwmon/pmbus/
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.1.9/drivers/media/platform/qcom/camss/
Dcamss-csid-gen2.c478 u32 hw_version; in csid_hw_version() local
483 hw_version = readl_relaxed(csid->base + CSID_HW_VERSION); in csid_hw_version()
484 hw_gen = (hw_version >> HW_VERSION_GENERATION) & 0xF; in csid_hw_version()
485 hw_rev = (hw_version >> HW_VERSION_REVISION) & 0xFFF; in csid_hw_version()
486 hw_step = (hw_version >> HW_VERSION_STEPPING) & 0xFFFF; in csid_hw_version()
490 return hw_version; in csid_hw_version()
600 .hw_version = csid_hw_version,
Dcamss-csiphy-3ph-1-0.c269 u32 hw_version; in csiphy_hw_version_read() local
274 hw_version = readl_relaxed(csiphy->base + in csiphy_hw_version_read()
276 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
278 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
280 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read()
283 dev_dbg(dev, "CSIPHY 3PH HW Version = 0x%08x\n", hw_version); in csiphy_hw_version_read()
Dcamss-csid-4-1.c264 u32 hw_version = readl_relaxed(csid->base + CAMSS_CSID_HW_VERSION); in csid_hw_version() local
266 dev_dbg(csid->camss->dev, "CSID HW Version = 0x%08x\n", hw_version); in csid_hw_version()
268 return hw_version; in csid_hw_version()
323 .hw_version = csid_hw_version,
Dcamss-csid-4-7.c304 u32 hw_version = readl_relaxed(csid->base + CAMSS_CSID_HW_VERSION); in csid_hw_version() local
306 dev_dbg(csid->camss->dev, "CSID HW Version = 0x%08x\n", hw_version); in csid_hw_version()
308 return hw_version; in csid_hw_version()
399 .hw_version = csid_hw_version,
Dcamss-vfe-480.c99 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version() local
101 u32 gen = (hw_version >> 28) & 0xF; in vfe_hw_version()
102 u32 rev = (hw_version >> 16) & 0xFFF; in vfe_hw_version()
103 u32 step = hw_version & 0xFFFF; in vfe_hw_version()
107 return hw_version; in vfe_hw_version()
556 .hw_version = vfe_hw_version,
Dcamss-vfe-170.c182 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version() local
184 u32 gen = (hw_version >> 28) & 0xF; in vfe_hw_version()
185 u32 rev = (hw_version >> 16) & 0xFFF; in vfe_hw_version()
186 u32 step = hw_version & 0xFFFF; in vfe_hw_version()
191 return hw_version; in vfe_hw_version()
760 .hw_version = vfe_hw_version,
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()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dmain.c931 if (wil->hw_version >= HW_VER_TALYN_MB) { in wil_halt_cpu()
945 if (wil->hw_version >= HW_VER_TALYN_MB) in wil_release_cpu()
1114 if (wil->hw_version < HW_VER_TALYN) { in wil_target_reset()
1154 if (wil->hw_version >= HW_VER_TALYN_MB) { in wil_target_reset()
1180 if (wil->hw_version == HW_VER_TALYN_MB) in wil_target_reset()
1193 if (wil->hw_version < HW_VER_TALYN_MB && no_flash) { in wil_target_reset()
1417 if (wil->hw_version >= HW_VER_TALYN_MB) in wil_get_otp_info()
1449 jiffies_to_msecs(to-left), wil->hw_version); in wil_wait_for_fw_ready()
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()
[all …]
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.1.9/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c185 if (port->priv->hw_version == MVPP21) in mvpp2_txdesc_dma_addr_get()
201 if (port->priv->hw_version == MVPP21) { in mvpp2_txdesc_dma_addr_set()
216 if (port->priv->hw_version == MVPP21) in mvpp2_txdesc_size_get()
226 if (port->priv->hw_version == MVPP21) in mvpp2_txdesc_size_set()
236 if (port->priv->hw_version == MVPP21) in mvpp2_txdesc_txq_set()
246 if (port->priv->hw_version == MVPP21) in mvpp2_txdesc_cmd_set()
255 if (port->priv->hw_version == MVPP21) in mvpp2_txdesc_offset_get()
264 if (port->priv->hw_version == MVPP21) in mvpp2_rxdesc_dma_addr_get()
274 if (port->priv->hw_version == MVPP21) in mvpp2_rxdesc_cookie_get()
284 if (port->priv->hw_version == MVPP21) in mvpp2_rxdesc_size_get()
[all …]
/linux-6.1.9/drivers/tty/ipwireless/
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.1.9/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c81 u32 hw_version; member
501 dsi->hw_version = dsi_read(dsi, DSI_VERSION) & VERSION; in dw_mipi_dsi_stm_probe()
504 if (dsi->hw_version != HWVER_130 && dsi->hw_version != HWVER_131) { in dw_mipi_dsi_stm_probe()
513 if (dsi->hw_version == HWVER_131) { in dw_mipi_dsi_stm_probe()
Dltdc.h15 u32 hw_version; /* hardware version */ member
/linux-6.1.9/drivers/nfc/s3fwrn5/
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()
Dfirmware.h42 __u8 hw_version[4]; member
/linux-6.1.9/drivers/net/wireless/ti/wlcore/
Dboot.h27 u32 hw_version; member
/linux-6.1.9/drivers/dma/qcom/
Dhidma_mgmt.h18 u32 hw_version; member
Dhidma_mgmt.c134 mgmtdev->hw_version = in hidma_mgmt_setup()
136 mgmtdev->hw_version_major = (mgmtdev->hw_version >> 28) & 0xF; in hidma_mgmt_setup()
137 mgmtdev->hw_version_minor = (mgmtdev->hw_version >> 16) & 0xF; in hidma_mgmt_setup()
/linux-6.1.9/drivers/mmc/host/
Dsdhci-xenon.h100 enum xenon_variant hw_version; member
/linux-6.1.9/include/uapi/rdma/hfi/
Dhfi1_ioctl.h122 __u32 hw_version; member

12345