Lines Matching refs:driver
20 * nx-842 driver via nx842_constraints, mean this driver must use bounce
24 * This driver will fall back to software decompression if the hardware
25 * decompression fails, so this driver's decompression should never fail as
27 * created by this driver will have a header (except ones where the input
28 * perfectly matches the constraints); so users of this driver cannot simply
29 * pass a compressed buffer created by this driver over to the 842 software
30 * decompression library. Instead, users must use this driver to decompress;
39 * creates can be passed to this driver for hardware decompression; any
44 * of 8; if such a compressed buffer is passed to this driver for
45 * decompression, the hardware will reject it and this driver will then pass
104 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver)
109 ctx->driver = driver;
110 ctx->wmem = kmalloc(driver->workmem_size, GFP_KERNEL);
219 ret = ctx->driver->compress(src, slen, dst, &dlen, ctx->wmem);
258 struct nx842_constraints c = *ctx->driver->constraints;
399 ret = ctx->driver->decompress(src, slen, dst, &dlen, ctx->wmem);
441 struct nx842_constraints c = *ctx->driver->constraints;
460 * 842 compressed buffer and pass it directly to the hardware driver