Lines Matching refs:control

54 u64 hv_tdx_hypercall(u64 control, u64 param1, u64 param2);
71 static inline u64 hv_do_hypercall(u64 control, void *input, void *output) in hv_do_hypercall() argument
79 return hv_tdx_hypercall(control, input_address, output_address); in hv_do_hypercall()
85 "+c" (control), "+d" (input_address) in hv_do_hypercall()
97 "+c" (control), "+d" (input_address) in hv_do_hypercall()
113 : "A" (control), in hv_do_hypercall()
123 static inline u64 hv_do_nested_hypercall(u64 control, void *input, void *output) in hv_do_nested_hypercall() argument
125 return hv_do_hypercall(control | HV_HYPERCALL_NESTED, input, output); in hv_do_nested_hypercall()
129 static inline u64 _hv_do_fast_hypercall8(u64 control, u64 input1) in _hv_do_fast_hypercall8() argument
135 return hv_tdx_hypercall(control, input1, 0); in _hv_do_fast_hypercall8()
141 "+c" (control), "+d" (input1) in _hv_do_fast_hypercall8()
146 "+c" (control), "+d" (input1) in _hv_do_fast_hypercall8()
159 : "A" (control), in _hv_do_fast_hypercall8()
170 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT; in hv_do_fast_hypercall8() local
172 return _hv_do_fast_hypercall8(control, input1); in hv_do_fast_hypercall8()
177 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT | HV_HYPERCALL_NESTED; in hv_do_fast_nested_hypercall8() local
179 return _hv_do_fast_hypercall8(control, input1); in hv_do_fast_nested_hypercall8()
183 static inline u64 _hv_do_fast_hypercall16(u64 control, u64 input1, u64 input2) in _hv_do_fast_hypercall16() argument
189 return hv_tdx_hypercall(control, input1, input2); in _hv_do_fast_hypercall16()
195 "+c" (control), "+d" (input1) in _hv_do_fast_hypercall16()
202 "+c" (control), "+d" (input1) in _hv_do_fast_hypercall16()
217 : "A" (control), "b" (input1_hi), in _hv_do_fast_hypercall16()
228 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT; in hv_do_fast_hypercall16() local
230 return _hv_do_fast_hypercall16(control, input1, input2); in hv_do_fast_hypercall16()
235 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT | HV_HYPERCALL_NESTED; in hv_do_fast_nested_hypercall16() local
237 return _hv_do_fast_hypercall16(control, input1, input2); in hv_do_fast_nested_hypercall16()