Lines Matching refs:pcie_port
23 struct pcie_port {
33 static struct pcie_port pcie_port[2];
39 struct pcie_port *pp;
44 pp = &pcie_port[nr];
97 static struct pcie_port *bus_to_port(int bus)
102 int rbus = pcie_port[i].root_bus_nr;
107 return i >= 0 ? pcie_port + i : NULL;
110 static int pcie_valid_config(struct pcie_port *pp, int bus, int dev)
125 struct pcie_port *pp = bus_to_port(bus->number);
144 struct pcie_port *pp = bus_to_port(bus->number);
197 struct pcie_port *pp = bus_to_port(dev->bus->number);
215 struct pcie_port *pp = &pcie_port[num_pcie_ports++];