Home
last modified time | relevance | path

Searched refs:pa_bits (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/panthor/
Dpanthor_gpu.c195 u32 pa_bits; in panthor_gpu_init() local
208 pa_bits = GPU_MMU_FEATURES_PA_BITS(ptdev->gpu_info.mmu_features); in panthor_gpu_init()
209 ret = dma_set_mask_and_coherent(ptdev->base.dev, DMA_BIT_MASK(pa_bits)); in panthor_gpu_init()
Dpanthor_mmu.c2267 u32 pa_bits = GPU_MMU_FEATURES_PA_BITS(ptdev->gpu_info.mmu_features); in panthor_vm_create() local
2314 .oas = pa_bits, in panthor_vm_create()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c739 int pa_bits; in main() local
742 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()
743 max_phys_size = 1ULL << pa_bits; in main()
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1124 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits) in kvm_get_cpu_address_width() argument
1127 *pa_bits = kvm_cpu_has(X86_FEATURE_PAE) ? 36 : 32; in kvm_get_cpu_address_width()
1130 *pa_bits = kvm_cpu_property(X86_PROPERTY_MAX_PHY_ADDR); in kvm_get_cpu_address_width()
1207 guest_maxphyaddr = guest_maxphyaddr ?: vm->pa_bits; in vm_compute_max_gfn()
1208 TEST_ASSERT(guest_maxphyaddr <= vm->pa_bits, in vm_compute_max_gfn()
1218 if (vm->pa_bits < 40) in vm_compute_max_gfn()
/linux-6.12.1/arch/alpha/include/asm/
Dhwrpb.h171 unsigned long pa_bits; /* number of physical address bits */ member
Dio.h78 phys &= (1ul << hwrpb->pa_bits) - 1; in virt_to_phys()
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c283 vm->pa_bits = vm_guest_mode_params[vm->mode].pa_bits; in ____vm_create()
321 kvm_get_cpu_address_width(&vm->pa_bits, &vm->va_bits); in ____vm_create()
332 vm->pa_bits); in ____vm_create()
351 if (vm->pa_bits != 40) in ____vm_create()
352 vm->type = KVM_VM_TYPE_ARM_IPA_SIZE(vm->pa_bits); in ____vm_create()
2087 return ((1ULL << vm->pa_bits) >> vm->page_shift) - 1; in vm_compute_max_gfn()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h85 unsigned int pa_bits; member
239 unsigned int pa_bits; member
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c67 (vm->pa_bits > 48 || vm->va_bits > 48); in use_lpa2_pte_format()
/linux-6.12.1/arch/alpha/kernel/
Dsetup.c1108 hwrpb->pa_bits, in show_cpuinfo()
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h1128 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits);