Lines Matching refs:control

53 u64 hv_tdx_hypercall(u64 control, u64 param1, u64 param2);
70 static inline u64 hv_do_hypercall(u64 control, void *input, void *output) in hv_do_hypercall() argument
78 return hv_tdx_hypercall(control, input_address, output_address); in hv_do_hypercall()
84 "+c" (control), "+d" (input_address) in hv_do_hypercall()
96 "+c" (control), "+d" (input_address) in hv_do_hypercall()
112 : "A" (control), in hv_do_hypercall()
122 static inline u64 hv_do_nested_hypercall(u64 control, void *input, void *output) in hv_do_nested_hypercall() argument
124 return hv_do_hypercall(control | HV_HYPERCALL_NESTED, input, output); in hv_do_nested_hypercall()
128 static inline u64 _hv_do_fast_hypercall8(u64 control, u64 input1) in _hv_do_fast_hypercall8() argument
134 return hv_tdx_hypercall(control, input1, 0); in _hv_do_fast_hypercall8()
140 "+c" (control), "+d" (input1) in _hv_do_fast_hypercall8()
145 "+c" (control), "+d" (input1) in _hv_do_fast_hypercall8()
158 : "A" (control), in _hv_do_fast_hypercall8()
169 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT; in hv_do_fast_hypercall8() local
171 return _hv_do_fast_hypercall8(control, input1); in hv_do_fast_hypercall8()
176 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT | HV_HYPERCALL_NESTED; in hv_do_fast_nested_hypercall8() local
178 return _hv_do_fast_hypercall8(control, input1); in hv_do_fast_nested_hypercall8()
182 static inline u64 _hv_do_fast_hypercall16(u64 control, u64 input1, u64 input2) in _hv_do_fast_hypercall16() argument
188 return hv_tdx_hypercall(control, input1, input2); in _hv_do_fast_hypercall16()
194 "+c" (control), "+d" (input1) in _hv_do_fast_hypercall16()
201 "+c" (control), "+d" (input1) in _hv_do_fast_hypercall16()
216 : "A" (control), "b" (input1_hi), in _hv_do_fast_hypercall16()
227 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT; in hv_do_fast_hypercall16() local
229 return _hv_do_fast_hypercall16(control, input1, input2); in hv_do_fast_hypercall16()
234 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT | HV_HYPERCALL_NESTED; in hv_do_fast_nested_hypercall16() local
236 return _hv_do_fast_hypercall16(control, input1, input2); in hv_do_fast_nested_hypercall16()