Lines Matching refs:aligned_buffer
32 uint8_t aligned_buffer[DWC2_DATA_BUF_SIZE] __aligned(ARCH_DMA_MINALIGN);
38 uint8_t *aligned_buffer;
841 static int transfer_chunk(struct dwc2_hc_regs *hc_regs, void *aligned_buffer, in transfer_chunk() argument
859 (uintptr_t)aligned_buffer, in transfer_chunk()
860 (uintptr_t)aligned_buffer + in transfer_chunk()
863 memcpy(aligned_buffer, buffer, xfer_len); in transfer_chunk()
865 (uintptr_t)aligned_buffer, in transfer_chunk()
866 (uintptr_t)aligned_buffer + in transfer_chunk()
871 writel(phys_to_bus((unsigned long)aligned_buffer), &hc_regs->hcdma); in transfer_chunk()
891 invalidate_dcache_range((unsigned long)aligned_buffer, in transfer_chunk()
892 (unsigned long)aligned_buffer + in transfer_chunk()
895 memcpy(buffer, aligned_buffer, xfer_len); in transfer_chunk()
980 ret = transfer_chunk(hc_regs, priv->aligned_buffer, pid, in chunk_msg()
1217 priv->aligned_buffer = aligned_buffer_addr; in usb_lowlevel_init()