Lines Matching +full:in4 +full:- +full:in5

20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
48 #define STEALCLOCK_NOT_AVAILABLE (-1)
56 /* only for little-endian */
69 unsigned long in4, unsigned long in5, in vmware_hypercall_slow() argument
84 "S" (in4), in vmware_hypercall_slow()
85 "D" (in5) in vmware_hypercall_slow()
96 "S" (in4), in vmware_hypercall_slow()
97 "D" (in5) in vmware_hypercall_slow()
109 "S" (in4), in vmware_hypercall_slow()
110 "D" (in5) in vmware_hypercall_slow()
154 early_param("no-vmw-sched-clock", setup_vmw_sched_clock);
161 early_param("no-steal-acc", parse_no_stealacc);
169 ns -= vmware_cyc2ns.cyc2ns_offset; in vmware_sched_clock()
178 clocks_calc_mult_shift(&d->cyc2ns_mul, &d->cyc2ns_shift, in vmware_cyc2ns_setup()
180 d->cyc2ns_offset = mul_u64_u32_shr(tsc_now, d->cyc2ns_mul, in vmware_cyc2ns_setup()
181 d->cyc2ns_shift); in vmware_cyc2ns_setup()
183 pr_info("using clock offset of %llu ns\n", d->cyc2ns_offset); in vmware_cyc2ns_setup()
216 * vmware_steal_clock() - read the per-cpu steal clock
219 * The function reads the steal clock if we are on a 64-bit system, otherwise
232 clock = READ_ONCE(steal->clock); in vmware_steal_clock()
237 initial_high = READ_ONCE(steal->clock_high); in vmware_steal_clock()
240 low = READ_ONCE(steal->clock_low); in vmware_steal_clock()
243 high = READ_ONCE(steal->clock_high); in vmware_steal_clock()
266 pr_info("vmware-stealtime: cpu %d, pa %llx\n", in vmware_register_steal_time()
482 /* Checks if hypervisor supports x2apic without VT-D interrupt remapping. */
499 unsigned long in4, unsigned long in5, in vmware_tdx_hypercall() argument
517 args.rsi = in4; in vmware_tdx_hypercall()
518 args.rdi = in5; in vmware_tdx_hypercall()
549 ghcb_set_rip(ghcb, regs->ip); in vmware_sev_es_hcall_prepare()
550 ghcb_set_rbx(ghcb, regs->bx); in vmware_sev_es_hcall_prepare()
551 ghcb_set_rcx(ghcb, regs->cx); in vmware_sev_es_hcall_prepare()
552 ghcb_set_rdx(ghcb, regs->dx); in vmware_sev_es_hcall_prepare()
553 ghcb_set_rsi(ghcb, regs->si); in vmware_sev_es_hcall_prepare()
554 ghcb_set_rdi(ghcb, regs->di); in vmware_sev_es_hcall_prepare()
555 ghcb_set_rbp(ghcb, regs->bp); in vmware_sev_es_hcall_prepare()
568 regs->bx = ghcb_get_rbx(ghcb); in vmware_sev_es_hcall_finish()
569 regs->cx = ghcb_get_rcx(ghcb); in vmware_sev_es_hcall_finish()
570 regs->dx = ghcb_get_rdx(ghcb); in vmware_sev_es_hcall_finish()
571 regs->si = ghcb_get_rsi(ghcb); in vmware_sev_es_hcall_finish()
572 regs->di = ghcb_get_rdi(ghcb); in vmware_sev_es_hcall_finish()
573 regs->bp = ghcb_get_rbp(ghcb); in vmware_sev_es_hcall_finish()