Lines Matching refs:max_regions
43 u32 max_regions; member
273 if (r >= ep->max_regions - 1) { in rockchip_pcie_ep_map_addr()
294 for (r = 0; r < ep->max_regions - 1; r++) in rockchip_pcie_ep_unmap_addr()
302 if (r == ep->max_regions - 1) in rockchip_pcie_ep_unmap_addr()
352 u32 r = ep->max_regions - 1; in rockchip_pcie_ep_assert_intx()
461 rockchip_pcie_prog_ep_ob_atu(rockchip, fn, ep->max_regions - 1, in rockchip_pcie_ep_send_msi_irq()
547 &ep->max_regions); in rockchip_pcie_parse_ep_dt()
548 if (err < 0 || ep->max_regions > MAX_REGION_LIMIT) in rockchip_pcie_parse_ep_dt()
549 ep->max_regions = MAX_REGION_LIMIT; in rockchip_pcie_parse_ep_dt()
570 size_t max_regions; in rockchip_pcie_ep_probe() local
606 max_regions = ep->max_regions; in rockchip_pcie_ep_probe()
607 ep->ob_addr = devm_kcalloc(dev, max_regions, sizeof(*ep->ob_addr), in rockchip_pcie_ep_probe()