Searched refs:chan_depth (Results 1 – 1 of 1) sorted by relevance
163 u32 chan_depth; member469 memset(chan->sq, 0, sizeof(struct hisi_dma_sqe) * hdma_dev->chan_depth); in hisi_dma_free_chan_resources()470 memset(chan->cq, 0, sizeof(struct hisi_dma_cqe) * hdma_dev->chan_depth); in hisi_dma_free_chan_resources()532 chan->sq_tail = (chan->sq_tail + 1) % hdma_dev->chan_depth; in hisi_dma_start_transfer()585 size_t sq_size = sizeof(struct hisi_dma_sqe) * hdma_dev->chan_depth; in hisi_dma_alloc_qps_mem()586 size_t cq_size = sizeof(struct hisi_dma_cqe) * hdma_dev->chan_depth; in hisi_dma_alloc_qps_mem()611 u32 hw_depth = hdma_dev->chan_depth - 1; in hisi_dma_init_hw_qp()741 chan->cq_head = (chan->cq_head + 1) % hdma_dev->chan_depth; in hisi_dma_irq()990 hdma_dev->chan_depth = HISI_DMA_Q_DEPTH_VAL; in hisi_dma_probe()