Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/host/
Dehci-tegra.c283 void *kmalloc_ptr; member
308 kfree(temp->kmalloc_ptr); in free_dma_aligned_buffer()
315 struct dma_aligned_buffer *temp, *kmalloc_ptr; in alloc_dma_aligned_buffer() local
327 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in alloc_dma_aligned_buffer()
328 if (!kmalloc_ptr) in alloc_dma_aligned_buffer()
332 temp = PTR_ALIGN(kmalloc_ptr + 1, TEGRA_USB_DMA_ALIGN) - 1; in alloc_dma_aligned_buffer()
333 temp->kmalloc_ptr = kmalloc_ptr; in alloc_dma_aligned_buffer()
/Linux-v5.10/drivers/usb/musb/
Dmusb_host.c2550 void *kmalloc_ptr; member
2578 kfree(temp->kmalloc_ptr); in musb_free_temp_buffer()
2587 void *kmalloc_ptr; in musb_alloc_temp_buffer() local
2601 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in musb_alloc_temp_buffer()
2602 if (!kmalloc_ptr) in musb_alloc_temp_buffer()
2606 temp = PTR_ALIGN(kmalloc_ptr, MUSB_USB_DMA_ALIGN); in musb_alloc_temp_buffer()
2609 temp->kmalloc_ptr = kmalloc_ptr; in musb_alloc_temp_buffer()
/Linux-v5.10/drivers/usb/dwc2/
Dhcd.c2504 void *kmalloc_ptr; in dwc2_alloc_dma_aligned_buffer() local
2521 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in dwc2_alloc_dma_aligned_buffer()
2522 if (!kmalloc_ptr) in dwc2_alloc_dma_aligned_buffer()
2529 memcpy(PTR_ALIGN(kmalloc_ptr + urb->transfer_buffer_length, in dwc2_alloc_dma_aligned_buffer()
2534 memcpy(kmalloc_ptr, urb->transfer_buffer, in dwc2_alloc_dma_aligned_buffer()
2536 urb->transfer_buffer = kmalloc_ptr; in dwc2_alloc_dma_aligned_buffer()