Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/powermac/
Dpci.c496 struct device_node *p2pbridge; in init_p2pbridge() local
503 p2pbridge = of_find_node_by_name(NULL, "pci-bridge"); in init_p2pbridge()
504 if (p2pbridge == NULL in init_p2pbridge()
505 || p2pbridge->parent == NULL in init_p2pbridge()
506 || strcmp(p2pbridge->parent->name, "pci") != 0) in init_p2pbridge()
508 if (pci_device_from_OF_node(p2pbridge, &bus, &devfn) < 0) { in init_p2pbridge()
515 hose = pci_find_hose_for_OF_device(p2pbridge); in init_p2pbridge()
529 of_node_put(p2pbridge); in init_p2pbridge()