Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/xilinx/
H A Dxdma.c93 u32 dblk_num; member
151 for (i = 1; i < sw_desc->dblk_num; i++) { in xdma_link_desc_blocks()
165 if (((sw_desc->dblk_num - 1) & XDMA_DESC_BLOCK_MASK) > 0) { in xdma_link_desc_blocks()
166 block = &sw_desc->desc_blocks[sw_desc->dblk_num - 2]; in xdma_link_desc_blocks()
172 block = &sw_desc->desc_blocks[sw_desc->dblk_num - 1]; in xdma_link_desc_blocks()
219 for (i = 0; i < sw_desc->dblk_num; i++) { in xdma_free_desc()
241 u32 dblk_num; in xdma_alloc_desc() local
251 dblk_num = DIV_ROUND_UP(desc_num, XDMA_DESC_ADJACENT); in xdma_alloc_desc()
257 sw_desc->dblk_num = dblk_num; in xdma_alloc_desc()
258 for (i = 0; i < sw_desc->dblk_num; i++) { in xdma_alloc_desc()
[all …]