Lines Matching defs:opcode
166 * @opcode: the opcode of the crypto instruction
169 * Executes the query function for the given crypto instruction @opcode
172 * Returns 1 if @func is available for @opcode, 0 otherwise
174 static __always_inline void __cpacf_query(unsigned int opcode, cpacf_mask_t *mask)
185 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (opcode)
189 static __always_inline int __cpacf_check_opcode(unsigned int opcode)
191 switch (opcode) {
214 static __always_inline int cpacf_query(unsigned int opcode, cpacf_mask_t *mask)
216 if (__cpacf_check_opcode(opcode)) {
217 __cpacf_query(opcode, mask);
229 static __always_inline int cpacf_query_func(unsigned int opcode, unsigned int func)
233 if (cpacf_query(opcode, &mask))
473 "0: .insn rre,%[opc] << 16,0,0\n" /* PCC opcode */
494 " .insn rre,%[opc] << 16,0,0\n" /* PCKMO opcode */