Lines Matching refs:hw_ep

28 	struct musb_hw_ep *hw_ep;
69 csr = musb_readw(cppi41_channel->hw_ep->regs, MUSB_RXCSR);
77 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep;
78 struct musb *musb = hw_ep->musb;
87 musb_ep_select(musb->mregs, hw_ep->epnum);
88 csr = musb_readw(hw_ep->regs, MUSB_RXCSR);
98 musb_writew(cppi41_channel->hw_ep->regs, MUSB_RXCSR, csr);
106 static bool musb_is_tx_fifo_empty(struct musb_hw_ep *hw_ep)
108 u8 epnum = hw_ep->epnum;
109 struct musb *musb = hw_ep->musb;
113 musb_ep_select(musb->mregs, hw_ep->epnum);
124 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep;
125 struct musb *musb = hw_ep->musb;
126 void __iomem *epio = hw_ep->regs;
144 musb_ep_select(musb->mregs, hw_ep->epnum);
148 musb_dma_completion(musb, hw_ep->epnum, cppi41_channel->is_tx);
179 musb_ep_select(musb->mregs, hw_ep->epnum);
203 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep;
205 empty = musb_is_tx_fifo_empty(hw_ep);
227 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep;
228 struct musb *musb = hw_ep->musb;
241 dev_dbg(musb->controller, "DMA transfer done on hw_ep=%d bytes=%d/%d\n",
242 hw_ep->epnum, cppi41_channel->transferred,
251 empty = musb_is_tx_fifo_empty(hw_ep);
272 empty = musb_is_tx_fifo_empty(hw_ep);
281 empty = musb_is_tx_fifo_empty(hw_ep);
432 struct musb_hw_ep *hw_ep, u8 is_tx)
437 u8 ch_num = hw_ep->epnum - 1;
453 cppi41_channel->hw_ep = hw_ep;
483 hb_mult = cppi41_channel->hw_ep->out_qh->hb_mult;
485 hb_mult = cppi41_channel->hw_ep->in_qh->hb_mult;
512 if (cppi41_channel->hw_ep->ep_in.type != USB_ENDPOINT_XFER_BULK)
525 void __iomem *epio = cppi41_channel->hw_ep->regs;