Searched refs:pa_bits (Results 1 – 11 of 11) sorted by relevance
195 u32 pa_bits; in panthor_gpu_init() local208 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()
2267 u32 pa_bits = GPU_MMU_FEATURES_PA_BITS(ptdev->gpu_info.mmu_features); in panthor_vm_create() local2314 .oas = pa_bits, in panthor_vm_create()
739 int pa_bits; in main() local742 pa_bits = vm_guest_mode_params[VM_MODE_DEFAULT].pa_bits; in main()743 max_phys_size = 1ULL << pa_bits; in main()
1124 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits) in kvm_get_cpu_address_width() argument1127 *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()
171 unsigned long pa_bits; /* number of physical address bits */ member
78 phys &= (1ul << hwrpb->pa_bits) - 1; in virt_to_phys()
283 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()
85 unsigned int pa_bits; member239 unsigned int pa_bits; member
67 (vm->pa_bits > 48 || vm->va_bits > 48); in use_lpa2_pte_format()
1108 hwrpb->pa_bits, in show_cpuinfo()
1128 void kvm_get_cpu_address_width(unsigned int *pa_bits, unsigned int *va_bits);