Home
last modified time | relevance | path

Searched refs:xqc (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/crypto/hisilicon/
H A Dhisi_qm.c390 static void hisi_qm_free_xqc(struct qm_xqc *xqc) in hisi_qm_free_xqc() argument
392 free(xqc->cqc); in hisi_qm_free_xqc()
393 free(xqc->sqc); in hisi_qm_free_xqc()
404 hisi_qm_free_xqc(&qm->xqc); in qm_free()
408 static enum hisi_drv_status hisi_qm_alloc_xqc(struct qm_xqc *xqc, in hisi_qm_alloc_xqc() argument
418 xqc->sqc = memalign(HISI_QM_ALIGN32, sqc_size); in hisi_qm_alloc_xqc()
419 if (!xqc->sqc) { in hisi_qm_alloc_xqc()
423 memset(xqc->sqc, 0, sqc_size); in hisi_qm_alloc_xqc()
424 xqc->sqc_dma = virt_to_phys(xqc->sqc); in hisi_qm_alloc_xqc()
426 xqc->cqc = memalign(HISI_QM_ALIGN32, cqc_size); in hisi_qm_alloc_xqc()
[all …]
H A Dhisi_qm.h164 struct qm_xqc xqc; member