Home
last modified time | relevance | path

Searched refs:hw_ver (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/u-boot/drivers/spmi/
H A Dspmi-msm.c154 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 Dufs-qcom.c374 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 Dufs-qcom.h218 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 Ddfs_debug.c38 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 Dhw_atl2_llh.c132 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 Drt1308-sdw.h167 int hw_ver; member
H A Drt715-sdca.c1025 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 Drt711-sdca.h33 int hw_ver; member
H A Drt1308-sdw.c243 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 Dst_slim_rproc.c115 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 Draydium_i2c_ts.c105 __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 Dcpld.h15 u8 hw_ver; /* 0x02 - Hardware Revision Register */ member
H A Dcpld.c64 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs()
H A Dt104xrdb.c37 CPLD_READ(hw_ver), CPLD_READ(sw_ver)); in checkboard()
/openbmc/u-boot/board/freescale/t4rdb/
H A Dcpld.h19 u8 hw_ver; /* 0x04 - PCBA Version Register */ member
H A Dt4240rdb.c33 CPLD_READ(hw_ver), CPLD_READ(sw_maj_ver), CPLD_READ(sw_min_ver)); in checkboard()
H A Dcpld.c81 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs()
/openbmc/u-boot/board/freescale/t208xrdb/
H A Dcpld.h12 u8 hw_ver; /* 0x02 - Hardware Revision Register */ member
H A Dt208xrdb.c31 CPLD_READ(hw_ver), CPLD_READ(sw_ver)); in checkboard()
/openbmc/u-boot/board/freescale/t102xrdb/
H A Dcpld.h10 u8 hw_ver; /* 0x02 - Hardware Revision Register */ member
H A Dcpld.c59 printf("hw_ver = 0x%02x\n", CPLD_READ(hw_ver)); in cpld_dump_regs()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dsdio.c226 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 Dspmi-pmic-arb.c1443 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 Dhw.h27 size_t fw_name_len, u32 *hw_ver);
/openbmc/linux/include/uapi/linux/
H A Dpfrut.h89 __u32 hw_ver; member

123