Lines Matching defs:class

64 		if ((f->class == (u32) (dev->class >> f->class_shift) ||
65 f->class == (u32) PCI_ANY_ID) &&
643 * In the AMD NL platform, this device ([1022:7912]) has a class code of
649 * device, change the class code to 0x0c03fe, which the PCI r3.0 spec
655 u32 class = pdev->class;
657 if (class != PCI_CLASS_SERIAL_USB_DEVICE) {
658 /* Use "USB Device (not host controller)" class */
659 pdev->class = PCI_CLASS_SERIAL_USB_DEVICE;
661 "PCI class overridden (%#08x -> %#08x) so dwc3 driver can claim this instead of xhci\n",
662 class, pdev->class);
671 * Synopsys USB 3.x host HAPS platform has a class code of
673 * devices should use dwc3-haps driver. Change these devices' class code to
679 u32 class = pdev->class;
685 pdev->class = PCI_CLASS_SERIAL_USB_DEVICE;
686 pci_info(pdev, "PCI class overridden (%#08x -> %#08x) so dwc3 driver can claim this instead of xhci\n",
687 class, pdev->class);
1349 pdev->class = PCI_CLASS_STORAGE_SATA_AHCI;
1369 pdev->class &= ~5;
1386 pdev->class &= ~5;
1416 dev->class = PCI_CLASS_BRIDGE_EISA << 8;
1759 u32 conf1, conf5, class;
1789 /* Set the class codes correctly and then direct IDE 0 */
1807 pci_read_config_dword(pdev, PCI_CLASS_REVISION, &class);
1808 pdev->class = class >> 8;
1848 if ((pdev->class >> 8) != 0xff00)
2278 * are identified as class SERIAL, which means the serial driver
2279 * will claim them. To prevent this, mark them as class OTHER.
2297 pci_info(dev, "Netmos %04x (%u parallel, %u serial); changing class SERIAL to OTHER (use parport_serial)\n",
2299 dev->class = (PCI_CLASS_COMMUNICATION_OTHER << 8) |
2300 (dev->class & 0xff);
2429 u32 class = dev->class;
2432 * rev 1 ncr53c810 chips don't set the class at all which means
2435 if (class)
2438 dev->class = PCI_CLASS_STORAGE_SCSI << 8;
2439 pci_info(dev, "NCR 53c810 rev 1 PCI class overridden (%#08x -> %#08x)\n",
2440 class, dev->class);
3127 * therefore the quirk is registered for the PCI_CLASS_BRIDGE_PCI class.
3293 u32 class = dev->class;
3295 /* TI 816x devices do not have class code set when in PCIe boot mode */
3296 dev->class = PCI_CLASS_MULTIMEDIA_VIDEO << 8;
3297 pci_info(dev, "PCI class overridden (%#08x -> %#08x)\n",
3298 class, dev->class);
3928 * FLR. This quirk is generic for any NVMe class device requiring similar
3943 if (dev->class != PCI_CLASS_STORAGE_EXPRESS ||
4328 * class code. Fix it.
4332 u32 class = pdev->class;
4334 /* Use "Multimedia controller" class */
4335 pdev->class = (PCI_CLASS_MULTIMEDIA_OTHER << 8) | 0x01;
4336 pci_info(pdev, "TW686x PCI class overridden (%#08x -> %#08x)\n",
4337 class, pdev->class);
5489 unsigned int supplier, unsigned int class,
5500 if (!supplier_pdev || (supplier_pdev->class >> class_shift) != class) {
5547 * to VGA. Currently there is no class code defined for UCSI device over PCI
5548 * so using UNKNOWN class for now and it will be updated when UCSI
5549 * over PCI gets a class code.
5889 pdev->class = (PCI_CLASS_SYSTEM_OTHER << 8) | pdev->class;