Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/gadget/
Ds3c-hsotg.c402 static inline int is_ep_periodic(struct s3c_hsotg_ep *hs_ep) in is_ep_periodic() argument
404 return hs_ep->periodic; in is_ep_periodic()
417 struct s3c_hsotg_ep *hs_ep, in s3c_hsotg_unmap_dma() argument
423 dir = hs_ep->dir_in ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in s3c_hsotg_unmap_dma()
458 struct s3c_hsotg_ep *hs_ep, in s3c_hsotg_write_fifo() argument
461 bool periodic = is_ep_periodic(hs_ep); in s3c_hsotg_write_fifo()
464 int to_write = hs_ep->size_loaded; in s3c_hsotg_write_fifo()
469 to_write -= (buf_pos - hs_ep->last_load); in s3c_hsotg_write_fifo()
476 u32 epsize = readl(hsotg->regs + S3C_DIEPTSIZ(hs_ep->index)); in s3c_hsotg_write_fifo()
488 if (hs_ep->fifo_load != 0) { in s3c_hsotg_write_fifo()
[all …]