Home
last modified time | relevance | path

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

/arch/mips/alchemy/common/
A Ddbdma.c394 u32 desc_base, srcid, destid; in au1xxx_dbdma_ring_alloc() local
415 desc_base = (u32)kmalloc_array(entries, sizeof(au1x_ddma_desc_t), in au1xxx_dbdma_ring_alloc()
417 if (desc_base == 0) in au1xxx_dbdma_ring_alloc()
420 if (desc_base & 0x1f) { in au1xxx_dbdma_ring_alloc()
425 kfree((const void *)desc_base); in au1xxx_dbdma_ring_alloc()
428 desc_base = (u32)kmalloc(i, GFP_KERNEL|GFP_DMA); in au1xxx_dbdma_ring_alloc()
429 if (desc_base == 0) in au1xxx_dbdma_ring_alloc()
432 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc()
433 desc_base = ALIGN_ADDR(desc_base, sizeof(au1x_ddma_desc_t)); in au1xxx_dbdma_ring_alloc()
435 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc()
[all …]
/arch/mips/lantiq/xway/
A Ddma.c127 ch->desc_base = dma_alloc_coherent(ch->dev, in ltq_dma_alloc()
176 if (!ch->desc_base) in ltq_dma_free()
180 ch->desc_base, ch->phys); in ltq_dma_free()
/arch/mips/include/asm/mach-lantiq/xway/
A Dxway_dma.h30 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
/arch/x86/lib/
A Dinsn-eval.c625 unsigned long desc_base; in get_desc() local
663 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
665 if (desc_base > gdt_desc.size) in get_desc()
668 *out = *(struct desc_struct *)(gdt_desc.address + desc_base); in get_desc()

Completed in 15 milliseconds