Searched refs:vaddr_handle (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/usb/core/ |
D | hcd.c | 1282 void **vaddr_handle, size_t size, in hcd_alloc_coherent() argument 1287 if (*vaddr_handle == NULL) { in hcd_alloc_coherent() 1305 put_unaligned((unsigned long)*vaddr_handle, in hcd_alloc_coherent() 1309 memcpy(vaddr, *vaddr_handle, size); in hcd_alloc_coherent() 1311 *vaddr_handle = vaddr; in hcd_alloc_coherent() 1316 void **vaddr_handle, size_t size, in hcd_free_coherent() argument 1319 unsigned char *vaddr = *vaddr_handle; in hcd_free_coherent() 1324 memcpy(vaddr, *vaddr_handle, size); in hcd_free_coherent() 1326 hcd_buffer_free(bus, size + sizeof(vaddr), *vaddr_handle, *dma_handle); in hcd_free_coherent() 1328 *vaddr_handle = vaddr; in hcd_free_coherent()
|