Searched refs:IVPU_MMU_Q_IDX (Results 1 – 1 of 1) sorted by relevance
41 #define IVPU_MMU_Q_IDX(val) ((val) & IVPU_MMU_Q_IDX_MASK) macro418 int idx = IVPU_MMU_Q_IDX(q->prod) * (IVPU_MMU_CMDQ_CMD_SIZE / sizeof(*queue_buffer)); in ivpu_mmu_cmdq_cmd_write()420 if (!CIRC_SPACE(IVPU_MMU_Q_IDX(q->prod), IVPU_MMU_Q_IDX(q->cons), IVPU_MMU_Q_COUNT)) { in ivpu_mmu_cmdq_cmd_write()800 u32 idx = IVPU_MMU_Q_IDX(evtq->cons); in ivpu_mmu_get_event()804 if (!CIRC_CNT(IVPU_MMU_Q_IDX(evtq->prod), IVPU_MMU_Q_IDX(evtq->cons), IVPU_MMU_Q_COUNT)) in ivpu_mmu_get_event()