Lines Matching refs:hw_ep
64 csr = musb_readw(cppi41_channel->hw_ep->regs, MUSB_RXCSR);
72 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep;
73 struct musb *musb = hw_ep->musb;
82 musb_ep_select(musb->mregs, hw_ep->epnum);
83 csr = musb_readw(hw_ep->regs, MUSB_RXCSR);
93 musb_writew(cppi41_channel->hw_ep->regs, MUSB_RXCSR, csr);
100 static bool musb_is_tx_fifo_empty(struct musb_hw_ep *hw_ep)
102 u8 epnum = hw_ep->epnum;
103 struct musb *musb = hw_ep->musb;
107 musb_ep_select(musb->mregs, hw_ep->epnum);
119 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep;
120 struct musb *musb = hw_ep->musb;
121 void __iomem *epio = hw_ep->regs;
139 musb_ep_select(musb->mregs, hw_ep->epnum);
145 musb_dma_completion(musb, hw_ep->epnum, cppi41_channel->is_tx);
177 musb_ep_select(musb->mregs, hw_ep->epnum);
201 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep;
203 empty = musb_is_tx_fifo_empty(hw_ep);
225 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep;
227 struct musb *musb = hw_ep->musb;
259 type = hw_ep->out_qh->type;
261 type = hw_ep->ep_in.type;
274 empty = musb_is_tx_fifo_empty(hw_ep);
303 empty = musb_is_tx_fifo_empty(hw_ep);
483 struct musb_hw_ep *hw_ep, u8 is_tx)
488 u8 ch_num = hw_ep->epnum - 1;
504 cppi41_channel->hw_ep = hw_ep;
536 hb_mult = cppi41_channel->hw_ep->out_qh->hb_mult;
538 hb_mult = cppi41_channel->hw_ep->in_qh->hb_mult;
565 if (cppi41_channel->hw_ep->ep_in.type != USB_ENDPOINT_XFER_BULK)
578 void __iomem *epio = cppi41_channel->hw_ep->regs;