Searched refs:class_code (Results 1 – 9 of 9) sorted by relevance
91 const unsigned int *class_code, *reg; in make_one_node_map() local93 class_code = of_get_property(node, "class-code", NULL); in make_one_node_map()94 if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && in make_one_node_map()95 (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) in make_one_node_map()
328 pdn->class_code = regs ? of_read_number(regs, 1) : 0; in pci_add_device_node_info()512 pdn->vendor_id = pdn->device_id = pdn->class_code = 0; in pci_devs_phb_init_dynamic()
218 if (!pdn->vendor_id || !pdn->device_id || !pdn->class_code) in pseries_eeh_probe()222 if ((pdn->class_code >> 8) == PCI_CLASS_BRIDGE_ISA) in pseries_eeh_probe()230 edev->class_code = pdn->class_code; in pseries_eeh_probe()235 if ((edev->class_code >> 8) == PCI_CLASS_BRIDGE_PCI) { in pseries_eeh_probe()
43 const unsigned int *class_code; in fixup_one_level_bus_range() local47 class_code = of_get_property(node, "class-code", NULL); in fixup_one_level_bus_range()48 if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && in fixup_one_level_bus_range()49 (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) in fixup_one_level_bus_range()
67 const unsigned int *class_code; in fixup_one_level_bus_range() local71 class_code = of_get_property(node, "class-code", NULL); in fixup_one_level_bus_range()72 if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && in fixup_one_level_bus_range()73 (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) in fixup_one_level_bus_range()
193 int class_code; /* Device class code */ member
133 int class_code; /* Class code of the device */ member
367 if ((pdn->class_code >> 8) == PCI_CLASS_BRIDGE_ISA) in pnv_eeh_probe()371 edev->class_code = pdn->class_code; in pnv_eeh_probe()377 if ((edev->class_code >> 8) == PCI_CLASS_BRIDGE_PCI) { in pnv_eeh_probe()
575 u8 class_code[3]; member