/linux/drivers/net/wireless/ath/ath9k/ |
A D | reg.h | 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)) 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 …]
|
A D | hw.c | 262 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() 3374 ah->hw_version.macRev); in ath9k_hw_name() 3380 ah->hw_version.macRev, in ath9k_hw_name() [all …]
|
/linux/drivers/soc/tegra/ |
A D | common.c | 83 u32 hw_version; in devm_tegra_core_dev_init_opp_table() local 98 hw_version = BIT(tegra_sku_info.soc_process_id); in devm_tegra_core_dev_init_opp_table() 100 hw_version = BIT(tegra_sku_info.soc_speedo_id); in devm_tegra_core_dev_init_opp_table() 102 err = devm_pm_opp_set_supported_hw(dev, &hw_version, 1); in devm_tegra_core_dev_init_opp_table()
|
/linux/drivers/input/mouse/ |
A D | elantech.c | 149 switch (etd->info.hw_version) { in elantech_read_reg() 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() 1618 info->hw_version = 1; in elantech_set_properties() 1623 info->hw_version = 2; in elantech_set_properties() 1626 info->hw_version = 3; in elantech_set_properties() 1629 info->hw_version = 4; in elantech_set_properties() 1656 if (info->hw_version > 1) { in elantech_set_properties() 1784 switch (info->hw_version) { in elantech_query_info() [all …]
|
/linux/drivers/media/platform/qcom/camss/ |
A D | camss-csid-170.c | 472 u32 hw_version; in csid_hw_version() local 477 hw_version = readl_relaxed(csid->base + CSID_HW_VERSION); in csid_hw_version() 478 hw_gen = (hw_version >> HW_VERSION_GENERATION) & 0xF; in csid_hw_version() 479 hw_rev = (hw_version >> HW_VERSION_REVISION) & 0xFFF; in csid_hw_version() 480 hw_step = (hw_version >> HW_VERSION_STEPPING) & 0xFFFF; in csid_hw_version() 484 return hw_version; in csid_hw_version() 594 .hw_version = csid_hw_version,
|
A D | camss-csiphy-3ph-1-0.c | 152 u32 hw_version; in csiphy_hw_version_read() local 157 hw_version = readl_relaxed(csiphy->base + in csiphy_hw_version_read() 159 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read() 161 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read() 163 hw_version |= readl_relaxed(csiphy->base + in csiphy_hw_version_read() 166 dev_err(dev, "CSIPHY 3PH HW Version = 0x%08x\n", hw_version); in csiphy_hw_version_read()
|
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,
|
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,
|
A D | camss-vfe-170.c | 182 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() 777 .hw_version = vfe_hw_version,
|
A D | camss-csiphy-2ph-1-0.c | 32 u8 hw_version = readl_relaxed(csiphy->base + in csiphy_hw_version_read() local 35 dev_dbg(dev, "CSIPHY HW Version = 0x%02x\n", hw_version); in csiphy_hw_version_read()
|
/linux/drivers/hwmon/pmbus/ |
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);
|
/linux/drivers/gpu/drm/stm/ |
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() 411 dsi->hw_version = dsi_read(dsi, DSI_VERSION) & VERSION; in dw_mipi_dsi_stm_probe() 414 if (dsi->hw_version != HWVER_130 && dsi->hw_version != HWVER_131) { in dw_mipi_dsi_stm_probe()
|
A D | ltdc.h | 15 u32 hw_version; /* hardware version */ member
|
/linux/drivers/net/wireless/ath/wil6210/ |
A D | main.c | 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() 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 …]
|
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()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_main.c | 400 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() 670 if (priv->hw_version == MVPP23) in mvpp2_bm_init() 2901 if (priv->hw_version == MVPP21) in mvpp2_aggr_txq_init() 6064 if (priv->hw_version == MVPP21) in mvpp2_port_has_irqs() 6797 if (priv->hw_version == MVPP21) in mvpp2_port_probe() 7294 if (priv->hw_version >= MVPP22) in mvpp2_init() 7333 if (priv->hw_version == MVPP21) in mvpp2_init() 7394 if (priv->hw_version == MVPP21) in mvpp2_probe() [all …]
|
/linux/drivers/tty/ipwireless/ |
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 = (is_v2_card ? HW_VERSION_2 : HW_VERSION_1); in ipwireless_init_hardware_v1() [all …]
|
/linux/drivers/nfc/s3fwrn5/ |
A D | firmware.c | 342 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/drivers/dma/qcom/ |
A D | hidma_mgmt.c | 134 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()
|
A D | hidma_mgmt.h | 18 u32 hw_version; member
|
/linux/drivers/net/wireless/ti/wlcore/ |
A D | boot.h | 27 u32 hw_version; member
|
/linux/drivers/i2c/busses/ |
A D | i2c-hisi.c | 433 u32 hw_version; in hisi_i2c_probe() local 480 hw_version = readl(ctlr->iobase + HISI_I2C_VERSION); in hisi_i2c_probe() 482 i2c_freq_mode_string(ctlr->t.bus_freq_hz), hw_version); in hisi_i2c_probe()
|
/linux/drivers/mmc/host/ |
A D | sdhci-xenon.h | 100 enum xenon_variant hw_version; member
|
/linux/include/uapi/rdma/hfi/ |
A D | hfi1_ioctl.h | 122 __u32 hw_version; member
|
/linux/drivers/media/rc/ |
A D | ir_toy.c | 74 uint hw_version; member 98 irtoy->hw_version = version / 100; in irtoy_response() 469 irtoy->hw_version, irtoy->sw_version / 10, in irtoy_probe()
|