pci_get_class
for(dev=NULL; (dev=pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, dev));) {
while ((devp = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, devp))) {
while ((root = pci_get_class(PCI_CLASS_BRIDGE_HOST << 8, root))) {
dev = pci_get_class(PCI_CLASS_BRIDGE_HOST << 8, NULL);
gfxcard = pci_get_class(PCI_CLASS_DISPLAY_VGA<<8, gfxcard);
device = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, device);
while ( (dev = pci_get_class(PCI_CLASS_OTHERS << 16, dev))) {
while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, pdev)) != NULL) {
while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_OTHER << 8, pdev)) != NULL) {
while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, pdev)) != NULL) {
while ((pdev = pci_get_class(PCI_CLASS_BRIDGE_HOST << 8, pdev)))
while ((pch = pci_get_class(PCI_CLASS_BRIDGE_ISA << 8, pch))) {
while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, pdev)) != NULL) {
while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_OTHER << 8, pdev)) != NULL) {
EXPORT_SYMBOL(pci_get_class);
pdev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, NULL);
while ((tmp = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, tmp)) != NULL) {
while((pdev = pci_get_class(PCI_CLASS_BRIDGE_HOST, pdev))) {
struct pci_dev *pci_get_class(unsigned int class, struct pci_dev *from);