Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/chipidea/
Dhost.c33 void *kmalloc_ptr; member
402 kfree(temp->kmalloc_ptr); in ci_hdrc_free_dma_aligned_buffer()
409 struct ci_hdrc_dma_aligned_buffer *temp, *kmalloc_ptr; in ci_hdrc_alloc_dma_aligned_buffer() local
422 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in ci_hdrc_alloc_dma_aligned_buffer()
423 if (!kmalloc_ptr) in ci_hdrc_alloc_dma_aligned_buffer()
427 temp = PTR_ALIGN(kmalloc_ptr + 1, ci_hdrc_usb_dma_align) - 1; in ci_hdrc_alloc_dma_aligned_buffer()
428 temp->kmalloc_ptr = kmalloc_ptr; in ci_hdrc_alloc_dma_aligned_buffer()
/linux-6.1.9/drivers/usb/musb/
Dmusb_host.c2544 void *kmalloc_ptr; member
2572 kfree(temp->kmalloc_ptr); in musb_free_temp_buffer()
2581 void *kmalloc_ptr; in musb_alloc_temp_buffer() local
2595 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in musb_alloc_temp_buffer()
2596 if (!kmalloc_ptr) in musb_alloc_temp_buffer()
2600 temp = PTR_ALIGN(kmalloc_ptr, MUSB_USB_DMA_ALIGN); in musb_alloc_temp_buffer()
2603 temp->kmalloc_ptr = kmalloc_ptr; in musb_alloc_temp_buffer()
/linux-6.1.9/drivers/usb/dwc2/
Dhcd.c2470 void *kmalloc_ptr; in dwc2_alloc_dma_aligned_buffer() local
2487 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in dwc2_alloc_dma_aligned_buffer()
2488 if (!kmalloc_ptr) in dwc2_alloc_dma_aligned_buffer()
2495 memcpy(PTR_ALIGN(kmalloc_ptr + urb->transfer_buffer_length, in dwc2_alloc_dma_aligned_buffer()
2500 memcpy(kmalloc_ptr, urb->transfer_buffer, in dwc2_alloc_dma_aligned_buffer()
2502 urb->transfer_buffer = kmalloc_ptr; in dwc2_alloc_dma_aligned_buffer()