Lines Matching refs:opcode

47 static __always_inline void __test_cpacf(unsigned int opcode, unsigned long func,  in __test_cpacf()  argument
56 : : "d" (gr0), "d" (gr1), [opc] "i" (opcode), in __test_cpacf()
60 static __always_inline void __test_cpacf_r1_odd(unsigned int opcode) in __test_cpacf_r1_odd() argument
64 __test_cpacf(opcode, 0, 1, 4, 6); in __test_cpacf_r1_odd()
69 static __always_inline void __test_cpacf_r1_null(unsigned int opcode) in __test_cpacf_r1_null() argument
73 __test_cpacf(opcode, 0, 0, 4, 6); in __test_cpacf_r1_null()
78 static __always_inline void __test_cpacf_r2_odd(unsigned int opcode) in __test_cpacf_r2_odd() argument
82 __test_cpacf(opcode, 0, 2, 3, 6); in __test_cpacf_r2_odd()
87 static __always_inline void __test_cpacf_r2_null(unsigned int opcode) in __test_cpacf_r2_null() argument
91 __test_cpacf(opcode, 0, 2, 0, 6); in __test_cpacf_r2_null()
96 static __always_inline void __test_cpacf_r3_odd(unsigned int opcode) in __test_cpacf_r3_odd() argument
100 __test_cpacf(opcode, 0, 2, 4, 5); in __test_cpacf_r3_odd()
105 static __always_inline void __test_cpacf_r3_null(unsigned int opcode) in __test_cpacf_r3_null() argument
109 __test_cpacf(opcode, 0, 2, 4, 0); in __test_cpacf_r3_null()
114 static __always_inline void __test_cpacf_mod_bit(unsigned int opcode) in __test_cpacf_mod_bit() argument
118 __test_cpacf(opcode, CPACF_DECRYPT, 2, 4, 6); in __test_cpacf_mod_bit()
123 static __always_inline void __test_cpacf_invalid_func(unsigned int opcode) in __test_cpacf_invalid_func() argument
129 if (cpacf_query_func(opcode, 127)) { in __test_cpacf_invalid_func()
132 __test_cpacf(opcode, 127, 2, 4, 6); in __test_cpacf_invalid_func()
138 static __always_inline void __test_cpacf_invalid_parm(unsigned int opcode) in __test_cpacf_invalid_parm() argument
142 __cpacf_query(opcode, OPAQUE_PTR(-1)); in __test_cpacf_invalid_parm()
147 static __always_inline void __test_cpacf_protected_parm(unsigned int opcode) in __test_cpacf_protected_parm() argument
152 __cpacf_query(opcode, OPAQUE_PTR(8)); in __test_cpacf_protected_parm()
158 static __always_inline void __test_basic_cpacf_opcode(unsigned int opcode) in __test_basic_cpacf_opcode() argument
162 if (!__cpacf_check_opcode(opcode)) { in __test_basic_cpacf_opcode()
166 report(cpacf_query_func(opcode, 0), "query indicated in query"); in __test_basic_cpacf_opcode()
168 switch (opcode) { in __test_basic_cpacf_opcode()
170 __test_cpacf_r3_odd(opcode); in __test_basic_cpacf_opcode()
171 __test_cpacf_r3_null(opcode); in __test_basic_cpacf_opcode()
178 __test_cpacf_r1_odd(opcode); in __test_basic_cpacf_opcode()
179 __test_cpacf_r1_null(opcode); in __test_basic_cpacf_opcode()
185 __test_cpacf_r2_odd(opcode); in __test_basic_cpacf_opcode()
186 __test_cpacf_r2_null(opcode); in __test_basic_cpacf_opcode()
190 __test_cpacf_mod_bit(opcode); in __test_basic_cpacf_opcode()
191 __test_cpacf_invalid_func(opcode); in __test_basic_cpacf_opcode()
192 __test_cpacf_invalid_parm(opcode); in __test_basic_cpacf_opcode()
193 __test_cpacf_protected_parm(opcode); in __test_basic_cpacf_opcode()