RE: using cacheable buffer for descriptor

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Stern <stern@...>
Cc: <linux-usb@...>, Xiao Richard-a2590c <a2590c@...>, Luan James-WLJL13 <James.Luan@...>
Date: Friday, July 3, 2009 - 11:43 pm

>> This is called when we submit urb, for OUT data, I think it's 


unmap_urb_for_dma?

unmap_urb_for_dma -> dma_unmap_single

dma_unmap_single is defined in arch/arm/include/asm/dma-mapping.h as
following

------ snip ------
#ifndef CONFIG_DMABOUNCE
static inline void
dma_unmap_single(struct device *dev, dma_addr_t handle, size_t size,
		 enum dma_data_direction dir)
{
	/* nothing to do */
}
#else
extern void dma_unmap_single(struct device *, dma_addr_t, size_t, enum
dma_data_direction);
#endif
------ snip ------

And CONFIG_DMABOUNCE is not defined in the defconfig.

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
using cacheable buffer for descriptor, Yang Fei-AFY095, (Fri Jul 3, 12:43 am)
Re: using cacheable buffer for descriptor, Alan Stern, (Fri Jul 3, 5:16 pm)
RE: using cacheable buffer for descriptor, Yang Fei-AFY095, (Fri Jul 3, 6:06 pm)
RE: using cacheable buffer for descriptor, Alan Stern, (Fri Jul 3, 7:19 pm)
RE: using cacheable buffer for descriptor, Yang Fei-AFY095, (Fri Jul 3, 11:43 pm)
Re: using cacheable buffer for descriptor, Ming Lei, (Sat Jul 4, 5:11 am)
Re: using cacheable buffer for descriptor, Ming Lei, (Sat Jul 4, 11:41 am)
Re: using cacheable buffer for descriptor, Russell King - ARM Linux, (Sat Jul 4, 2:07 pm)
Re: using cacheable buffer for descriptor, Ming Lei, (Sat Jul 4, 10:38 pm)
Re: using cacheable buffer for descriptor, Russell King - ARM Linux, (Sun Jul 5, 2:46 am)
RE: using cacheable buffer for descriptor, Yang Fei-AFY095, (Sat Jul 4, 5:01 pm)
Re: using cacheable buffer for descriptor, Alan Stern, (Sat Jul 4, 11:51 am)