Lines Matching +full:- +full:p1
1 /* SPDX-License-Identifier: GPL-2.0 */
24 /* For KVM hypercalls, a three-byte sequence of either the vmcall or the vmmcall
48 static inline long kvm_hypercall1(unsigned int nr, unsigned long p1) in kvm_hypercall1() argument
53 return tdx_kvm_hypercall(nr, p1, 0, 0, 0); in kvm_hypercall1()
57 : "a"(nr), "b"(p1) in kvm_hypercall1()
62 static inline long kvm_hypercall2(unsigned int nr, unsigned long p1, in kvm_hypercall2() argument
68 return tdx_kvm_hypercall(nr, p1, p2, 0, 0); in kvm_hypercall2()
72 : "a"(nr), "b"(p1), "c"(p2) in kvm_hypercall2()
77 static inline long kvm_hypercall3(unsigned int nr, unsigned long p1, in kvm_hypercall3() argument
83 return tdx_kvm_hypercall(nr, p1, p2, p3, 0); in kvm_hypercall3()
87 : "a"(nr), "b"(p1), "c"(p2), "d"(p3) in kvm_hypercall3()
92 static inline long kvm_hypercall4(unsigned int nr, unsigned long p1, in kvm_hypercall4() argument
99 return tdx_kvm_hypercall(nr, p1, p2, p3, p4); in kvm_hypercall4()
103 : "a"(nr), "b"(p1), "c"(p2), "d"(p3), "S"(p4) in kvm_hypercall4()
108 static inline long kvm_sev_hypercall3(unsigned int nr, unsigned long p1, in kvm_sev_hypercall3() argument
115 : "a"(nr), "b"(p1), "c"(p2), "d"(p3) in kvm_sev_hypercall3()