| /linux/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.macVersion == AR_SREV_VERSION_9280)) [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.macVersion = in ath9k_hw_read_revisions() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| H A D | mlxbf_gige_regs.h | 115 #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 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()
|
| H A D | mlxbf_gige_main.c | 425 priv->hw_version = readq(base + MLXBF_GIGE_VERSION); in mlxbf_gige_probe() 478 mlxbf_gige_link_cfgs[priv->hw_version].adjust_link, in mlxbf_gige_probe() 479 mlxbf_gige_link_cfgs[priv->hw_version].phy_mode); in mlxbf_gige_probe() 485 mlxbf_gige_link_cfgs[priv->hw_version].set_phy_link_mode(phydev); in mlxbf_gige_probe()
|
| /linux/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() 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() 1302 if (etd->info.hw_version == 1) { in elantech_set_int_attr() [all …]
|
| H A D | elantech.h | 143 unsigned char hw_version; member
|
| /linux/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);
|
| /linux/drivers/gpib/hp_82341/ |
| H A D | hp_82341.c | 514 switch (hp_priv->hw_version) { in xilinx_ready() 535 switch (hp_priv->hw_version) { in xilinx_done() 555 switch (hp_priv->hw_version) { in irq_valid() 627 switch (hp_priv->hw_version) { in hp_82341_load_firmware() 651 switch (hp_priv->hw_version) { in set_xilinx_not_prog() 713 hp_priv->hw_version = HW_VERSION_82341D; in hp_82341_attach() 718 hp_priv->hw_version = HW_VERSION_82341C; in hp_82341_attach() 732 if (hp_priv->hw_version == HW_VERSION_82341D) { in hp_82341_attach() 746 if (hp_priv->hw_version == HW_VERSION_82341D) in hp_82341_attach()
|
| H A D | hp_82341.h | 26 enum hp_82341_hardware_version hw_version; member
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| 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_MB) in wil_pre_fw_config() [all …]
|
| 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()
|
| /linux/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 = (is_v2_card ? HW_VERSION_2 : HW_VERSION_1); in ipwireless_init_hardware_v1() [all …]
|
| /linux/drivers/dma/qcom/ |
| H A D | hidma_mgmt.c | 131 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 D | hidma_mgmt.h | 18 u32 hw_version; member
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | boot.h | 27 u32 hw_version; member
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-xenon.h | 101 enum xenon_variant hw_version; member
|
| /linux/include/uapi/rdma/hfi/ |
| H A D | hfi1_ioctl.h | 122 __u32 hw_version; member
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-hisi.c | 464 u32 hw_version; in hisi_i2c_probe() local 512 hw_version = readl(ctlr->iobase + HISI_I2C_VERSION); in hisi_i2c_probe() 514 i2c_freq_mode_string(ctlr->t.bus_freq_hz), hw_version); in hisi_i2c_probe()
|
| /linux/drivers/media/rc/ |
| H A D | ir_toy.c | 74 uint hw_version; member 98 irtoy->hw_version = version / 100; in irtoy_response() 471 irtoy->hw_version, irtoy->sw_version / 10, in irtoy_probe()
|
| /linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
| H A D | dcn10_dwb.c | 49 caps->hw_version = DCN_VERSION_1_0; in dwb1_get_caps()
|
| /linux/drivers/net/can/softing/ |
| H A D | softing.h | 69 uint16_t fw_version, hw_version, license, serial; member
|
| /linux/include/sound/ |
| H A D | snd_wavefront.h | 86 char hw_version[2]; /* major = [0], minor = [1] */ member
|
| /linux/drivers/input/touchscreen/ |
| H A D | elants_i2c.c | 164 u16 hw_version; member 380 ts->hw_version = elants_i2c_parse_version(resp); in elants_i2c_query_hw_version() 381 if (ts->hw_version != 0xffff) in elants_i2c_query_hw_version() 385 dev_err(&client->dev, "Invalid fw id: %#04x\n", ts->hw_version); in elants_i2c_query_hw_version() 913 fw_name = kasprintf(GFP_KERNEL, "elants_i2c_%04x.bin", ts->hw_version); in elants_i2c_fw_update() 1296 static ELANTS_VERSION_ATTR(hw_version);
|
| /linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
| H A D | dwb.h | 140 enum dce_version hw_version; /* DCN engine version. */ member
|