Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/dw-edma/
H A Ddw-edma-core.c710 static int dw_edma_channel_setup(struct dw_edma *dw, u32 wr_alloc, u32 rd_alloc) in dw_edma_channel_setup() argument
757 pos = wr_alloc + chan->id % rd_alloc; in dw_edma_channel_setup()
831 u32 *wr_alloc, u32 *rd_alloc) in dw_edma_irq_request() argument
868 while (tmp && (*wr_alloc + *rd_alloc) < ch_cnt) { in dw_edma_irq_request()
870 dw_edma_dec_irq_alloc(&tmp, rd_alloc, dw->rd_ch_cnt); in dw_edma_irq_request()
874 dw_edma_add_irq_mask(&rd_mask, *rd_alloc, dw->rd_ch_cnt); in dw_edma_irq_request()
876 for (i = 0; i < (*wr_alloc + *rd_alloc); i++) { in dw_edma_irq_request()
910 u32 rd_alloc = 0; in dw_edma_probe() local
960 err = dw_edma_irq_request(dw, &wr_alloc, &rd_alloc); in dw_edma_probe()
965 err = dw_edma_channel_setup(dw, wr_alloc, rd_alloc); in dw_edma_probe()
/openbmc/linux/drivers/char/xillybus/
H A Dxillybus_core.c440 struct xilly_alloc_state rd_alloc = { in xilly_setupchannels() local
555 rc = xilly_get_dma_buffers(ep, &rd_alloc, buffers, in xilly_setupchannels()