Searched refs:aeqc (Results 1 – 1 of 1) sorted by relevance
2522 struct qm_aeqc *aeqc; in qm_eq_ctx_cfg() local2550 aeqc = kzalloc(sizeof(struct qm_aeqc), GFP_KERNEL); in qm_eq_ctx_cfg()2551 if (!aeqc) in qm_eq_ctx_cfg()2553 aeqc_dma = dma_map_single(dev, aeqc, sizeof(struct qm_aeqc), in qm_eq_ctx_cfg()2556 kfree(aeqc); in qm_eq_ctx_cfg()2560 aeqc->base_l = cpu_to_le32(lower_32_bits(qm->aeqe_dma)); in qm_eq_ctx_cfg()2561 aeqc->base_h = cpu_to_le32(upper_32_bits(qm->aeqe_dma)); in qm_eq_ctx_cfg()2562 aeqc->dw6 = cpu_to_le32((QM_Q_DEPTH - 1) | (1 << QM_EQC_PHASE_SHIFT)); in qm_eq_ctx_cfg()2566 kfree(aeqc); in qm_eq_ctx_cfg()