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

/linux-master/drivers/dma/
H A Dhisi_dma.c163 u32 chan_depth; member in struct:hisi_dma_dev
469 memset(chan->sq, 0, sizeof(struct hisi_dma_sqe) * hdma_dev->chan_depth);
470 memset(chan->cq, 0, sizeof(struct hisi_dma_cqe) * hdma_dev->chan_depth);
532 chan->sq_tail = (chan->sq_tail + 1) % hdma_dev->chan_depth;
585 size_t sq_size = sizeof(struct hisi_dma_sqe) * hdma_dev->chan_depth;
586 size_t cq_size = sizeof(struct hisi_dma_cqe) * hdma_dev->chan_depth;
611 u32 hw_depth = hdma_dev->chan_depth - 1;
741 chan->cq_head = (chan->cq_head + 1) % hdma_dev->chan_depth;
990 hdma_dev->chan_depth = HISI_DMA_Q_DEPTH_VAL;

Completed in 150 milliseconds