Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c3073 struct qm_aeqc *aeqc; in qm_aeq_ctx_cfg() local
3077 aeqc = kzalloc(sizeof(struct qm_aeqc), GFP_KERNEL); in qm_aeq_ctx_cfg()
3078 if (!aeqc) in qm_aeq_ctx_cfg()
3081 aeqc->base_l = cpu_to_le32(lower_32_bits(qm->aeqe_dma)); in qm_aeq_ctx_cfg()
3082 aeqc->base_h = cpu_to_le32(upper_32_bits(qm->aeqe_dma)); in qm_aeq_ctx_cfg()
3083 aeqc->dw6 = cpu_to_le32(((u32)qm->aeq_depth - 1) | (1 << QM_EQC_PHASE_SHIFT)); in qm_aeq_ctx_cfg()
3085 aeqc_dma = dma_map_single(dev, aeqc, sizeof(struct qm_aeqc), in qm_aeq_ctx_cfg()
3088 kfree(aeqc); in qm_aeq_ctx_cfg()
3094 kfree(aeqc); in qm_aeq_ctx_cfg()