Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/lantiq/xway/
Ddma.c131 ch->desc_base = dma_alloc_coherent(NULL, in ltq_dma_alloc()
134 memset(ch->desc_base, 0, LTQ_DESC_NUM * LTQ_DESC_SIZE); in ltq_dma_alloc()
181 if (!ch->desc_base) in ltq_dma_free()
185 ch->desc_base, ch->phys); in ltq_dma_free()
/linux-4.1.27/arch/mips/alchemy/common/
Ddbdma.c393 u32 desc_base, srcid, destid; in au1xxx_dbdma_ring_alloc() local
414 desc_base = (u32)kmalloc(entries * sizeof(au1x_ddma_desc_t), in au1xxx_dbdma_ring_alloc()
416 if (desc_base == 0) in au1xxx_dbdma_ring_alloc()
419 if (desc_base & 0x1f) { in au1xxx_dbdma_ring_alloc()
424 kfree((const void *)desc_base); in au1xxx_dbdma_ring_alloc()
427 desc_base = (u32)kmalloc(i, GFP_KERNEL|GFP_DMA); in au1xxx_dbdma_ring_alloc()
428 if (desc_base == 0) in au1xxx_dbdma_ring_alloc()
431 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc()
432 desc_base = ALIGN_ADDR(desc_base, sizeof(au1x_ddma_desc_t)); in au1xxx_dbdma_ring_alloc()
434 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc()
[all …]
/linux-4.1.27/drivers/net/ethernet/
Dlantiq_etop.c119 ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(NULL, in ltq_etop_alloc_skb()
122 ch->dma.desc_base[ch->dma.desc].addr = in ltq_etop_alloc_skb()
124 ch->dma.desc_base[ch->dma.desc].ctl = in ltq_etop_alloc_skb()
135 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_hw_receive()
164 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_poll_rx()
191 while ((ch->dma.desc_base[ch->tx_free].ctl & in ltq_etop_poll_tx()
195 memset(&ch->dma.desc_base[ch->tx_free], 0, in ltq_etop_poll_tx()
524 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_tx()
554 if (ch->dma.desc_base[ch->dma.desc].ctl & LTQ_DMA_OWN) in ltq_etop_tx()
/linux-4.1.27/arch/mips/include/asm/mach-lantiq/xway/
Dxway_dma.h41 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
/linux-4.1.27/drivers/atm/
Diphase.h677 ffreg_t desc_base; /* Base address of descriptor table */ member
731 rreg_t desc_base; /* Base address for description table */ member