Home
last modified time | relevance | path

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

/drivers/pci/controller/
Dpcie-rcar-ep.c33 u32 num_ob_windows; member
86 for (i = 0; i < ep->num_ob_windows; i++) in rcar_pcie_ep_get_window()
101 ep->num_ob_windows = 0; in rcar_pcie_parse_outbound_ranges()
126 ep->num_ob_windows = i; in rcar_pcie_parse_outbound_ranges()
333 for (idx = 0; idx < ep->num_ob_windows; idx++) in rcar_pcie_ep_unmap_addr()
337 if (idx >= ep->num_ob_windows) in rcar_pcie_ep_unmap_addr()
517 ep->ob_mapped_addr = devm_kcalloc(dev, ep->num_ob_windows, in rcar_pcie_ep_probe()
538 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-ep.c191 free_win = find_first_zero_bit(ep->ob_window_map, ep->num_ob_windows); in dw_pcie_ep_outbound_atu()
192 if (free_win >= ep->num_ob_windows) { in dw_pcie_ep_outbound_atu()
269 for (index = 0; index < ep->num_ob_windows; index++) { in dw_pcie_find_index()
709 ret = of_property_read_u32(np, "num-ob-windows", &ep->num_ob_windows); in dw_pcie_ep_init()
714 if (ep->num_ob_windows > MAX_IATU_OUT) { in dw_pcie_ep_init()
727 BITS_TO_LONGS(ep->num_ob_windows), in dw_pcie_ep_init()
733 addr = devm_kcalloc(dev, ep->num_ob_windows, sizeof(phys_addr_t), in dw_pcie_ep_init()
Dpcie-designware.h240 u32 num_ob_windows; member