Searched refs:rev_id (Results 1 - 25 of 80) sorted by relevance

1234

/linux-master/arch/arm/mach-mvebu/
H A Dsystem-controller.c47 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 Dhda_bus_type.c31 (!id->rev_id || id->rev_id == hdev->revision_id))
/linux-master/drivers/staging/sm750fb/
H A Dddk750_chip.h96 void sm750_set_chip_type(unsigned short dev_id, u8 rev_id);
H A Dddk750_chip.c18 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 Dloongson_i2s.h63 u32 rev_id; member in struct:loongson_i2s
H A Dloongson_i2s.c74 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 Dloongson_i2s_pci.c90 i2s->rev_id = pdev->revision;
136 if (i2s->rev_id == 1) {
/linux-master/drivers/acpi/x86/
H A Ds2idle.c95 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 Dnv.c665 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 Dsoc15.c958 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 Dsoc21.c583 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 Dvi.c1480 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 Ddrvfbi.c85 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 Dhda_bind.c29 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 Dpcie-al.c153 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 Doctep_vf_main.h224 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 Dvega10_smumgr.c179 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 Dpfr_update.c82 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 Doctep_main.h234 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 Dstts751.c770 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 Dcn23xx_pf_device.c317 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 Dpci.h99 u32 rev_id; member in struct:ath10k_pci_supp_chip
/linux-master/drivers/net/ethernet/alacritech/
H A Dslic.h321 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 Dhdaudio_ext.h17 { .vendor_id = (_vid), .rev_id = (_rev), .name = (_name), \
/linux-master/sound/soc/codecs/
H A Dcs35l36.c54 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) {

Completed in 254 milliseconds

1234