Home
last modified time | relevance | path

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

/drivers/usb/core/
Dhcd.c1285 void **vaddr_handle, size_t size, in hcd_alloc_coherent() argument
1290 if (*vaddr_handle == NULL) { in hcd_alloc_coherent()
1308 put_unaligned((unsigned long)*vaddr_handle, in hcd_alloc_coherent()
1312 memcpy(vaddr, *vaddr_handle, size); in hcd_alloc_coherent()
1314 *vaddr_handle = vaddr; in hcd_alloc_coherent()
1319 void **vaddr_handle, size_t size, in hcd_free_coherent() argument
1322 unsigned char *vaddr = *vaddr_handle; in hcd_free_coherent()
1327 memcpy(vaddr, *vaddr_handle, size); in hcd_free_coherent()
1329 hcd_buffer_free(bus, size + sizeof(vaddr), *vaddr_handle, *dma_handle); in hcd_free_coherent()
1331 *vaddr_handle = vaddr; in hcd_free_coherent()