Home
last modified time | relevance | path

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

/drivers/pci/controller/
Dpcie-rcar-ep.c30 u32 num_ob_windows; member
83 for (i = 0; i < ep->num_ob_windows; i++) in rcar_pcie_ep_get_window()
98 ep->num_ob_windows = 0; in rcar_pcie_parse_outbound_ranges()
123 ep->num_ob_windows = i; in rcar_pcie_parse_outbound_ranges()
331 for (idx = 0; idx < ep->num_ob_windows; idx++) in rcar_pcie_ep_unmap_addr()
335 if (idx >= ep->num_ob_windows) in rcar_pcie_ep_unmap_addr()
515 ep->ob_mapped_addr = devm_kcalloc(dev, ep->num_ob_windows, in rcar_pcie_ep_probe()
536 err = pci_epc_multi_mem_init(epc, ep->ob_window, ep->num_ob_windows); in rcar_pcie_ep_probe()
/drivers/pci/controller/dwc/
Dpcie-designware-host.c658 if (!pci->num_ob_windows) { in dw_pcie_iatu_setup()
667 for (i = 0; i < pci->num_ob_windows; i++) in dw_pcie_iatu_setup()
675 if (pci->num_ob_windows <= ++i) in dw_pcie_iatu_setup()
690 if (pci->num_ob_windows > ++i) { in dw_pcie_iatu_setup()
705 if (pci->num_ob_windows <= i) in dw_pcie_iatu_setup()
707 pci->num_ob_windows); in dw_pcie_iatu_setup()
Dpcie-designware-ep.c196 free_win = find_first_zero_bit(ep->ob_window_map, pci->num_ob_windows); in dw_pcie_ep_outbound_atu()
197 if (free_win >= pci->num_ob_windows) { in dw_pcie_ep_outbound_atu()
279 for (index = 0; index < pci->num_ob_windows; index++) { in dw_pcie_find_index()
733 ep->ob_window_map = devm_bitmap_zalloc(dev, pci->num_ob_windows, in dw_pcie_ep_init()
738 addr = devm_kcalloc(dev, pci->num_ob_windows, sizeof(phys_addr_t), in dw_pcie_ep_init()
Dpcie-designware.c582 pci->num_ob_windows = ob; in dw_pcie_iatu_detect_regions()
619 pci->num_ob_windows, pci->num_ib_windows, in dw_pcie_iatu_detect()
Dpcie-designware.h312 u32 num_ob_windows; member