Lines Matching +full:0 +full:xf002

17 #define KVMPPC_GSID_BLANK			0x0000
19 #define KVMPPC_GSID_HOST_STATE_SIZE 0x0001
21 #define KVMPPC_GSID_RUN_OUTPUT_MIN_SIZE 0x0002
23 #define KVMPPC_GSID_LOGICAL_PVR 0x0003
25 #define KVMPPC_GSID_TB_OFFSET 0x0004
27 #define KVMPPC_GSID_PARTITION_TABLE 0x0005
29 #define KVMPPC_GSID_PROCESS_TABLE 0x0006
32 #define KVMPPC_GSID_RUN_INPUT 0x0C00
34 #define KVMPPC_GSID_RUN_OUTPUT 0x0C01
35 #define KVMPPC_GSID_VPA 0x0C02
37 #define KVMPPC_GSID_GPR(x) (0x1000 + (x))
38 #define KVMPPC_GSID_HDEC_EXPIRY_TB 0x1020
39 #define KVMPPC_GSID_NIA 0x1021
40 #define KVMPPC_GSID_MSR 0x1022
41 #define KVMPPC_GSID_LR 0x1023
42 #define KVMPPC_GSID_XER 0x1024
43 #define KVMPPC_GSID_CTR 0x1025
44 #define KVMPPC_GSID_CFAR 0x1026
45 #define KVMPPC_GSID_SRR0 0x1027
46 #define KVMPPC_GSID_SRR1 0x1028
47 #define KVMPPC_GSID_DAR 0x1029
48 #define KVMPPC_GSID_DEC_EXPIRY_TB 0x102A
49 #define KVMPPC_GSID_VTB 0x102B
50 #define KVMPPC_GSID_LPCR 0x102C
51 #define KVMPPC_GSID_HFSCR 0x102D
52 #define KVMPPC_GSID_FSCR 0x102E
53 #define KVMPPC_GSID_FPSCR 0x102F
54 #define KVMPPC_GSID_DAWR0 0x1030
55 #define KVMPPC_GSID_DAWR1 0x1031
56 #define KVMPPC_GSID_CIABR 0x1032
57 #define KVMPPC_GSID_PURR 0x1033
58 #define KVMPPC_GSID_SPURR 0x1034
59 #define KVMPPC_GSID_IC 0x1035
60 #define KVMPPC_GSID_SPRG0 0x1036
61 #define KVMPPC_GSID_SPRG1 0x1037
62 #define KVMPPC_GSID_SPRG2 0x1038
63 #define KVMPPC_GSID_SPRG3 0x1039
64 #define KVMPPC_GSID_PPR 0x103A
65 #define KVMPPC_GSID_MMCR(x) (0x103B + (x))
66 #define KVMPPC_GSID_MMCRA 0x103F
67 #define KVMPPC_GSID_SIER(x) (0x1040 + (x))
68 #define KVMPPC_GSID_BESCR 0x1043
69 #define KVMPPC_GSID_EBBHR 0x1044
70 #define KVMPPC_GSID_EBBRR 0x1045
71 #define KVMPPC_GSID_AMR 0x1046
72 #define KVMPPC_GSID_IAMR 0x1047
73 #define KVMPPC_GSID_AMOR 0x1048
74 #define KVMPPC_GSID_UAMOR 0x1049
75 #define KVMPPC_GSID_SDAR 0x104A
76 #define KVMPPC_GSID_SIAR 0x104B
77 #define KVMPPC_GSID_DSCR 0x104C
78 #define KVMPPC_GSID_TAR 0x104D
79 #define KVMPPC_GSID_DEXCR 0x104E
80 #define KVMPPC_GSID_HDEXCR 0x104F
81 #define KVMPPC_GSID_HASHKEYR 0x1050
82 #define KVMPPC_GSID_HASHPKEYR 0x1051
83 #define KVMPPC_GSID_CTRL 0x1052
84 #define KVMPPC_GSID_DPDES 0x1053
86 #define KVMPPC_GSID_CR 0x2000
87 #define KVMPPC_GSID_PIDR 0x2001
88 #define KVMPPC_GSID_DSISR 0x2002
89 #define KVMPPC_GSID_VSCR 0x2003
90 #define KVMPPC_GSID_VRSAVE 0x2004
91 #define KVMPPC_GSID_DAWRX0 0x2005
92 #define KVMPPC_GSID_DAWRX1 0x2006
93 #define KVMPPC_GSID_PMC(x) (0x2007 + (x))
94 #define KVMPPC_GSID_WORT 0x200D
95 #define KVMPPC_GSID_PSPB 0x200E
97 #define KVMPPC_GSID_VSRS(x) (0x3000 + (x))
99 #define KVMPPC_GSID_HDAR 0xF000
100 #define KVMPPC_GSID_HDSISR 0xF001
101 #define KVMPPC_GSID_HEIR 0xF002
102 #define KVMPPC_GSID_ASDR 0xF003
113 #define KVMPPC_GSE_DW_REGS_START KVMPPC_GSID_GPR(0)
123 #define KVMPPC_GSE_VSRS_START KVMPPC_GSID_VSRS(0)
141 KVMPPC_GS_CLASS_GUESTWIDE = 0x01,
142 KVMPPC_GS_CLASS_META = 0x02,
143 KVMPPC_GS_CLASS_DWORD_REG = 0x04,
144 KVMPPC_GS_CLASS_WORD_REG = 0x08,
145 KVMPPC_GS_CLASS_VECTOR = 0x10,
146 KVMPPC_GS_CLASS_INTR = 0x20,
166 KVMPPC_GS_FLAGS_WIDE = 0x01,
265 GSM_GUEST_WIDE = 0x1,
266 GSM_SEND = 0x2,
267 GSM_RECEIVE = 0x4,
268 GSM_GSB_OWNER = 0x8,
396 kvmppc_gsb_header(gsb)->nelems = cpu_to_be32(0); in kvmppc_gsb_reset()
534 for (i = 0, pos = head, rem = len; kvmppc_gse_ok(pos, rem) && i < max; \
643 __be64 tmp[2] = { 0 }; in kvmppc_gse_put_vector128()
650 tmp[0] = cpu_to_be64(u.dw[TS_FPROFFSET]); in kvmppc_gse_put_vector128()
670 tmp[0] = cpu_to_be64(val.address); in kvmppc_gse_put_part_table()
690 tmp[0] = cpu_to_be64(val.address); in kvmppc_gse_put_proc_table()
708 tmp[0] = cpu_to_be64(val.address); in kvmppc_gse_put_buff_info()
723 return 0; in kvmppc_gse_get_be32()
743 return 0; in kvmppc_gse_get_be64()
766 } u = { 0 }; in kvmppc_gse_get_vector128()
773 u.dw[TS_FPROFFSET] = be64_to_cpu(src[0]); in kvmppc_gse_get_vector128()
805 clear_bit(0, gsbm->bitmap); in kvmppc_gsbm_fill()
814 for (iden = kvmppc_gsbm_next(gsbm, 0); iden != 0; \
834 for (iden = kvmppc_gsbm_next(&(gsp)->iterator, 0), \
836 iden != 0; iden = kvmppc_gsbm_next(&(gsp)->iterator, iden), \
851 for (iden = kvmppc_gsbm_next(&gsm->bitmap, 0); iden != 0; \
924 if (rc < 0) in kvmppc_gsb_receive_data()
928 if (rc < 0) in kvmppc_gsb_receive_data()
932 if (rc < 0) in kvmppc_gsb_receive_data()
934 return 0; in kvmppc_gsb_receive_data()
950 if (rc < 0) in kvmppc_gsb_receive_datum()
953 return 0; in kvmppc_gsb_receive_datum()
970 if (rc < 0) in kvmppc_gsb_send_data()
990 if (rc < 0) in kvmppc_gsb_send_datum()
993 return 0; in kvmppc_gsb_send_datum()