Lines Matching refs:HPRE_DEV
30 #define HPRE_DEV(ctx) (&((ctx)->qp->qm->pdev->dev)) macro
181 struct device *dev = HPRE_DEV(ctx); in hpre_get_data_dma_addr()
205 struct device *dev = HPRE_DEV(ctx); in hpre_prepare_dma_buf()
259 struct device *dev = HPRE_DEV(ctx); in hpre_hw_data_clr_all()
579 struct device *dev = HPRE_DEV(ctx); in hpre_dh_set_params()
618 struct device *dev = HPRE_DEV(ctx); in hpre_dh_clear_ctx()
832 ctx->rsa.pubkey = dma_alloc_coherent(HPRE_DEV(ctx), vlen << 1, in hpre_rsa_set_n()
839 ctx->rsa.prikey = dma_alloc_coherent(HPRE_DEV(ctx), vlen << 1, in hpre_rsa_set_n()
843 dma_free_coherent(HPRE_DEV(ctx), vlen << 1, in hpre_rsa_set_n()
905 struct device *dev = HPRE_DEV(ctx); in hpre_rsa_setkey_crt()
963 struct device *dev = HPRE_DEV(ctx); in hpre_rsa_clear_ctx()