Searched refs:kmalloc_ptr (Results 1 – 3 of 3) sorted by relevance
33 void *kmalloc_ptr; member402 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() local422 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()
2544 void *kmalloc_ptr; member2572 kfree(temp->kmalloc_ptr); in musb_free_temp_buffer()2581 void *kmalloc_ptr; in musb_alloc_temp_buffer() local2595 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()
2470 void *kmalloc_ptr; in dwc2_alloc_dma_aligned_buffer() local2487 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()