/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | reg.h | 830 (((_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 [all...] |
H A D | hw.c | 261 ah->hw_version.macRev = ah->get_mac_revision(); in ath9k_hw_read_revisions() 263 switch (ah->hw_version.devid) { in ath9k_hw_read_revisions() 265 ah->hw_version.macVersion = AR_SREV_VERSION_9100; in ath9k_hw_read_revisions() 268 ah->hw_version.macVersion = AR_SREV_VERSION_9330; in ath9k_hw_read_revisions() 271 ah->hw_version.macRev = MS(val, AR_SREV_REVISION2); in ath9k_hw_read_revisions() 275 ah->hw_version.macVersion = AR_SREV_VERSION_9340; in ath9k_hw_read_revisions() 278 ah->hw_version.macVersion = AR_SREV_VERSION_9550; in ath9k_hw_read_revisions() 281 ah->hw_version.macVersion = AR_SREV_VERSION_9531; in ath9k_hw_read_revisions() 284 ah->hw_version.macVersion = AR_SREV_VERSION_9561; in ath9k_hw_read_revisions() 300 ah->hw_version in ath9k_hw_read_revisions() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | reg.h | 830 (((_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 [all...] |
H A D | hw.c | 260 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 in ath9k_hw_read_revisions() [all...] |
/kernel/linux/linux-6.6/drivers/soc/tegra/ |
H A D | common.c | 108 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()
|
/kernel/linux/linux-6.6/include/linux/soc/qcom/ |
H A D | geni-se.h | 423 u32 val, hw_version, hw_major, hw_minor, tx_fifo_depth_mask; in geni_se_get_tx_fifo_depth() local 425 hw_version = geni_se_get_qup_hw_version(se); in geni_se_get_tx_fifo_depth() 426 hw_major = GENI_SE_VERSION_MAJOR(hw_version); in geni_se_get_tx_fifo_depth() 427 hw_minor = GENI_SE_VERSION_MINOR(hw_version); in geni_se_get_tx_fifo_depth() 469 u32 val, hw_version, hw_major, hw_minor, rx_fifo_depth_mask; in geni_se_get_rx_fifo_depth() local 471 hw_version = geni_se_get_qup_hw_version(se); in geni_se_get_rx_fifo_depth() 472 hw_major = GENI_SE_VERSION_MAJOR(hw_version); in geni_se_get_rx_fifo_depth() 473 hw_minor = GENI_SE_VERSION_MINOR(hw_version); in geni_se_get_rx_fifo_depth()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-csiphy-3ph-1-0.c | 51 u32 hw_version; in csiphy_hw_version_read() local 56 hw_version = readl_relaxed(csiphy->base + in csiphy_hw_version_read() 58 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read() 60 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read() 62 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read() 65 dev_err(dev, "CSIPHY 3PH HW Version = 0x%08x\n", hw_version); in csiphy_hw_version_read()
|
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
H A D | inspur-ipsps.c | 38 hw_version, enumerator 49 [hw_version] = IPSPS_REG_HW_VERSION, 161 static SENSOR_DEVICE_ATTR_RO(hw_version, ipsps_string, hw_version);
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss-csid-4-1.c | 264 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,
|
H A D | camss-csid-gen2.c | 498 u32 hw_version; in csid_hw_version() local 503 hw_version = readl_relaxed(csid->base + CSID_HW_VERSION); in csid_hw_version() 504 hw_gen = (hw_version >> HW_VERSION_GENERATION) & 0xF; in csid_hw_version() 505 hw_rev = (hw_version >> HW_VERSION_REVISION) & 0xFFF; in csid_hw_version() 506 hw_step = (hw_version >> HW_VERSION_STEPPING) & 0xFFFF; in csid_hw_version() 510 return hw_version; in csid_hw_version() 625 .hw_version = csid_hw_version,
|
H A D | camss-csid-4-7.c | 304 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,
|
H A D | camss-csiphy-3ph-1-0.c | 269 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()
|
H A D | camss-vfe-480.c | 100 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version() local 102 u32 gen = (hw_version >> 28) & 0xF; in vfe_hw_version() 103 u32 rev = (hw_version >> 16) & 0xFFF; in vfe_hw_version() 104 u32 step = hw_version & 0xFFFF; in vfe_hw_version() 108 return hw_version; in vfe_hw_version() 577 .hw_version = vfe_hw_version,
|
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
H A D | inspur-ipsps.c | 38 hw_version, enumerator 49 [hw_version] = IPSPS_REG_HW_VERSION, 161 static SENSOR_DEVICE_ATTR_RO(hw_version, ipsps_string, hw_version);
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | elantech.c | 149 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() 934 switch (etd->info.hw_version) { in elantech_process_byte() 1020 switch (etd->info.hw_version) { in elantech_set_absolute_mode() 1080 } else if (etd->info.hw_version == 1 && in elantech_set_absolute_mode() 1133 * Some hw_version 4 models do have a middle button 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 > in elantech_set_input_params() [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | elantech.c | 149 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() 934 switch (etd->info.hw_version) { in elantech_process_byte() 1020 switch (etd->info.hw_version) { in elantech_set_absolute_mode() 1080 } else if (etd->info.hw_version == 1 && in elantech_set_absolute_mode() 1133 * Some hw_version 4 models do have a middle button 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 > in elantech_set_input_params() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
H A D | pcie_bus.c | 51 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()
|
H A D | main.c | 931 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_M in wil_pre_fw_config() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/ |
H A D | pcie_bus.c | 51 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()
|
H A D | main.c | 931 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_M in wil_pre_fw_config() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_mdio.c | 272 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()
|
/kernel/linux/linux-5.10/drivers/tty/ipwireless/ |
H A D | hardware.c | 231 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 in ipwireless_init_hardware_v1() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ipwireless/ |
H A D | hardware.c | 231 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 in ipwireless_init_hardware_v1() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/ |
H A D | dw_mipi_dsi-stm.c | 81 u32 hw_version; member 253 if (dsi->hw_version == HWVER_131) { in dw_mipi_dsi_get_lane_mbps() 405 dsi->hw_version = dsi_read(dsi, DSI_VERSION) & VERSION; in dw_mipi_dsi_stm_probe() 408 if (dsi->hw_version != HWVER_130 && dsi->hw_version != HWVER_131) { in dw_mipi_dsi_stm_probe()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/stm/ |
H A D | dw_mipi_dsi-stm.c | 81 u32 hw_version; member 499 dsi->hw_version = dsi_read(dsi, DSI_VERSION) & VERSION; in dw_mipi_dsi_stm_probe() 502 if (dsi->hw_version != HWVER_130 && dsi->hw_version != HWVER_131) { in dw_mipi_dsi_stm_probe() 511 if (dsi->hw_version == HWVER_131) { in dw_mipi_dsi_stm_probe()
|