Lines Matching refs:retval
172 void *retval; in ncmem_alloc_page() local
193 retval = 0; in ncmem_alloc_page()
197 retval = (void*) (offset + (size_t) (ncmem_pool.base_addr)); in ncmem_alloc_page()
198 *dma_addr = (dma_addr_t)USB_VA2PA((U32)retval); // Convert to physical address for DMA in ncmem_alloc_page()
201 …NCM_Dbg("The allocated addr is %p, bit_map[%d] is 0x%08lX\n",retval,map,(U32)(ncmem_pool.bitmap[ma… in ncmem_alloc_page()
202 return retval; in ncmem_alloc_page()
249 void *retval; in ncmem_alloc() local
273 retval = 0; in ncmem_alloc()
287 retval = (void*) (offset + (size_t) (ncmem_pool.base_addr)); in ncmem_alloc()
288 *dma_addr = (dma_addr_t)USB_VA2PA((U32)retval); in ncmem_alloc()
291 …NCM_Dbg("The allocated addr = %p, size = %ld pages = %ld, end of bitmap[%ld]=0x%08lX",retval ,size… in ncmem_alloc()
292 return retval; in ncmem_alloc()