hw_cq
struct switchtec_dma_hw_ce *hw_cq;
ce = &swdma_chan->hw_cq[swdma_chan->cq_tail];
size = SWITCHTEC_DMA_CQ_SIZE * sizeof(*swdma_chan->hw_cq);
if (swdma_chan->hw_cq)
swdma_chan->hw_cq, swdma_chan->dma_addr_cq);
size = SWITCHTEC_DMA_CQ_SIZE * sizeof(*swdma_chan->hw_cq);
swdma_chan->hw_cq = dma_alloc_coherent(swdma_dev->dma_dev.dev, size,
if (!swdma_chan->hw_cq) {
efct_hw_cq_process(hw, hw->hw_cq[i]);
efct_hw_cq_process(hw, hw->hw_cq[index]);
efct_hw_cq_process(struct efct_hw *hw, struct hw_cq *cq)
efct_hw_wq_process(struct efct_hw *hw, struct hw_cq *cq,
efct_hw_xabt_process(struct efct_hw *hw, struct hw_cq *cq,
struct hw_cq *hw_cq[EFCT_HW_MAX_NUM_CQ];
struct hw_cq *cq;
struct hw_cq *cq;
struct hw_cq *cq;
struct hw_cq *cq, u8 *cqe);
void efct_hw_cq_process(struct efct_hw *hw, struct hw_cq *cq);
efct_hw_wq_process(struct efct_hw *hw, struct hw_cq *cq,
efct_hw_xabt_process(struct efct_hw *hw, struct hw_cq *cq,
struct hw_cq *efct_hw_new_cq(struct hw_eq *eq, u32 entry_count);
efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[],
struct hw_mq *efct_hw_new_mq(struct hw_cq *cq, u32 entry_count);
*efct_hw_new_wq(struct hw_cq *cq, u32 entry_count);
efct_hw_new_rq_set(struct hw_cq *cqs[], struct hw_rq *rqs[],
void efct_hw_del_cq(struct hw_cq *cq);
struct hw_cq *cq = NULL;
struct hw_cq *
struct hw_cq *cq = kzalloc_obj(*cq);
hw->hw_cq[cq->instance] = cq;
efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[],
struct hw_cq *cq = NULL;
struct hw_cq *cqs[EFCT_HW_MAX_NUM_EQ];
hw->hw_cq[cqs[i]->instance] = cqs[i];
efct_hw_new_mq(struct hw_cq *cq, u32 entry_count)
efct_hw_new_wq(struct hw_cq *cq, u32 entry_count)
efct_hw_new_rq_set(struct hw_cq *cqs[], struct hw_rq *rqs[],
struct hw_cq *cq;
struct hw_cq *cq_next;
efct_hw_del_cq(struct hw_cq *cq)
cq->eq->hw->hw_cq[cq->instance] = NULL;
efct_hw_rqpair_process_rq(struct efct_hw *hw, struct hw_cq *cq,