Home
last modified time | relevance | path

Searched refs:class_code (Results 1 – 9 of 9) sorted by relevance

/arch/powerpc/kernel/
Dpci_32.c91 const unsigned int *class_code, *reg; in make_one_node_map() local
93 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()
Dpci_dn.c328 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()
/arch/powerpc/platforms/pseries/
Deeh_pseries.c218 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()
/arch/powerpc/platforms/maple/
Dpci.c43 const unsigned int *class_code; in fixup_one_level_bus_range() local
47 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()
/arch/powerpc/platforms/powermac/
Dpci.c67 const unsigned int *class_code; in fixup_one_level_bus_range() local
71 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()
/arch/powerpc/include/asm/
Dpci-bridge.h193 int class_code; /* Device class code */ member
Deeh.h133 int class_code; /* Class code of the device */ member
/arch/powerpc/platforms/powernv/
Deeh-powernv.c367 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()
/arch/ia64/include/asm/
Dsal.h575 u8 class_code[3]; member