Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_pasid.c29 bool kfd_set_pasid_limit(unsigned int new_limit) in kfd_set_pasid_limit() argument
31 if (new_limit < 2) in kfd_set_pasid_limit()
34 if (new_limit < (1U << pasid_bits)) { in kfd_set_pasid_limit()
41 while (new_limit < (1U << pasid_bits)) in kfd_set_pasid_limit()
Dkfd_priv.h768 bool kfd_set_pasid_limit(unsigned int new_limit);
/Linux-v4.19/drivers/platform/x86/
Dintel_ips.c416 u16 cur_limit, new_limit; in ips_cpu_lower() local
421 new_limit = cur_limit - 8; /* 1W decrease */ in ips_cpu_lower()
424 if (new_limit < (ips->orig_turbo_limit & TURBO_TDP_MASK)) in ips_cpu_lower()
425 new_limit = ips->orig_turbo_limit & TURBO_TDP_MASK; in ips_cpu_lower()
427 thm_writew(THM_MPCPC, (new_limit * 10) / 8); in ips_cpu_lower()
433 turbo_override |= new_limit; in ips_cpu_lower()
/Linux-v4.19/arch/s390/kvm/
Dkvm-s390.c791 unsigned long new_limit; in kvm_s390_set_mem_control() local
796 if (get_user(new_limit, (u64 __user *)attr->addr)) in kvm_s390_set_mem_control()
800 new_limit > kvm->arch.mem_limit) in kvm_s390_set_mem_control()
803 if (!new_limit) in kvm_s390_set_mem_control()
807 if (new_limit != KVM_S390_NO_MEM_LIMIT) in kvm_s390_set_mem_control()
808 new_limit -= 1; in kvm_s390_set_mem_control()
814 struct gmap *new = gmap_create(current->mm, new_limit); in kvm_s390_set_mem_control()
826 VM_EVENT(kvm, 3, "SET: max guest address: %lu", new_limit); in kvm_s390_set_mem_control()