Lines Matching refs:u64
51 u64 hv_tdx_hypercall(u64 control, u64 param1, u64 param2);
64 static inline u64 hv_do_hypercall(u64 control, void *input, void *output) in hv_do_hypercall()
66 u64 input_address = input ? virt_to_phys(input) : 0; in hv_do_hypercall()
67 u64 output_address = output ? virt_to_phys(output) : 0; in hv_do_hypercall()
68 u64 hv_status; in hv_do_hypercall()
116 static inline u64 _hv_do_fast_hypercall8(u64 control, u64 input1) in _hv_do_fast_hypercall8()
118 u64 hv_status; in _hv_do_fast_hypercall8()
155 static inline u64 hv_do_fast_hypercall8(u16 code, u64 input1) in hv_do_fast_hypercall8()
157 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT; in hv_do_fast_hypercall8()
163 static inline u64 _hv_do_fast_hypercall16(u64 control, u64 input1, u64 input2) in _hv_do_fast_hypercall16()
165 u64 hv_status; in _hv_do_fast_hypercall16()
206 static inline u64 hv_do_fast_hypercall16(u16 code, u64 input1, u64 input2) in hv_do_fast_hypercall16()
208 u64 control = (u64)code | HV_HYPERCALL_FAST_BIT; in hv_do_fast_hypercall16()
228 int hyperv_flush_guest_mapping(u64 as);
229 int hyperv_flush_guest_mapping_range(u64 as,
233 u64 start_gfn, u64 end_gfn);
264 void hv_ivm_msr_write(u64 msr, u64 value);
265 void hv_ivm_msr_read(u64 msr, u64 *value);
268 static inline void hv_ivm_msr_write(u64 msr, u64 value) {} in hv_ivm_msr_write()
269 static inline void hv_ivm_msr_read(u64 msr, u64 *value) {} in hv_ivm_msr_read()
284 u64 hv_get_msr(unsigned int reg);
285 void hv_set_msr(unsigned int reg, u64 value);
286 u64 hv_get_non_nested_msr(unsigned int reg);
287 void hv_set_non_nested_msr(unsigned int reg, u64 value);
289 static __always_inline u64 hv_raw_get_msr(unsigned int reg) in hv_raw_get_msr()
305 static inline int hyperv_flush_guest_mapping(u64 as) { return -1; } in hyperv_flush_guest_mapping()
306 static inline int hyperv_flush_guest_mapping_range(u64 as, in hyperv_flush_guest_mapping_range()
311 static inline void hv_set_msr(unsigned int reg, u64 value) { } in hv_set_msr()
312 static inline u64 hv_get_msr(unsigned int reg) { return 0; } in hv_get_msr()
313 static inline void hv_set_non_nested_msr(unsigned int reg, u64 value) { } in hv_set_non_nested_msr()
314 static inline u64 hv_get_non_nested_msr(unsigned int reg) { return 0; } in hv_get_non_nested_msr()