Home
last modified time | relevance | path

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

123

/linux/drivers/media/pci/intel/ipu6/
H A Dipu6.h40 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
H A Dipu6.c293 u8 hw_ver = isp->hw_ver; in ipu6_internal_pdata_init() local
317 isys_ipdata.enhanced_iwake = is_ipu6ep_mtl(hw_ver) || is_ipu6ep(hw_ver); in ipu6_internal_pdata_init()
321 if (is_ipu6ep(hw_ver)) { in ipu6_internal_pdata_init()
326 if (is_ipu6_tgl(hw_ver)) in ipu6_internal_pdata_init()
329 if (is_ipu6ep_mtl(hw_ver)) { in ipu6_internal_pdata_init()
350 if (is_ipu6se(hw_ver)) { in ipu6_internal_pdata_init()
463 static int ipu6_pci_config_setup(struct pci_dev *dev, u8 hw_ver) in ipu6_pci_config_setup() argument
468 if (is_ipu6ep(hw_ver) || is_ipu6ep_mtl(hw_ver)) { in ipu6_pci_config_setup()
534 isp->hw_ver = IPU6_VER_6; in ipu6_pci_probe()
538 isp->hw_ver = IPU6_VER_6SE; in ipu6_pci_probe()
[all …]
/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()
/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()
/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()
/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()
/linux/sound/soc/codecs/
H A Drt715-sdca.c1014 unsigned int hw_ver; in rt715_sdca_io_init()
1035 RT715_PRODUCT_NUM, &hw_ver); in rt715_sdca_io_init()
1036 hw_ver = hw_ver & 0x000f; in rt715_sdca_io_init()
1043 if (hw_ver == 0x0) in rt715_sdca_io_init()
1046 else if (hw_ver == 0x1) { in rt715_sdca_io_init()
1017 unsigned int hw_ver; rt715_sdca_io_init() local
H A Drt1308-sdw.h167 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()
H A Drt711-sdca.h33 int hw_ver; member
H A Drt711-sdca.c144 if (rt711->hw_ver == RT711_VER_VD0) in rt711_sdca_calibration()
1619 rt711->hw_ver = val & 0xf; in rt711_sdca_io_init()
1621 if (rt711->hw_ver == RT711_VER_VD0) in rt711_sdca_io_init()
/linux/include/uapi/linux/
H A Dpfrut.h89 __u32 hw_ver; member
/linux/drivers/ufs/host/
H A Dufs-mediatek.h185 struct ufs_mtk_hw_ver hw_ver; member
H A Dufs-mediatek.c934 if (host->hw_ver.major) in ufs_mtk_get_controller_version()
938 host->hw_ver.major = 2; in ufs_mtk_get_controller_version()
943 host->hw_ver.major = 3; in ufs_mtk_get_controller_version()
1459 if (host->hw_ver.major >= 3) { in ufs_mtk_pre_pwr_change()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs.h44 char hw_ver[BFA_VERSION_LEN]; member
/linux/drivers/regulator/
H A Dmt6359-regulator.c954 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/drivers/scsi/bfa/
H A Dbfad_attr.c850 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/drivers/infiniband/hw/qedr/
H A Dmain.c127 return sysfs_emit(buf, "0x%x\n", dev->attr.hw_ver); in hw_rev_show()
598 attr->hw_ver = qed_attr->hw_ver; in qedr_set_device_attr()
/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase.h351 u32 hw_ver; member
/linux/drivers/net/ethernet/socionext/
H A Dnetsec.c2000 u32 hw_ver, phy_addr = 0; in netsec_probe() local
2103 hw_ver = netsec_read(priv, NETSEC_REG_F_TAIKI_VER); in netsec_probe()
2105 if (NETSEC_F_NETSEC_VER_MAJOR_NUM(hw_ver) != in netsec_probe()
2112 hw_ver >> 16, hw_ver & 0xffff); in netsec_probe()
/linux/drivers/staging/media/ipu7/
H A Dipu7.c2465 isp->hw_ver = IPU_VER_7; in ipu7_pci_probe()
2473 isp->hw_ver = IPU_VER_7P5; in ipu7_pci_probe()
2481 isp->hw_ver = IPU_VER_8; in ipu7_pci_probe()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_dev_api.h225 u32 hw_ver; member
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.h500 char hw_ver[16]; member
/linux/drivers/infiniband/hw/ionic/
H A Dionic_ibdev.c38 attr->hw_ver = ionic_lif_asic_rev(dev->lif_cfg.lif); in ionic_query_device()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c892 u32 hw_ver = 0; in qtnf_cmd_resp_proc_hw_info() local
904 hw_ver = le32_to_cpu(resp->hw_ver); in qtnf_cmd_resp_proc_hw_info()
963 hw_id, calibration_ver, uboot_ver, hw_ver, in qtnf_cmd_resp_proc_hw_info()
971 hwinfo->hw_version = hw_ver; in qtnf_cmd_resp_proc_hw_info()

123