Lines Matching refs:hw_ep
34 struct musb_hw_ep *hw_ep; member
130 struct musb_hw_ep *hw_ep = chdat->hw_ep; in tusb_omap_dma_cb() local
131 void __iomem *ep_conf = hw_ep->conf; in tusb_omap_dma_cb()
180 musb_write_fifo(hw_ep, pio, buf); in tusb_omap_dma_cb()
185 musb_read_fifo(hw_ep, pio, buf); in tusb_omap_dma_cb()
214 csr = musb_readw(hw_ep->regs, MUSB_TXCSR); in tusb_omap_dma_cb()
217 musb_writew(hw_ep->regs, MUSB_TXCSR, csr); in tusb_omap_dma_cb()
231 struct musb_hw_ep *hw_ep = chdat->hw_ep; in tusb_omap_dma_program() local
233 void __iomem *ep_conf = hw_ep->conf; in tusb_omap_dma_program()
234 dma_addr_t fifo = hw_ep->fifo_sync; in tusb_omap_dma_program()
324 fifo = hw_ep->fifo_async; in tusb_omap_dma_program()
389 csr = musb_readw(hw_ep->regs, MUSB_TXCSR); in tusb_omap_dma_program()
393 musb_writew(hw_ep->regs, MUSB_TXCSR, csr); in tusb_omap_dma_program()
396 csr = musb_readw(hw_ep->regs, MUSB_RXCSR); in tusb_omap_dma_program()
399 musb_writew(hw_ep->regs, MUSB_RXCSR, in tusb_omap_dma_program()
503 struct musb_hw_ep *hw_ep, in tusb_omap_dma_allocate() argument
521 reg &= ~(1 << hw_ep->epnum); in tusb_omap_dma_allocate()
523 reg &= ~(1 << (hw_ep->epnum + 15)); in tusb_omap_dma_allocate()
527 if (hw_ep->epnum == 0) { in tusb_omap_dma_allocate()
555 chdat->hw_ep = hw_ep; in tusb_omap_dma_allocate()
556 chdat->epnum = hw_ep->epnum; in tusb_omap_dma_allocate()