1 /* n2-asm.S: Niagara2 RNG hypervisor call assembler.
3 * Copyright (C) 2008 David S. Miller <davem@davemloft.net>
5 #include <linux/linkage.h>
6 #include <asm/hypervisor.h>
11 ENTRY(sun4v_rng_get_diag_ctl)
12 mov HV_FAST_RNG_GET_DIAG_CTL, %o5
16 ENDPROC(sun4v_rng_get_diag_ctl)
18 ENTRY(sun4v_rng_ctl_read_v1)
21 mov HV_FAST_RNG_CTL_READ, %o5
26 ENDPROC(sun4v_rng_ctl_read_v1)
28 ENTRY(sun4v_rng_ctl_read_v2)
32 mov HV_FAST_RNG_CTL_READ, %o5
40 ENDPROC(sun4v_rng_ctl_read_v2)
42 ENTRY(sun4v_rng_ctl_write_v1)
44 mov HV_FAST_RNG_CTL_WRITE, %o5
48 ENDPROC(sun4v_rng_ctl_write_v1)
50 ENTRY(sun4v_rng_ctl_write_v2)
51 mov HV_FAST_RNG_CTL_WRITE, %o5
55 ENDPROC(sun4v_rng_ctl_write_v2)
57 ENTRY(sun4v_rng_data_read_diag_v1)
59 mov HV_FAST_RNG_DATA_READ_DIAG, %o5
63 ENDPROC(sun4v_rng_data_read_diag_v1)
65 ENTRY(sun4v_rng_data_read_diag_v2)
67 mov HV_FAST_RNG_DATA_READ_DIAG, %o5
71 ENDPROC(sun4v_rng_data_read_diag_v2)
73 ENTRY(sun4v_rng_data_read)
75 mov HV_FAST_RNG_DATA_READ, %o5
79 ENDPROC(sun4v_rng_data_read)