On Wed, Feb 03, 2010 at 07:30:39PM +0100, Albert Herranz wrote: > +/** > + * hcd_memcpy32_to_coherent - copy data to a bounce buffer > + * @dst: destination dma bounce buffer > + * @src: source buffer > + * @len: number of bytes to copy > + * > + * This function copies @len bytes from @src to @dst in 32 bit chunks. > + * The caller must guarantee that @dst length is 4 byte aligned and > + * that @dst length is greater than or equal to @src length. > + */ > +static void *hcd_memcpy32_to_coherent(void *dst, const void *src, size_t len)
Why isn't there platform-specific functions for this already? It seems a bit odd to bury them in the USB hcd core, when I'm sure that other people need these, if they haven't already created them. thanks, greg k-h _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev