Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/host/
Dehci-tegra.c285 void *kmalloc_ptr; member
310 kfree(temp->kmalloc_ptr); in free_dma_aligned_buffer()
317 struct dma_aligned_buffer *temp, *kmalloc_ptr; in alloc_dma_aligned_buffer() local
329 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in alloc_dma_aligned_buffer()
330 if (!kmalloc_ptr) in alloc_dma_aligned_buffer()
334 temp = PTR_ALIGN(kmalloc_ptr + 1, TEGRA_USB_DMA_ALIGN) - 1; in alloc_dma_aligned_buffer()
335 temp->kmalloc_ptr = kmalloc_ptr; in alloc_dma_aligned_buffer()
/Linux-v5.4/drivers/usb/musb/
Dmusb_host.c2577 void *kmalloc_ptr; member
2605 kfree(temp->kmalloc_ptr); in musb_free_temp_buffer()
2614 void *kmalloc_ptr; in musb_alloc_temp_buffer() local
2628 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in musb_alloc_temp_buffer()
2629 if (!kmalloc_ptr) in musb_alloc_temp_buffer()
2633 temp = PTR_ALIGN(kmalloc_ptr, MUSB_USB_DMA_ALIGN); in musb_alloc_temp_buffer()
2636 temp->kmalloc_ptr = kmalloc_ptr; in musb_alloc_temp_buffer()
/Linux-v5.4/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()