Searched refs:vaddr_handle (Results 1 – 1 of 1) sorted by relevance
/drivers/usb/core/ |
D | hcd.c | 1369 void **vaddr_handle, size_t size, in hcd_alloc_coherent() argument 1374 if (*vaddr_handle == NULL) { in hcd_alloc_coherent() 1392 put_unaligned((unsigned long)*vaddr_handle, in hcd_alloc_coherent() 1396 memcpy(vaddr, *vaddr_handle, size); in hcd_alloc_coherent() 1398 *vaddr_handle = vaddr; in hcd_alloc_coherent() 1403 void **vaddr_handle, size_t size, in hcd_free_coherent() argument 1406 unsigned char *vaddr = *vaddr_handle; in hcd_free_coherent() 1411 memcpy(vaddr, *vaddr_handle, size); in hcd_free_coherent() 1413 hcd_buffer_free(bus, size + sizeof(vaddr), *vaddr_handle, *dma_handle); in hcd_free_coherent() 1415 *vaddr_handle = vaddr; in hcd_free_coherent()
|