/openbmc/u-boot/drivers/spmi/ |
H A D | spmi-msm.c | 154 u32 hw_ver; in msm_spmi_probe() local 164 hw_ver = readl(priv->arb_chnl + PMIC_ARB_VERSION - 0x800); in msm_spmi_probe() 165 is_v1 = (hw_ver < PMIC_ARB_VERSION_V2_MIN); in msm_spmi_probe() 167 dev_dbg(dev, "PMIC Arb Version-%d (0x%x)\n", (is_v1 ? 1 : 2), hw_ver); in msm_spmi_probe()
|
/openbmc/linux/drivers/ufs/host/ |
H A D | ufs-qcom.c | 374 if (host->hw_ver.major >= 0x05) in ufs_qcom_select_unipro_mode() 429 if (host->hw_ver.major == 0x1) { in ufs_qcom_get_hs_gear() 928 if (host->hw_ver.major >= 0x4) { in ufs_qcom_pwr_change_notify() 999 if (host->hw_ver.major == 0x1) in ufs_qcom_get_ufs_hci_version() 1023 if (host->hw_ver.minor == 0x0001 && host->hw_ver.step == 0x0001) in ufs_qcom_advertise_quirks() 1029 if (host->hw_ver.major == 0x2) { in ufs_qcom_advertise_quirks() 1039 if (host->hw_ver.major > 0x3) in ufs_qcom_advertise_quirks() 1054 if (host->hw_ver.major >= 0x2) { in ufs_qcom_set_caps() 1234 &host->hw_ver.minor, &host->hw_ver.step); in ufs_qcom_init() 1851 if (host->hw_ver.major == 6 && host->hw_ver.minor == 0 && in ufs_qcom_config_esi() [all …]
|
H A D | ufs-qcom.h | 218 struct ufs_hw_version hw_ver; member 238 if (host->hw_ver.major <= 0x02) in ufs_qcom_get_debug_reg_offset()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | dfs_debug.c | 38 struct ath9k_hw_version *hw_ver = &sc->sc_ah->hw_version; in read_file_dfs() local 49 hw_ver->macVersion, hw_ver->macRev, in read_file_dfs()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_llh.c | 132 u32 hw_ver = hw_atl2_get_hw_version(aq_hw); in hw_atl2_init_launchtime() local 137 hw_ver < HW_ATL2_FPGA_VER_U32(1, 0, 0, 0) ? in hw_atl2_init_launchtime() 139 hw_ver >= HW_ATL2_FPGA_VER_U32(1, 0, 85, 2) ? in hw_atl2_init_launchtime()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt1308-sdw.h | 167 int hw_ver; member
|
H A D | rt715-sdca.c | 1025 unsigned int hw_ver; in rt715_sdca_io_init() local 1046 RT715_PRODUCT_NUM, &hw_ver); in rt715_sdca_io_init() 1047 hw_ver = hw_ver & 0x000f; in rt715_sdca_io_init() 1054 if (hw_ver == 0x0) in rt715_sdca_io_init() 1057 else if (hw_ver == 0x1) { in rt715_sdca_io_init()
|
H A D | rt711-sdca.h | 33 int hw_ver; member
|
H A D | rt1308-sdw.c | 243 rt1308->hw_ver = tmp; in rt1308_io_init() 244 dev_dbg(dev, "%s, hw_ver=0x%x\n", __func__, rt1308->hw_ver); in rt1308_io_init() 261 if (rt1308->hw_ver == RT1308_VER_C) { in rt1308_io_init()
|
/openbmc/linux/drivers/remoteproc/ |
H A D | st_slim_rproc.c | 115 unsigned long hw_id, hw_ver, fw_rev; in slim_rproc_start() local 141 hw_ver = readl_relaxed(slim_rproc->slimcore + SLIM_VER_OFST); in slim_rproc_start() 148 hw_id, hw_ver); in slim_rproc_start()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | raydium_i2c_ts.c | 105 __le32 hw_ver; /*device version */ member 301 u32 hw_ver; in raydium_i2c_query_ts_bootloader_info() local 321 hw_ver = 0xffffffffUL; in raydium_i2c_query_ts_bootloader_info() 323 hw_ver = get_unaligned_be32(rbuf + 1); in raydium_i2c_query_ts_bootloader_info() 326 ts->info.hw_ver = cpu_to_le32(hw_ver); in raydium_i2c_query_ts_bootloader_info() 823 le32_to_cpu(ts->info.hw_ver)); in raydium_i2c_fw_update() 945 return sprintf(buf, "%#04x\n", le32_to_cpu(ts->info.hw_ver)); in raydium_i2c_hw_ver_show()
|
/openbmc/u-boot/board/freescale/t104xrdb/ |
H A D | cpld.h | 15 u8 hw_ver; /* 0x02 - Hardware Revision Register */ member
|
H A D | cpld.c | 64 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs()
|
H A D | t104xrdb.c | 37 CPLD_READ(hw_ver), CPLD_READ(sw_ver)); in checkboard()
|
/openbmc/u-boot/board/freescale/t4rdb/ |
H A D | cpld.h | 19 u8 hw_ver; /* 0x04 - PCBA Version Register */ member
|
H A D | t4240rdb.c | 33 CPLD_READ(hw_ver), CPLD_READ(sw_maj_ver), CPLD_READ(sw_min_ver)); in checkboard()
|
H A D | cpld.c | 81 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs()
|
/openbmc/u-boot/board/freescale/t208xrdb/ |
H A D | cpld.h | 12 u8 hw_ver; /* 0x02 - Hardware Revision Register */ member
|
H A D | t208xrdb.c | 31 CPLD_READ(hw_ver), CPLD_READ(sw_ver)); in checkboard()
|
/openbmc/u-boot/board/freescale/t102xrdb/ |
H A D | cpld.h | 10 u8 hw_ver; /* 0x02 - Hardware Revision Register */ member
|
H A D | cpld.c | 59 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | sdio.c | 226 int mt76s_hw_init(struct mt76_dev *dev, struct sdio_func *func, int hw_ver) in mt76s_hw_init() argument 231 dev->sdio.hw_ver = hw_ver; in mt76s_hw_init() 262 if (hw_ver == MT76_CONNAC2_SDIO) in mt76s_hw_init() 268 switch (hw_ver) { in mt76s_hw_init()
|
/openbmc/linux/drivers/spmi/ |
H A D | spmi-pmic-arb.c | 1443 u32 channel, ee, hw_ver; in spmi_pmic_arb_probe() local 1480 hw_ver = readl_relaxed(core + PMIC_ARB_VERSION); in spmi_pmic_arb_probe() 1482 if (hw_ver < PMIC_ARB_VERSION_V2_MIN) { in spmi_pmic_arb_probe() 1489 if (hw_ver < PMIC_ARB_VERSION_V3_MIN) in spmi_pmic_arb_probe() 1491 else if (hw_ver < PMIC_ARB_VERSION_V5_MIN) in spmi_pmic_arb_probe() 1493 else if (hw_ver < PMIC_ARB_VERSION_V7_MIN) in spmi_pmic_arb_probe() 1519 if (hw_ver >= PMIC_ARB_VERSION_V7_MIN) { in spmi_pmic_arb_probe() 1551 } else if (hw_ver >= PMIC_ARB_VERSION_V5_MIN) { in spmi_pmic_arb_probe() 1573 pmic_arb->ver_ops->ver_str, hw_ver); in spmi_pmic_arb_probe() 1643 if (hw_ver >= PMIC_ARB_VERSION_V5_MIN) { in spmi_pmic_arb_probe()
|
/openbmc/linux/drivers/net/wireless/intersil/orinoco/ |
H A D | hw.h | 27 size_t fw_name_len, u32 *hw_ver);
|
/openbmc/linux/include/uapi/linux/ |
H A D | pfrut.h | 89 __u32 hw_ver; member
|