Lines Matching refs:dev

609 	struct device *dev;  in qat_alg_aead_newkey()  local
615 dev = &GET_DEV(inst->accel_dev); in qat_alg_aead_newkey()
617 ctx->enc_cd = dma_alloc_coherent(dev, sizeof(*ctx->enc_cd), in qat_alg_aead_newkey()
624 ctx->dec_cd = dma_alloc_coherent(dev, sizeof(*ctx->dec_cd), in qat_alg_aead_newkey()
641 dma_free_coherent(dev, sizeof(struct qat_alg_cd), in qat_alg_aead_newkey()
646 dma_free_coherent(dev, sizeof(struct qat_alg_cd), in qat_alg_aead_newkey()
719 struct device *dev = &GET_DEV(ctx->inst->accel_dev); in qat_alg_update_iv() local
731 dev_warn(dev, "Unsupported IV update for cipher mode %d\n", in qat_alg_update_iv()
892 struct device *dev; in qat_alg_skcipher_newkey() local
899 dev = &GET_DEV(inst->accel_dev); in qat_alg_skcipher_newkey()
901 ctx->enc_cd = dma_alloc_coherent(dev, sizeof(*ctx->enc_cd), in qat_alg_skcipher_newkey()
908 ctx->dec_cd = dma_alloc_coherent(dev, sizeof(*ctx->dec_cd), in qat_alg_skcipher_newkey()
924 dma_free_coherent(dev, sizeof(*ctx->dec_cd), in qat_alg_skcipher_newkey()
929 dma_free_coherent(dev, sizeof(*ctx->enc_cd), in qat_alg_skcipher_newkey()
1185 struct device *dev; in qat_alg_aead_exit() local
1192 dev = &GET_DEV(inst->accel_dev); in qat_alg_aead_exit()
1195 dma_free_coherent(dev, sizeof(struct qat_alg_cd), in qat_alg_aead_exit()
1200 dma_free_coherent(dev, sizeof(struct qat_alg_cd), in qat_alg_aead_exit()
1240 struct device *dev; in qat_alg_skcipher_exit_tfm() local
1245 dev = &GET_DEV(inst->accel_dev); in qat_alg_skcipher_exit_tfm()
1249 dma_free_coherent(dev, in qat_alg_skcipher_exit_tfm()
1256 dma_free_coherent(dev, in qat_alg_skcipher_exit_tfm()