Home
last modified time | relevance | path

Searched refs:dmacount (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/usb/gadget/
Dnet2280.c398 td->dmacount = 0; /* not VALID */ in net2280_alloc_request()
706 u32 dmacount = req->req.length; in fill_dma_desc() local
714 dmacount |= (1 << DMA_DIRECTION); in fill_dma_desc()
715 else if ((dmacount % ep->ep.maxpacket) != 0) in fill_dma_desc()
716 dmacount |= (1 << END_OF_CHAIN); in fill_dma_desc()
720 dmacount |= (1 << VALID_BIT); in fill_dma_desc()
722 dmacount |= (1 << DMA_DONE_INTERRUPT_ENABLE); in fill_dma_desc()
729 td->dmacount = cpu_to_le32p (&dmacount); in fill_dma_desc()
759 &dma->dmacount); in start_queue()
800 req->td->dmacount = cpu_to_le32 (req->req.length - tmp); in start_dma()
[all …]
Dnet2280.h355 u32 dmacount; member
498 u32 dmacount; member
/linux-2.4.37.9/drivers/sound/
Dau1550_i2s.c702 int dmacount) in translate_from_user() argument
714 if (copy_from_user(dmabuf, userbuf, dmacount)) in translate_from_user()
716 return dmacount; in translate_from_user()
720 num_samples = dmacount / interp_bytes_per_sample; in translate_from_user()
758 int dmacount) in translate_to_user() argument
769 if (copy_to_user(userbuf, dmabuf, dmacount)) in translate_to_user()
771 return dmacount; in translate_to_user()
775 num_samples = dmacount / interp_bytes_per_sample; in translate_to_user()
Dau1550_psc.c906 int dmacount) in translate_from_user() argument
918 if (copy_from_user(dmabuf, userbuf, dmacount)) in translate_from_user()
920 return dmacount; in translate_from_user()
924 num_samples = dmacount / interp_bytes_per_sample; in translate_from_user()
962 int dmacount) in translate_to_user() argument
973 if (copy_to_user(userbuf, dmabuf, dmacount)) in translate_to_user()
975 return dmacount; in translate_to_user()
979 num_samples = dmacount / interp_bytes_per_sample; in translate_to_user()
Dau1000.c971 int dmacount) in translate_from_user() argument
982 if (copy_from_user(dmabuf, userbuf, dmacount)) in translate_from_user()
984 return dmacount; in translate_from_user()
988 num_samples = dmacount / interp_bytes_per_sample; in translate_from_user()
1027 int dmacount) in translate_to_user() argument
1037 if (copy_to_user(userbuf, dmabuf, dmacount)) in translate_to_user()
1039 return dmacount; in translate_to_user()
1043 num_samples = dmacount / interp_bytes_per_sample; in translate_to_user()