Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/musb/
H A Dmusb_host.c2551 void *kmalloc_ptr; member
2579 kfree(temp->kmalloc_ptr); in musb_free_temp_buffer()
2588 void *kmalloc_ptr; in musb_alloc_temp_buffer() local
2602 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in musb_alloc_temp_buffer()
2603 if (!kmalloc_ptr) in musb_alloc_temp_buffer()
2607 temp = PTR_ALIGN(kmalloc_ptr, MUSB_USB_DMA_ALIGN); in musb_alloc_temp_buffer()
2610 temp->kmalloc_ptr = kmalloc_ptr; in musb_alloc_temp_buffer()
/openbmc/linux/drivers/usb/dwc2/
H A 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()