Home
last modified time | relevance | path

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

/arch/mips/lantiq/xway/
Ddma.c132 ch->desc_base = dma_alloc_coherent(NULL, in ltq_dma_alloc()
135 memset(ch->desc_base, 0, LTQ_DESC_NUM * LTQ_DESC_SIZE); in ltq_dma_alloc()
182 if (!ch->desc_base) in ltq_dma_free()
186 ch->desc_base, ch->phys); in ltq_dma_free()
/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 …]
/arch/mips/include/asm/mach-lantiq/xway/
Dxway_dma.h41 struct ltq_dma_desc *desc_base; /* the descriptor base */ member