Lines Matching refs:desc_base
393 u32 desc_base, srcid, destid; in au1xxx_dbdma_ring_alloc() local
414 desc_base = (u32)kmalloc_array(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()
436 dp = (au1x_ddma_desc_t *)desc_base; in au1xxx_dbdma_ring_alloc()