/linux-6.12.1/drivers/net/can/usb/etas_es58x/ |
D | es58x_devlink.c | 193 static inline bool es58x_hw_revision_is_valid(struct es58x_hw_revision *hw_rev) in es58x_hw_revision_is_valid() argument 195 return isalnum(hw_rev->letter) && hw_rev->major < 1000 && in es58x_hw_revision_is_valid() 196 hw_rev->minor < 1000; in es58x_hw_revision_is_valid() 217 struct es58x_hw_revision *hw_rev = &es58x_dev->hardware_revision; in es58x_devlink_info_get() local 241 if (es58x_hw_revision_is_valid(hw_rev)) { in es58x_devlink_info_get() 243 hw_rev->letter, hw_rev->major, hw_rev->minor); in es58x_devlink_info_get()
|
/linux-6.12.1/drivers/crypto/ccree/ |
D | cc_driver.c | 131 if (drvdata->hw_rev <= CC_HW_REV_710) in init_cc_cache_params() 253 if (drvdata->hw_rev <= CC_HW_REV_712) in cc_wait_for_reset_completion() 279 if (drvdata->hw_rev <= CC_HW_REV_712) { in init_cc_regs() 294 if (drvdata->hw_rev >= CC_HW_REV_712) in init_cc_regs() 300 if (drvdata->hw_rev >= CC_HW_REV_712) in init_cc_regs() 314 const struct cc_hw_data *hw_rev; in init_cc_resources() local 323 hw_rev = of_device_get_match_data(dev); in init_cc_resources() 324 new_drvdata->hw_rev_name = hw_rev->name; in init_cc_resources() 325 new_drvdata->hw_rev = hw_rev->rev; in init_cc_resources() 326 new_drvdata->std_bodies = hw_rev->std_bodies; in init_cc_resources() [all …]
|
D | cc_fips.c | 44 if (drvdata->hw_rev < CC_HW_REV_712) in cc_set_ree_fips_status() 71 if (drvdata->hw_rev < CC_HW_REV_712 || !fips_h) in cc_fips_fini() 85 if (drvdata->hw_rev < CC_HW_REV_712) in fips_handler() 136 if (p_drvdata->hw_rev < CC_HW_REV_712) in cc_fips_init()
|
D | cc_driver.h | 149 enum cc_hw_rev hw_rev; member 231 if (drvdata->hw_rev >= CC_HW_REV_712) in set_queue_last_ind()
|
D | cc_sram_mgr.c | 22 if (drvdata->hw_rev < CC_HW_REV_712) { in cc_sram_mgr_init()
|
/linux-6.12.1/drivers/net/wireless/ath/ath10k/ |
D | coredump.c | 1295 .hw_rev = ATH10K_HW_QCA6174, 1304 .hw_rev = ATH10K_HW_QCA6174, 1313 .hw_rev = ATH10K_HW_QCA6174, 1322 .hw_rev = ATH10K_HW_QCA6174, 1331 .hw_rev = ATH10K_HW_QCA6174, 1340 .hw_rev = ATH10K_HW_QCA6174, 1349 .hw_rev = ATH10K_HW_QCA6174, 1358 .hw_rev = ATH10K_HW_QCA9377, 1367 .hw_rev = ATH10K_HW_QCA988X, 1376 .hw_rev = ATH10K_HW_QCA9984, [all …]
|
D | hw.h | 397 #define QCA_REV_988X(ar) ((ar)->hw_rev == ATH10K_HW_QCA988X) 398 #define QCA_REV_9887(ar) ((ar)->hw_rev == ATH10K_HW_QCA9887) 399 #define QCA_REV_6174(ar) ((ar)->hw_rev == ATH10K_HW_QCA6174) 400 #define QCA_REV_99X0(ar) ((ar)->hw_rev == ATH10K_HW_QCA99X0) 401 #define QCA_REV_9888(ar) ((ar)->hw_rev == ATH10K_HW_QCA9888) 402 #define QCA_REV_9984(ar) ((ar)->hw_rev == ATH10K_HW_QCA9984) 403 #define QCA_REV_9377(ar) ((ar)->hw_rev == ATH10K_HW_QCA9377) 404 #define QCA_REV_40XX(ar) ((ar)->hw_rev == ATH10K_HW_QCA4019) 405 #define QCA_REV_WCN3990(ar) ((ar)->hw_rev == ATH10K_HW_WCN3990)
|
D | ahb.c | 75 if (ar->hw_rev == ATH10K_HW_QCA4019) in ath10k_ahb_get_num_banks() 731 enum ath10k_hw_rev hw_rev; in ath10k_ahb_probe() local 736 hw_rev = (uintptr_t)of_device_get_match_data(&pdev->dev); in ath10k_ahb_probe() 737 if (!hw_rev) { in ath10k_ahb_probe() 744 hw_rev, &ath10k_ahb_hif_ops); in ath10k_ahb_probe()
|
D | snoc.h | 16 enum ath10k_hw_rev hw_rev; member
|
/linux-6.12.1/drivers/gpu/drm/msm/ |
D | msm_mdss.c | 232 u32 hw_rev; in msm_mdss_generate_mdp5_mdss_data() local 238 hw_rev = readl_relaxed(mdss->mmio + HW_REV); in msm_mdss_generate_mdp5_mdss_data() 239 hw_rev = FIELD_GET(MDSS_HW_MAJ_MIN, hw_rev); in msm_mdss_generate_mdp5_mdss_data() 241 if (hw_rev == MDSS_HW_MSM8996 || in msm_mdss_generate_mdp5_mdss_data() 242 hw_rev == MDSS_HW_MSM8937 || in msm_mdss_generate_mdp5_mdss_data() 243 hw_rev == MDSS_HW_MSM8953 || in msm_mdss_generate_mdp5_mdss_data() 244 hw_rev == MDSS_HW_MSM8998 || in msm_mdss_generate_mdp5_mdss_data() 245 hw_rev == MDSS_HW_SDM660 || in msm_mdss_generate_mdp5_mdss_data() 246 hw_rev == MDSS_HW_SDM630) { in msm_mdss_generate_mdp5_mdss_data() 251 if (hw_rev == MDSS_HW_MSM8996 || in msm_mdss_generate_mdp5_mdss_data() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | pcic.c | 75 .hw_rev = ATH11K_HW_QCA6390_HW20, 85 .hw_rev = ATH11K_HW_QCN9074_HW10, 96 .hw_rev = ATH11K_HW_WCN6855_HW20, 107 .hw_rev = ATH11K_HW_WCN6855_HW21, 116 .hw_rev = ATH11K_HW_WCN6750_HW10, 127 .hw_rev = ATH11K_HW_QCA2066_HW21, 139 if (msi_config->hw_rev == ab->hw_rev) in ath11k_pcic_init_msi_config() 145 ab->hw_rev); in ath11k_pcic_init_msi_config()
|
D | core.c | 42 .hw_rev = ATH11K_HW_IPQ8074, 128 .hw_rev = ATH11K_HW_IPQ6018_HW10, 213 .hw_rev = ATH11K_HW_QCA6390_HW20, 302 .hw_rev = ATH11K_HW_QCN9074_HW10, 385 .hw_rev = ATH11K_HW_WCN6855_HW20, 474 .hw_rev = ATH11K_HW_WCN6855_HW21, 561 .hw_rev = ATH11K_HW_WCN6750_HW10, 642 .hw_rev = ATH11K_HW_IPQ5018_HW10, 725 .hw_rev = ATH11K_HW_QCA2066_HW21, 2155 if (hw_params->hw_rev == ab->hw_rev) in ath11k_init_hw_params() [all …]
|
D | pci.c | 803 ab->hw_rev = ATH11K_HW_QCA6390_HW20; in ath11k_pci_probe() 819 ab->hw_rev = ATH11K_HW_QCN9074_HW10; in ath11k_pci_probe() 835 ab->hw_rev = ATH11K_HW_WCN6855_HW20; in ath11k_pci_probe() 847 ab->hw_rev = ATH11K_HW_QCA2066_HW21; in ath11k_pci_probe() 850 ab->hw_rev = ATH11K_HW_WCN6855_HW21; in ath11k_pci_probe()
|
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | uk.c | 189 if (qp->uk_attrs->hw_rev == IRDMA_GEN_1 && quanta == 1 && in irdma_qp_get_next_send_wqe() 292 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(frag_cnt & 0x01) && in irdma_uk_rdma_write() 296 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_rdma_write() 372 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && in irdma_uk_rdma_read() 376 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_rdma_read() 461 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(frag_cnt & 0x01) && in irdma_uk_send() 465 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_send() 868 if (qp->uk_attrs->hw_rev >= IRDMA_GEN_2 && !(info->num_sges & 0x01) && in irdma_uk_post_receive() 872 if (qp->uk_attrs->hw_rev == IRDMA_GEN_2) in irdma_uk_post_receive() 1244 if (uk_attrs->hw_rev >= IRDMA_GEN_2) { in irdma_get_wqe_shift() [all …]
|
D | puda.c | 98 if (qp->qp_uk.uk_attrs->hw_rev == IRDMA_GEN_1) { in irdma_puda_post_recvbuf() 236 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info() 279 if (cq->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_puda_poll_info() 305 if (cq->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) { in irdma_puda_poll_info() 451 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send() 537 if (rsrc->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_send_buf() 579 if (qp->dev->hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_puda_qp_setctx() 1063 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_puda_create_rsrc() 1131 if (qp->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ilq_putback_rcvbuf() 1220 if (buf->vsi->dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_ieq_setup_tx_buf() [all …]
|
D | icrdma_hw.c | 69 if (dev->hw_attrs.uk_attrs.hw_rev != IRDMA_GEN_1) in icrdma_ena_irq() 82 if (dev->hw_attrs.uk_attrs.hw_rev != IRDMA_GEN_1) in icrdma_disable_irq()
|
/linux-6.12.1/Documentation/ABI/stable/ |
D | sysfs-class-infiniband | 290 What: /sys/class/infiniband/mthcaX/hw_rev 298 hw_rev: (RO) Hardware revision number 310 What: /sys/class/infiniband/mlx4_X/hw_rev 318 hw_rev: (RO) Hardware revision number 406 What: /sys/class/infiniband/cxgb4_X/hw_rev 415 hw_rev: (RO) Hardware revision number 430 What: /sys/class/infiniband/qibX/hw_rev 448 hw_rev: (RO) Hardware revision number 546 What: /sys/class/infiniband/mlx5_X/hw_rev 602 What: /sys/class/infiniband/ocrdmaX/hw_rev [all …]
|
/linux-6.12.1/drivers/net/phy/ |
D | qt2025.rs | 45 let hw_rev = dev.read(C45::new(Mmd::PMAPMD, 0xd001))?; in probe() localVariable 46 if (hw_rev >> 8) != 0xb3 { in probe()
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | hw.c | 858 .hw_rev = ATH12K_HW_QCN9274_HW10, 934 .hw_rev = ATH12K_HW_WCN7850_HW20, 1014 .hw_rev = ATH12K_HW_QCN9274_HW20, 1098 if (hw_params->hw_rev == ab->hw_rev) in ath12k_hw_init() 1103 ath12k_err(ab, "Unsupported hardware version: 0x%x\n", ab->hw_rev); in ath12k_hw_init()
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | ropes.h | 80 unsigned int hw_rev; /* HW revision of chip */ member 221 int hw_rev; /* HW revision of chip */ member
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-pasemi-core.h | 19 int hw_rev; member
|
D | i2c-pasemi-core.c | 66 if (smbus->hw_rev >= 6) in pasemi_reset() 359 if (smbus->hw_rev != PASEMI_HW_REV_PCI) in pasemi_i2c_common_probe() 360 smbus->hw_rev = reg_read(smbus, REG_REV); in pasemi_i2c_common_probe()
|
D | i2c-pasemi-pci.c | 49 smbus->hw_rev = PASEMI_HW_REV_PCI; in pasemi_smb_pci_probe()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | drv.c | 1186 if (CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_BZ_W) in get_crf_id() 1190 if (CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_BZ) { in get_crf_id() 1200 if (CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_BZ || in get_crf_id() 1201 CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_BZ_W) { in get_crf_id() 1203 iwl_trans->hw_rev |= step; in get_crf_id() 1426 iwl_trans->hw_rev, iwl_trans->hw_rf_id); in iwl_pci_probe() 1429 CSR_HW_REV_TYPE(iwl_trans->hw_rev), in iwl_pci_probe() 1459 (iwl_trans->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_7265D) in iwl_pci_probe() 1468 if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QU_C0) { in iwl_pci_probe() 1478 if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QUZ) { in iwl_pci_probe() [all …]
|
/linux-6.12.1/drivers/media/platform/qcom/camss/ |
D | camss-csid-gen2.c | 364 u32 hw_rev; in csid_hw_version() local 369 hw_rev = (hw_version >> HW_VERSION_REVISION) & 0xFFF; in csid_hw_version() 372 hw_gen, hw_rev, hw_step); in csid_hw_version()
|