size_af           177 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	u64 size_af, size_bf;
size_af           187 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	size_af = max_mc_address + 1 - ALIGN(mc->fb_end + 1, four_gb);
size_af           189 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	if (mc->gart_size > max(size_bf, size_af)) {
size_af           191 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 		mc->gart_size = max(size_bf, size_af);
size_af           194 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	if ((size_bf >= mc->gart_size && size_bf < size_af) ||
size_af           195 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	    (size_af < mc->gart_size))
size_af           221 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	u64 size_af, size_bf;
size_af           234 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 		size_af = mc->mc_mask + 1 - ALIGN(mc->fb_end + 1, sixteen_gb);
size_af           237 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 		size_af = (mc->gart_start & sixteen_gb_mask) -
size_af           241 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 	if (size_bf > size_af) {
size_af           246 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 		mc->agp_size = size_af;
size_af          1392 drivers/gpu/drm/radeon/r600.c 	u64 size_bf, size_af;
size_af          1402 drivers/gpu/drm/radeon/r600.c 		size_af = mc->mc_mask - mc->gtt_end;
size_af          1403 drivers/gpu/drm/radeon/r600.c 		if (size_bf > size_af) {
size_af          1411 drivers/gpu/drm/radeon/r600.c 			if (mc->mc_vram_size > size_af) {
size_af          1413 drivers/gpu/drm/radeon/r600.c 				mc->real_vram_size = size_af;
size_af          1414 drivers/gpu/drm/radeon/r600.c 				mc->mc_vram_size = size_af;
size_af           604 drivers/gpu/drm/radeon/radeon_device.c 	u64 size_af, size_bf;
size_af           606 drivers/gpu/drm/radeon/radeon_device.c 	size_af = ((rdev->mc.mc_mask - mc->vram_end) + mc->gtt_base_align) & ~mc->gtt_base_align;
size_af           608 drivers/gpu/drm/radeon/radeon_device.c 	if (size_bf > size_af) {
size_af           615 drivers/gpu/drm/radeon/radeon_device.c 		if (mc->gtt_size > size_af) {
size_af           617 drivers/gpu/drm/radeon/radeon_device.c 			mc->gtt_size = size_af;
size_af          1608 drivers/gpu/drm/radeon/rv770.c 	u64 size_bf, size_af;
size_af          1618 drivers/gpu/drm/radeon/rv770.c 		size_af = mc->mc_mask - mc->gtt_end;
size_af          1619 drivers/gpu/drm/radeon/rv770.c 		if (size_bf > size_af) {
size_af          1627 drivers/gpu/drm/radeon/rv770.c 			if (mc->mc_vram_size > size_af) {
size_af          1629 drivers/gpu/drm/radeon/rv770.c 				mc->real_vram_size = size_af;
size_af          1630 drivers/gpu/drm/radeon/rv770.c 				mc->mc_vram_size = size_af;