Searched refs:wr_alloc (Results 1 – 2 of 2) sorted by relevance
/drivers/dma/dw-edma/ |
D | dw-edma-core.c | 710 static int dw_edma_channel_setup(struct dw_edma *dw, u32 wr_alloc, u32 rd_alloc) in dw_edma_channel_setup() argument 755 pos = chan->id % wr_alloc; in dw_edma_channel_setup() 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() 869 dw_edma_dec_irq_alloc(&tmp, wr_alloc, dw->wr_ch_cnt); in dw_edma_irq_request() 873 dw_edma_add_irq_mask(&wr_mask, *wr_alloc, dw->wr_ch_cnt); in dw_edma_irq_request() 876 for (i = 0; i < (*wr_alloc + *rd_alloc); i++) { in dw_edma_irq_request() 879 i < *wr_alloc ? in dw_edma_irq_request() 909 u32 wr_alloc = 0; in dw_edma_probe() local [all …]
|
/drivers/char/xillybus/ |
D | xillybus_core.c | 448 struct xilly_alloc_state wr_alloc = { in xilly_setupchannels() local 569 rc = xilly_get_dma_buffers(ep, &wr_alloc, buffers, in xilly_setupchannels() 572 rc = xilly_get_dma_buffers(ep, &wr_alloc, NULL, in xilly_setupchannels()
|