Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/dma/
Dhisi_dma.c107 u32 chan_depth; member
224 memset(chan->sq, 0, sizeof(struct hisi_dma_sqe) * hdma_dev->chan_depth); in hisi_dma_free_chan_resources()
225 memset(chan->cq, 0, sizeof(struct hisi_dma_cqe) * hdma_dev->chan_depth); in hisi_dma_free_chan_resources()
288 chan->sq_tail = (chan->sq_tail + 1) % hdma_dev->chan_depth; in hisi_dma_start_transfer()
341 size_t sq_size = sizeof(struct hisi_dma_sqe) * hdma_dev->chan_depth; in hisi_dma_alloc_qps_mem()
342 size_t cq_size = sizeof(struct hisi_dma_cqe) * hdma_dev->chan_depth; in hisi_dma_alloc_qps_mem()
366 u32 hw_depth = hdma_dev->chan_depth - 1; in hisi_dma_init_hw_qp()
437 hdma_dev->chan_depth; in hisi_dma_irq()
537 hdma_dev->chan_depth = HISI_DMA_Q_DEPTH_VAL; in hisi_dma_probe()