/linux-6.12.1/drivers/media/pci/intel/ipu6/ |
D | ipu6.h | 40 static inline bool is_ipu6se(u8 hw_ver) in is_ipu6se() argument 42 return hw_ver == IPU6_VER_6SE; in is_ipu6se() 45 static inline bool is_ipu6ep(u8 hw_ver) in is_ipu6ep() argument 47 return hw_ver == IPU6_VER_6EP; in is_ipu6ep() 50 static inline bool is_ipu6ep_mtl(u8 hw_ver) in is_ipu6ep_mtl() argument 52 return hw_ver == IPU6_VER_6EP_MTL; in is_ipu6ep_mtl() 55 static inline bool is_ipu6_tgl(u8 hw_ver) in is_ipu6_tgl() argument 57 return hw_ver == IPU6_VER_6; in is_ipu6_tgl() 87 u8 hw_ver; member
|
D | ipu6.c | 292 u8 hw_ver = isp->hw_ver; in ipu6_internal_pdata_init() local 316 isys_ipdata.enhanced_iwake = is_ipu6ep_mtl(hw_ver) || is_ipu6ep(hw_ver); in ipu6_internal_pdata_init() 320 if (is_ipu6ep(hw_ver)) { in ipu6_internal_pdata_init() 325 if (is_ipu6_tgl(hw_ver)) in ipu6_internal_pdata_init() 328 if (is_ipu6ep_mtl(hw_ver)) { in ipu6_internal_pdata_init() 349 if (is_ipu6se(hw_ver)) { in ipu6_internal_pdata_init() 462 static int ipu6_pci_config_setup(struct pci_dev *dev, u8 hw_ver) in ipu6_pci_config_setup() argument 467 if (is_ipu6ep_mtl(hw_ver) && boot_cpu_data.x86_stepping == 0x2 && in ipu6_pci_config_setup() 472 if (is_ipu6ep(hw_ver) || is_ipu6ep_mtl(hw_ver)) { in ipu6_pci_config_setup() 538 isp->hw_ver = IPU6_VER_6; in ipu6_pci_probe() [all …]
|
/linux-6.12.1/drivers/ufs/host/ |
D | ufs-qcom.c | 285 if (host->hw_ver.major >= 0x05) in ufs_qcom_select_unipro_mode() 337 if (host->hw_ver.major >= 0x4) in ufs_qcom_get_hs_gear() 357 if (host->hw_ver.major == 0x5) { in ufs_qcom_power_up_sequence() 477 if (host->hw_ver.major < 4 && !ufshcd_is_intr_aggr_allowed(hba)) in ufs_qcom_cfg_timers() 770 if (host->hw_ver.major >= 0x4) { in ufs_qcom_pwr_change_notify() 855 if (host->hw_ver.major == 0x2) in ufs_qcom_advertise_quirks() 858 if (host->hw_ver.major > 0x3) in ufs_qcom_advertise_quirks() 879 if (host->hw_ver.major < 0x4) { in ufs_qcom_set_phy_gear() 886 } else if (host->hw_ver.major >= 0x5) { in ufs_qcom_set_phy_gear() 1096 ufs_qcom_get_controller_revision(hba, &host->hw_ver.major, in ufs_qcom_init() [all …]
|
D | ufs-qcom.h | 202 struct ufs_hw_version hw_ver; member 223 if (host->hw_ver.major <= 0x02) in ufs_qcom_get_debug_reg_offset()
|
D | ufs-mediatek.h | 174 struct ufs_mtk_hw_ver hw_ver; member
|
D | ufs-mediatek.c | 787 if (host->hw_ver.major) in ufs_mtk_get_controller_version() 791 host->hw_ver.major = 2; in ufs_mtk_get_controller_version() 796 host->hw_ver.major = 3; in ufs_mtk_get_controller_version() 1127 if (host->hw_ver.major >= 3) { in ufs_mtk_pre_pwr_change()
|
/linux-6.12.1/drivers/net/wireless/ath/ath9k/ |
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()
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
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()
|
/linux-6.12.1/drivers/remoteproc/ |
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()
|
/linux-6.12.1/drivers/input/touchscreen/ |
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()
|
/linux-6.12.1/sound/soc/codecs/ |
D | rt1308-sdw.h | 167 int hw_ver; member
|
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()
|
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()
|
D | rt711-sdca.h | 33 int hw_ver; member
|
D | rt711-sdca.c | 144 if (rt711->hw_ver == RT711_VER_VD0) in rt711_sdca_calibration() 1623 rt711->hw_ver = val & 0xf; in rt711_sdca_io_init() 1625 if (rt711->hw_ver == RT711_VER_VD0) in rt711_sdca_io_init()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
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()
|
/linux-6.12.1/include/uapi/linux/ |
D | pfrut.h | 89 __u32 hw_ver; member
|
/linux-6.12.1/drivers/spmi/ |
D | spmi-pmic-arb.c | 1803 u32 channel, ee, hw_ver; in spmi_pmic_arb_probe() local 1819 hw_ver = readl_relaxed(core + PMIC_ARB_VERSION); in spmi_pmic_arb_probe() 1821 if (hw_ver < PMIC_ARB_VERSION_V2_MIN) in spmi_pmic_arb_probe() 1823 else if (hw_ver < PMIC_ARB_VERSION_V3_MIN) in spmi_pmic_arb_probe() 1825 else if (hw_ver < PMIC_ARB_VERSION_V5_MIN) in spmi_pmic_arb_probe() 1827 else if (hw_ver < PMIC_ARB_VERSION_V7_MIN) in spmi_pmic_arb_probe() 1837 pmic_arb->ver_ops->ver_str, hw_ver); in spmi_pmic_arb_probe()
|
/linux-6.12.1/drivers/net/ethernet/brocade/bna/ |
D | bfa_defs.h | 44 char hw_ver[BFA_VERSION_LEN]; member
|
/linux-6.12.1/drivers/regulator/ |
D | mt6359-regulator.c | 954 int i, hw_ver, ret; in mt6359_regulator_probe() local 956 ret = regmap_read(mt6397->regmap, MT6359P_HWCID, &hw_ver); in mt6359_regulator_probe() 960 if (hw_ver >= MT6359P_CHIP_VER) in mt6359_regulator_probe()
|
/linux-6.12.1/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 80 props->hw_ver = dev->dsr->caps.hw_ver; in pvrdma_query_device()
|
/linux-6.12.1/drivers/scsi/bfa/ |
D | bfad_attr.c | 850 char hw_ver[BFA_VERSION_LEN]; in bfad_im_hw_version_show() local 852 bfa_get_pci_chip_rev(&bfad->bfa, hw_ver); in bfad_im_hw_version_show() 853 return sysfs_emit(buf, "%s\n", hw_ver); in bfad_im_hw_version_show()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dump.c | 49 u32 hw_ver; /* HW Silicon version */ member 251 IWL_ERR(fwrt, "0x%08X | hw version\n", table.hw_ver); in iwl_fwrt_dump_lmac_error_log()
|
/linux-6.12.1/drivers/infiniband/hw/qedr/ |
D | main.c | 127 return sysfs_emit(buf, "0x%x\n", dev->attr.hw_ver); in hw_rev_show() 601 attr->hw_ver = qed_attr->hw_ver; in qedr_set_device_attr()
|
/linux-6.12.1/drivers/net/ethernet/socionext/ |
D | netsec.c | 1997 u32 hw_ver, phy_addr = 0; in netsec_probe() local 2100 hw_ver = netsec_read(priv, NETSEC_REG_F_TAIKI_VER); in netsec_probe() 2102 if (NETSEC_F_NETSEC_VER_MAJOR_NUM(hw_ver) != in netsec_probe() 2109 hw_ver >> 16, hw_ver & 0xffff); in netsec_probe()
|