Lines Matching refs:retval
178 void *retval; in ncmem_alloc_page() local
200 retval = 0; in ncmem_alloc_page()
204 retval = (void*) (offset + (size_t) (ncmem_pool.base_addr)); in ncmem_alloc_page()
205 *dma_addr = (dma_addr_t)USB_VA2PA((U32)retval); // Convert to physical address for DMA in ncmem_alloc_page()
208 …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()
209 return retval; in ncmem_alloc_page()
256 void *retval; in ncmem_alloc() local
281 retval = 0; in ncmem_alloc()
295 retval = (void*) (offset + (size_t) (ncmem_pool.base_addr)); in ncmem_alloc()
296 *dma_addr = (dma_addr_t)USB_VA2PA((U32)retval); in ncmem_alloc()
299 …NCM_Dbg("The allocated addr = %p, size = %ld pages = %ld, end of bitmap[%ld]=0x%08lX\n",retval ,si… in ncmem_alloc()
300 return retval; in ncmem_alloc()