Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/dma/dw-edma/
Ddw-edma-core.c624 u32 wr_alloc, u32 rd_alloc) in dw_edma_channel_setup() argument
658 alloc = rd_alloc; in dw_edma_channel_setup()
768 u32 *wr_alloc, u32 *rd_alloc) in dw_edma_irq_request() argument
798 while (tmp && (*wr_alloc + *rd_alloc) < ch_cnt) { in dw_edma_irq_request()
800 dw_edma_dec_irq_alloc(&tmp, rd_alloc, dw->rd_ch_cnt); in dw_edma_irq_request()
804 dw_edma_add_irq_mask(&rd_mask, *rd_alloc, dw->rd_ch_cnt); in dw_edma_irq_request()
806 for (i = 0; i < (*wr_alloc + *rd_alloc); i++) { in dw_edma_irq_request()
833 u32 rd_alloc = 0; in dw_edma_probe() local
863 err = dw_edma_irq_request(chip, &wr_alloc, &rd_alloc); in dw_edma_probe()
868 err = dw_edma_channel_setup(chip, true, wr_alloc, rd_alloc); in dw_edma_probe()
[all …]
/Linux-v5.4/drivers/char/xillybus/
Dxillybus_core.c415 struct xilly_alloc_state rd_alloc = { in xilly_setupchannels() local
530 rc = xilly_get_dma_buffers(ep, &rd_alloc, buffers, in xilly_setupchannels()