Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A 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()
H A Dgfxhub_v1_2.c590 u32 max_region; in gfxhub_v1_2_get_xgmi_info() local
597 max_region = in gfxhub_v1_2_get_xgmi_info()
606 if (max_region || adev->gmc.xgmi.connected_to_cpu) { in gfxhub_v1_2_get_xgmi_info()
607 adev->gmc.xgmi.num_physical_nodes = max_region + 1; in gfxhub_v1_2_get_xgmi_info()
H A Dgfxhub_v2_1.c511 u32 max_region = in gfxhub_v2_1_get_xgmi_info() local
526 if (max_region) { in gfxhub_v2_1_get_xgmi_info()
527 adev->gmc.xgmi.num_physical_nodes = max_region + 1; in gfxhub_v2_1_get_xgmi_info()
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c788 int max_region, ob, ib; in dw_pcie_iatu_detect() local
796 max_region = min((int)pci->atu_size / 512, 256); in dw_pcie_iatu_detect()
802 max_region = dw_pcie_readl_dbi(pci, PCIE_ATU_VIEWPORT) + 1; in dw_pcie_iatu_detect()
805 for (ob = 0; ob < max_region; ob++) { in dw_pcie_iatu_detect()
812 for (ib = 0; ib < max_region; ib++) { in dw_pcie_iatu_detect()