/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | vega10_smumgr.c | 180 uint32_t rev_id; in vega10_verify_smc_interface() local 189 rev_id = adev->pdev->revision; in vega10_verify_smc_interface() 192 ((rev_id == 0xc0) || in vega10_verify_smc_interface() 193 (rev_id == 0xc1) || in vega10_verify_smc_interface() 194 (rev_id == 0xc3)))) { in vega10_verify_smc_interface()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | soc15.c | 723 adev->rev_id = soc15_get_rev_id(adev); in soc15_set_ip_blocks() 1122 adev->external_rev_id = adev->rev_id + 0x14; in soc15_common_early_init() 1145 adev->external_rev_id = adev->rev_id + 0x28; in soc15_common_early_init() 1153 if (adev->rev_id >= 0x8) in soc15_common_early_init() 1157 adev->external_rev_id = adev->rev_id + 0x79; in soc15_common_early_init() 1159 adev->external_rev_id = adev->rev_id + 0x41; in soc15_common_early_init() 1160 else if (adev->rev_id == 1) in soc15_common_early_init() 1161 adev->external_rev_id = adev->rev_id + 0x20; in soc15_common_early_init() 1163 adev->external_rev_id = adev->rev_id + 0x01; in soc15_common_early_init() 1245 adev->external_rev_id = adev->rev_id + 0x32; in soc15_common_early_init() [all …]
|
D | vi.c | 1130 adev->rev_id = vi_get_rev_id(adev); in vi_common_early_init() 1157 adev->external_rev_id = adev->rev_id + 0x3c; in vi_common_early_init() 1174 adev->external_rev_id = adev->rev_id + 0x14; in vi_common_early_init() 1197 adev->external_rev_id = adev->rev_id + 0x5A; in vi_common_early_init() 1220 adev->external_rev_id = adev->rev_id + 0x50; in vi_common_early_init() 1243 adev->external_rev_id = adev->rev_id + 0x64; in vi_common_early_init() 1267 adev->external_rev_id = adev->rev_id + 0x6E; in vi_common_early_init() 1287 if (adev->rev_id != 0x00 || CZ_REV_BRISTOL(adev->pdev->revision)) { in vi_common_early_init() 1294 adev->external_rev_id = adev->rev_id + 0x1; in vi_common_early_init() 1317 adev->external_rev_id = adev->rev_id + 0x61; in vi_common_early_init()
|
D | nv.c | 721 adev->rev_id = nv_get_rev_id(adev); in nv_common_early_init() 744 adev->external_rev_id = adev->rev_id + 0x1; in nv_common_early_init() 765 adev->external_rev_id = adev->rev_id + 20; in nv_common_early_init() 793 adev->rev_id = 0; in nv_common_early_init() 794 adev->external_rev_id = adev->rev_id + 0xa; in nv_common_early_init() 817 adev->external_rev_id = adev->rev_id + 0x28; in nv_common_early_init() 835 adev->external_rev_id = adev->rev_id + 0x32; in nv_common_early_init()
|
D | cik.c | 1952 adev->rev_id = cik_get_rev_id(adev); in cik_common_early_init() 1974 adev->external_rev_id = adev->rev_id + 0x14; in cik_common_early_init() 2059 if (adev->rev_id == 0) in cik_common_early_init() 2061 else if (adev->rev_id == 1) in cik_common_early_init() 2063 else if (adev->rev_id == 2) in cik_common_early_init() 2066 adev->external_rev_id = adev->rev_id + 0xa1; in cik_common_early_init()
|
D | si.c | 1925 adev->rev_id = si_get_rev_id(adev); in si_common_early_init() 1944 adev->external_rev_id = (adev->rev_id == 0) ? 1 : in si_common_early_init() 1945 (adev->rev_id == 1) ? 5 : 6; in si_common_early_init() 1965 adev->external_rev_id = adev->rev_id + 20; in si_common_early_init() 1987 adev->external_rev_id = adev->rev_id + 40; in si_common_early_init()
|
/drivers/pci/controller/dwc/ |
D | pcie-al.c | 156 static int al_pcie_rev_id_get(struct al_pcie *pcie, unsigned int *rev_id) in al_pcie_rev_id_get() argument 168 *rev_id = AL_PCIE_REV_ID_2; in al_pcie_rev_id_get() 171 *rev_id = AL_PCIE_REV_ID_3; in al_pcie_rev_id_get() 174 *rev_id = AL_PCIE_REV_ID_4; in al_pcie_rev_id_get()
|
/drivers/net/fddi/skfp/ |
D | drvfbi.c | 89 u_char rev_id ; in card_start() local 131 rev_id = inp(PCI_C(PCI_REVISION_ID)) ; in card_start() 132 if ((rev_id & 0xf0) == SK_ML_ID_1 || (rev_id & 0xf0) == SK_ML_ID_2) { in card_start()
|
/drivers/hwmon/ |
D | stts751.c | 770 int rev_id; in stts751_probe() local 793 rev_id = i2c_smbus_read_byte_data(client, STTS751_REG_REV_ID); in stts751_probe() 794 if (rev_id < 0) in stts751_probe() 796 if (rev_id != 0x1) { in stts751_probe() 798 rev_id); in stts751_probe()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_pf_device.c | 317 if (oct->rev_id == OCTEON_CN23XX_REV_1_1) { in cn23xx_setup_global_mac_regs() 549 if ((oct->rev_id == OCTEON_CN23XX_REV_1_0) || in cn23xx_pf_setup_global_output_regs() 550 (oct->rev_id == OCTEON_CN23XX_REV_1_1)) in cn23xx_pf_setup_global_output_regs() 686 if (oct->rev_id < OCTEON_CN23XX_REV_1_1) { in cn23xx_pf_mbox_thread() 758 if (oct->rev_id < OCTEON_CN23XX_REV_1_1) in cn23xx_setup_pf_mbox() 1118 if (oct->rev_id >= OCTEON_CN23XX_REV_1_1) { in cn23xx_enable_pf_interrupt() 1140 if (oct->rev_id >= OCTEON_CN23XX_REV_1_1) { in cn23xx_disable_pf_interrupt() 1240 if (oct->rev_id >= OCTEON_CN23XX_REV_1_1) in cn23xx_setup_reg_address() 1260 switch (oct->rev_id) { in cn23xx_sriov_config()
|
D | octeon_device.h | 451 u16 rev_id; member
|
/drivers/staging/sm750fb/ |
D | ddk750_chip.c | 18 void sm750_set_chip_type(unsigned short dev_id, u8 rev_id) in sm750_set_chip_type() argument 25 if (rev_id == SM750LE_REVISION_ID) { in sm750_set_chip_type()
|
D | ddk750_chip.h | 96 void sm750_set_chip_type(unsigned short dev_id, u8 rev_id);
|
/drivers/net/ethernet/alacritech/ |
D | slic.h | 323 u8 rev_id; /* 06 Revision ID */ member 369 u8 rev_id; /* 06 Revision ID */ member
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | venc.c | 808 u8 rev_id; in venc_bind() local 841 rev_id = (u8)(venc_read_reg(VENC_REV_ID) & 0xff); in venc_bind() 842 dev_dbg(&pdev->dev, "OMAP VENC rev %d\n", rev_id); in venc_bind()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | venc.c | 685 u8 rev_id; in venc_bind() local 694 rev_id = (u8)(venc_read_reg(venc, VENC_REV_ID) & 0xff); in venc_bind() 695 dev_dbg(dev, "OMAP VENC rev %d\n", rev_id); in venc_bind()
|
/drivers/iio/light/ |
D | si1133.c | 965 unsigned int part_id, rev_id, mfr_id; in si1133_validate_ids() local 972 err = regmap_read(data->regmap, SI1133_REG_REV_ID, &rev_id); in si1133_validate_ids() 982 part_id, rev_id, mfr_id); in si1133_validate_ids()
|
D | si1145.c | 1279 u8 part_id, rev_id, seq_id; in si1145_probe() local 1295 rev_id = ret = i2c_smbus_read_byte_data(data->client, in si1145_probe() 1304 part_id, rev_id, seq_id); in si1145_probe()
|
/drivers/net/wireless/ath/ath10k/ |
D | pci.h | 98 u32 rev_id; member
|
/drivers/acpi/apei/ |
D | einj.c | 67 u8 rev_id; member 200 v->vendor_id, v->device_id, v->rev_id); in check_vendor_extension()
|
/drivers/scsi/bfa/ |
D | bfa_fcbuild.c | 917 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_cthdr_build() 927 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_fdmi_cthdr_build() 938 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_ms_cthdr_build() 1013 cthdr->rev_id = CT_GS3_REVISION; in fc_gs_rjt_build()
|
/drivers/net/ethernet/via/ |
D | via-velocity.h | 1045 volatile u8 rev_id; member 1444 u8 rev_id; member
|
D | via-velocity.c | 932 if (vptr->rev_id < REV_ID_VT3216_A0) in velocity_set_media_mode() 939 if (vptr->rev_id < REV_ID_VT3216_A0) in velocity_set_media_mode() 1268 if (vptr->rev_id >= REV_ID_VT3216_A0) { in setup_queue_timers() 1848 if (vptr->rev_id < REV_ID_VT3216_A0) { in velocity_error() 2818 vptr->rev_id = readb(®s->rev_id); in velocity_probe()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 3945.c | 896 u8 rev_id = il->pci_dev->revision; in il3945_nic_config() local 901 D_INFO("HW Revision ID = 0x%X\n", rev_id); in il3945_nic_config() 903 if (rev_id & PCI_CFG_REV_ID_BIT_RTP) in il3945_nic_config() 905 else if (rev_id & PCI_CFG_REV_ID_BIT_BASIC_SKU) { in il3945_nic_config()
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega10_processpptables.c | 755 uint32_t rev_id; in get_dcefclk_voltage_dependency_table() local 768 rev_id = adev->pdev->revision; in get_dcefclk_voltage_dependency_table() 770 if (dev_id == 0x6863 && rev_id == 0 && in get_dcefclk_voltage_dependency_table()
|