Home
last modified time | relevance | path

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

/drivers/pci/host/
Dpci-host-generic.c260 resource_size_t busn; in gen_pci_parse_map_cfg_windows() local
297 for (busn = bus_range->start; busn <= bus_range->end; ++busn) { in gen_pci_parse_map_cfg_windows()
298 u32 idx = busn - bus_range->start; in gen_pci_parse_map_cfg_windows()
302 pci->cfg.res.start + busn * sz, in gen_pci_parse_map_cfg_windows()
Dpcie-designware.c429 ret = of_pci_parse_bus_range(np, &pp->busn); in dw_pcie_host_init()
431 pp->busn.name = np->name; in dw_pcie_host_init()
432 pp->busn.start = 0; in dw_pcie_host_init()
433 pp->busn.end = 0xff; in dw_pcie_host_init()
434 pp->busn.flags = IORESOURCE_BUS; in dw_pcie_host_init()
436 ret, &pp->busn); in dw_pcie_host_init()
717 pci_add_resource(&sys->resources, &pp->busn); in dw_pcie_setup()
Dpcie-designware.h48 struct resource busn; member
Dpci-tegra.c282 struct resource busn; member
674 pci_add_resource(&sys->resources, &pcie->busn); in tegra_pcie_setup()
1731 err = of_pci_parse_bus_range(np, &pcie->busn); in tegra_pcie_parse_dt()
1735 pcie->busn.name = np->name; in tegra_pcie_parse_dt()
1736 pcie->busn.start = 0; in tegra_pcie_parse_dt()
1737 pcie->busn.end = 0xff; in tegra_pcie_parse_dt()
1738 pcie->busn.flags = IORESOURCE_BUS; in tegra_pcie_parse_dt()
Dpcie-rcar.c131 struct resource busn; member
378 pci_add_resource(&sys->resources, &pcie->busn); in rcar_pcie_setup()
930 if (of_pci_parse_bus_range(pdev->dev.of_node, &pcie->busn)) { in rcar_pcie_probe()
Dpci-mvebu.c108 struct resource busn; member
750 pci_add_resource(&sys->resources, &pcie->busn); in mvebu_pcie_setup()
948 ret = of_pci_parse_bus_range(np, &pcie->busn); in mvebu_pcie_probe()