Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Dgfxhub_v1_1.c49 u32 max_region; in gfxhub_v1_1_get_xgmi_info() local
57 max_region = in gfxhub_v1_1_get_xgmi_info()
64 max_region = in gfxhub_v1_1_get_xgmi_info()
88 if (max_region || adev->gmc.xgmi.connected_to_cpu) { in gfxhub_v1_1_get_xgmi_info()
89 adev->gmc.xgmi.num_physical_nodes = max_region + 1; in gfxhub_v1_1_get_xgmi_info()
Dgfxhub_v2_1.c505 u32 max_region = in gfxhub_v2_1_get_xgmi_info() local
520 if (max_region) { in gfxhub_v2_1_get_xgmi_info()
521 adev->gmc.xgmi.num_physical_nodes = max_region + 1; in gfxhub_v2_1_get_xgmi_info()
/drivers/pci/controller/dwc/
Dpcie-designware.c538 int max_region, ob, ib; in dw_pcie_iatu_detect_regions() local
543 max_region = min((int)pci->atu_size / 512, 256); in dw_pcie_iatu_detect_regions()
546 max_region = dw_pcie_readl_dbi(pci, PCIE_ATU_VIEWPORT) + 1; in dw_pcie_iatu_detect_regions()
549 for (ob = 0; ob < max_region; ob++) { in dw_pcie_iatu_detect_regions()
556 for (ib = 0; ib < max_region; ib++) { in dw_pcie_iatu_detect_regions()