/linux-master/arch/arm/mach-mvebu/ |
H A D | system-controller.c | 47 u32 rev_id; member in struct:mvebu_system_controller 57 .rev_id = 0x3c, 67 .rev_id = 0x3c, 119 *rev = (readl(system_controller_base + mvebu_sc->rev_id) >> 8)
|
/linux-master/sound/hda/ |
H A D | hda_bus_type.c | 31 (!id->rev_id || id->rev_id == hdev->revision_id))
|
/linux-master/drivers/staging/sm750fb/ |
H A D | ddk750_chip.h | 96 void sm750_set_chip_type(unsigned short dev_id, u8 rev_id);
|
H A D | ddk750_chip.c | 18 void sm750_set_chip_type(unsigned short dev_id, u8 rev_id) argument 25 if (rev_id == SM750LE_REVISION_ID) {
|
/linux-master/sound/soc/loongson/ |
H A D | loongson_i2s.h | 63 u32 rev_id; member in struct:loongson_i2s
|
H A D | loongson_i2s.c | 74 switch (i2s->rev_id) { 151 if (i2s->rev_id == 1) { 162 if (i2s->rev_id == 1) { 176 if (i2s->rev_id == 1) { 191 if (i2s->rev_id == 1) {
|
H A D | loongson_i2s_pci.c | 90 i2s->rev_id = pdev->revision; 136 if (i2s->rev_id == 1) {
|
/linux-master/drivers/acpi/x86/ |
H A D | s2idle.c | 95 static int rev_id; variable 108 rev_id, ACPI_LPS0_GET_DEVICE_CONSTRAINTS, 401 rev_id, func, NULL); 478 ACPI_LPS0_DSM_UUID_AMD, rev_id, &lps0_dsm_guid); 483 } else if (lps0_dsm_func_mask_microsoft > 0 && rev_id) { 488 rev_id = 1; 490 ACPI_LPS0_DSM_UUID, rev_id, &lps0_dsm_guid);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | nv.c | 665 adev->rev_id = amdgpu_device_get_rev_id(adev); 691 adev->external_rev_id = adev->rev_id + 0x1; 712 adev->external_rev_id = adev->rev_id + 20; 736 * as a consequence, the rev_id and external_rev_id are wrong. 737 * workaround it by hardcoding rev_id to 0 (default value). 740 adev->rev_id = 0; 741 adev->external_rev_id = adev->rev_id + 0xa; 765 adev->external_rev_id = adev->rev_id + 0x28; 784 adev->external_rev_id = adev->rev_id + 0x32; 807 adev->external_rev_id = adev->rev_id [all...] |
H A D | soc15.c | 958 adev->rev_id = amdgpu_device_get_rev_id(adev); 1009 adev->external_rev_id = adev->rev_id + 0x14; 1032 adev->external_rev_id = adev->rev_id + 0x28; 1038 if (adev->rev_id >= 0x8) 1042 adev->external_rev_id = adev->rev_id + 0x79; 1044 adev->external_rev_id = adev->rev_id + 0x41; 1045 else if (adev->rev_id == 1) 1046 adev->external_rev_id = adev->rev_id + 0x20; 1048 adev->external_rev_id = adev->rev_id + 0x01; 1128 adev->external_rev_id = adev->rev_id [all...] |
H A D | soc21.c | 583 adev->rev_id = amdgpu_device_get_rev_id(adev); 610 adev->external_rev_id = adev->rev_id + 0x1; // TODO: need update 629 adev->external_rev_id = adev->rev_id + 0x10; 655 adev->external_rev_id = adev->rev_id + 0x1; 670 adev->external_rev_id = adev->rev_id + 0x20; 695 adev->external_rev_id = adev->rev_id + 0x80; 723 if (adev->rev_id == 0) 726 adev->external_rev_id = adev->rev_id + 0x10; 755 adev->external_rev_id = adev->rev_id + 0xc1;
|
H A D | vi.c | 1480 adev->rev_id = vi_get_rev_id(adev); 1507 adev->external_rev_id = adev->rev_id + 0x3c; 1524 adev->external_rev_id = adev->rev_id + 0x14; 1547 adev->external_rev_id = adev->rev_id + 0x5A; 1570 adev->external_rev_id = adev->rev_id + 0x50; 1593 adev->external_rev_id = adev->rev_id + 0x64; 1617 adev->external_rev_id = adev->rev_id + 0x6E; 1637 if (adev->rev_id != 0x00 || CZ_REV_BRISTOL(adev->pdev->revision)) { 1644 adev->external_rev_id = adev->rev_id + 0x1; 1667 adev->external_rev_id = adev->rev_id [all...] |
/linux-master/drivers/net/fddi/skfp/ |
H A D | drvfbi.c | 85 u_char rev_id ; local 127 rev_id = inp(PCI_C(PCI_REVISION_ID)) ; 128 if ((rev_id & 0xf0) == SK_ML_ID_1 || (rev_id & 0xf0) == SK_ML_ID_2) {
|
/linux-master/sound/pci/hda/ |
H A D | hda_bind.c | 29 u32 rev_id = codec->core.revision_id; local 33 (!list->rev_id || list->rev_id == rev_id)) {
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-al.c | 153 static int al_pcie_rev_id_get(struct al_pcie *pcie, unsigned int *rev_id) argument 165 *rev_id = AL_PCIE_REV_ID_2; 168 *rev_id = AL_PCIE_REV_ID_3; 171 *rev_id = AL_PCIE_REV_ID_4; 195 dev_err(pcie->dev, "Unsupported controller rev_id: 0x%x\n",
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_main.h | 224 u16 rev_id; member in struct:octep_vf_device 294 u16 rev = (oct->rev_id & 0xC) >> 2; 301 return (oct->rev_id & 0x3);
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | vega10_smumgr.c | 179 uint32_t rev_id; local 188 rev_id = adev->pdev->revision; 191 ((rev_id == 0xc0) || 192 (rev_id == 0xc1) || 193 (rev_id == 0xc3)))) {
|
/linux-master/drivers/acpi/ |
H A D | pfr_update.c | 82 u32 rev_id, index; member in struct:pfru_device 127 pfru_dev->rev_id, 194 pfru_dev->rev_id, PFRU_FUNC_QUERY_BUF, 347 pfru_dev->rev_id, PFRU_FUNC_START, 419 pfru_dev->rev_id = rev; 530 pfru_dev->rev_id = PFRU_DEFAULT_REV_ID;
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_main.h | 234 u16 rev_id; member in struct:octep_device 325 u16 rev = (oct->rev_id & 0xC) >> 2; 332 return (oct->rev_id & 0x3);
|
/linux-master/drivers/hwmon/ |
H A D | stts751.c | 770 int rev_id; local 793 rev_id = i2c_smbus_read_byte_data(client, STTS751_REG_REV_ID); 794 if (rev_id < 0) 796 if (rev_id != 0x1) { 798 rev_id);
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn23xx_pf_device.c | 317 if (oct->rev_id == OCTEON_CN23XX_REV_1_1) { 549 if ((oct->rev_id == OCTEON_CN23XX_REV_1_0) || 550 (oct->rev_id == OCTEON_CN23XX_REV_1_1)) 686 if (oct->rev_id < OCTEON_CN23XX_REV_1_1) { 756 if (oct->rev_id < OCTEON_CN23XX_REV_1_1) 1116 if (oct->rev_id >= OCTEON_CN23XX_REV_1_1) { 1138 if (oct->rev_id >= OCTEON_CN23XX_REV_1_1) { 1238 if (oct->rev_id >= OCTEON_CN23XX_REV_1_1) 1258 switch (oct->rev_id) {
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | pci.h | 99 u32 rev_id; member in struct:ath10k_pci_supp_chip
|
/linux-master/drivers/net/ethernet/alacritech/ |
H A D | slic.h | 321 u8 rev_id; /* 06 Revision ID */ member in struct:slic_mojave_eeprom 367 u8 rev_id; /* 06 Revision ID */ member in struct:slic_oasis_eeprom
|
/linux-master/include/sound/ |
H A D | hdaudio_ext.h | 17 { .vendor_id = (_vid), .rev_id = (_rev), .name = (_name), \
|
/linux-master/sound/soc/codecs/ |
H A D | cs35l36.c | 54 int rev_id; member in struct:cs35l36_private 1058 if (cs35l36->rev_id == CS35L36_REV_A0) { 1160 if ((cs35l36->rev_id == CS35L36_REV_A0) && cs35l36->pdata.dcm_mode) { 1544 if (cs35l36->rev_id != CS35L36_REV_B0) 1798 cs35l36->rev_id = reg_revid >> 8; 1812 switch (cs35l36->rev_id) {
|