Lines Matching refs:pci_controller
65 struct pci_controller pci_controller; member
75 struct pci_controller *hose; in pci_bus_to_rt3883_controller()
77 hose = (struct pci_controller *) bus->sysdata; in pci_bus_to_rt3883_controller()
78 return container_of(hose, struct rt3883_pci_controller, pci_controller); in pci_bus_to_rt3883_controller()
441 rpc->pci_controller.of_node = child; in rt3883_pci_probe()
446 if (!rpc->pci_controller.of_node) { in rt3883_pci_probe()
454 for_each_available_child_of_node(rpc->pci_controller.of_node, child) { in rt3883_pci_probe()
488 rpc->pci_controller.pci_ops = &rt3883_pci_ops; in rt3883_pci_probe()
489 rpc->pci_controller.io_resource = &rpc->io_res; in rt3883_pci_probe()
490 rpc->pci_controller.mem_resource = &rpc->mem_res; in rt3883_pci_probe()
493 pci_load_of_ranges(&rpc->pci_controller, in rt3883_pci_probe()
494 rpc->pci_controller.of_node); in rt3883_pci_probe()
545 register_pci_controller(&rpc->pci_controller); in rt3883_pci_probe()
550 of_node_put(rpc->pci_controller.of_node); in rt3883_pci_probe()