Lines Matching defs:in

62 static unsigned int nx842_ct;	/* used in icswx function */
65 * Using same values as in skiboot or coprocessor type representing
66 * in NX workbook.
71 static int (*nx842_powernv_exec)(const unsigned char *in,
79 * first direct DDE in the list.
123 bool in)
130 in ? "input" : "output", pa, DDE_BUFFER_ALIGN);
141 in ? "input" : "output", len, DDE_BUFFER_LAST_MULT);
142 if (in)
164 total_len, in ? "input" : "output", len);
165 if (in)
257 * DDE byte count exceeds the limit specified in Maximum
295 /* shouldn't happen, we're in HYP mode */
300 CSB_ERR(csb, "Too many DDEs in DDL");
349 CSB_ERR(csb, "Internal error in coprocessor");
381 pr_debug_ratelimited("Processed %u bytes in %lu us\n",
388 static int nx842_config_crb(const unsigned char *in, unsigned int inlen,
405 (unsigned char *)in, inlen, true);
435 * @in: input buffer pointer
441 * @fc: function code, see CCW Function Codes in nx-842.h
444 * 0 Success, output of length @outlenp stored in the buffer at @out
450 * -ETIMEDOUT hardware did not complete operation in reasonable time
453 static int nx842_exec_icswx(const unsigned char *in, unsigned int inlen,
474 ret = nx842_config_crb(in, inlen, out, outlen, wmem);
497 * NX842 coprocessor sets 3rd bit in CR register with XER[S0].
537 * @in: input buffer pointer
543 * @fc: function code, see CCW Function Codes in nx-842.h
546 * 0 Success, output of length @outlenp stored in the buffer
553 * -ETIMEDOUT hardware did not complete operation in reasonable time
556 static int nx842_exec_vas(const unsigned char *in, unsigned int inlen,
575 ret = nx842_config_crb(in, inlen, out, outlen, wmem);
621 * The input buffer is compressed and the result is stored in the
628 * @in: input buffer pointer
637 static int nx842_powernv_compress(const unsigned char *in, unsigned int inlen,
641 return nx842_powernv_exec(in, inlen, out, outlenp,
649 * The input buffer is decompressed and the result is stored in the
656 * @in: input buffer pointer
665 static int nx842_powernv_decompress(const unsigned char *in, unsigned int inlen,
669 return nx842_powernv_exec(in, inlen, out, outlenp,
706 * engine and save txwin in percpu cpu_txwin.
707 * cpu_txwin is used in copy/paste operation for each compression /
724 * GZIP is not supported in kernel right now.
833 * Maximum RX window credits can not be more than #CRBs in
856 * coprocessor instance in the system. So to make it
858 * GZIP for pid and provides this value to kernel in pid
1090 * 842 compression is supported only in kernel.
1096 * GZIP is not supported in kernel right now.
1123 * GZIP engine is supported only in power9 or later and nx842_ct