Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/gadget/
Ds3c-hsotg.c405 static inline int is_ep_periodic(struct s3c_hsotg_ep *hs_ep) in is_ep_periodic() argument
407 return hs_ep->periodic; in is_ep_periodic()
420 struct s3c_hsotg_ep *hs_ep, in s3c_hsotg_unmap_dma() argument
426 dir = hs_ep->dir_in ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in s3c_hsotg_unmap_dma()
461 struct s3c_hsotg_ep *hs_ep, in s3c_hsotg_write_fifo() argument
464 bool periodic = is_ep_periodic(hs_ep); in s3c_hsotg_write_fifo()
467 int to_write = hs_ep->size_loaded; in s3c_hsotg_write_fifo()
472 to_write -= (buf_pos - hs_ep->last_load); in s3c_hsotg_write_fifo()
479 u32 epsize = readl(hsotg->regs + S3C_DIEPTSIZ(hs_ep->index)); in s3c_hsotg_write_fifo()
491 if (hs_ep->fifo_load != 0) { in s3c_hsotg_write_fifo()
[all …]