• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/musb/

Lines Matching defs:hw_ep

172 		return ep->hw_ep->max_packet_sz_tx;
255 DBG(4, "hw_ep%d, maxpacket %d, fifo count %d, txcsr %03x\n",
355 musb_write_fifo(musb_ep->hw_ep, fifo_count,
523 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum];
525 if (hw_ep->is_shared_fifo)
526 musb_ep = &hw_ep->ep_in;
528 musb_ep = &hw_ep->ep_out;
671 musb_read_fifo(musb_ep->hw_ep, fifo_count, (u8 *)
702 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum];
704 if (hw_ep->is_shared_fifo)
705 musb_ep = &hw_ep->ep_in;
707 musb_ep = &hw_ep->ep_out;
804 struct musb_hw_ep *hw_ep;
817 hw_ep = musb_ep->hw_ep;
818 regs = hw_ep->regs;
848 if (hw_ep->is_shared_fifo)
852 if (tmp > hw_ep->max_packet_sz_tx)
866 musb_writew(regs, MUSB_TXMAXP, hw_ep->max_packet_sz_tx);
885 if (hw_ep->is_shared_fifo)
889 if (tmp > hw_ep->max_packet_sz_rx)
902 musb_writew(regs, MUSB_RXMAXP, hw_ep->max_packet_sz_rx);
907 if (hw_ep->is_shared_fifo) {
930 musb_ep->dma = c->channel_alloc(c, hw_ep,
1048 DBG(3, "<== %s request %p len %u on hw_ep%d\n",
1292 void __iomem *epio = musb_ep->hw_ep->regs;
1523 struct musb_hw_ep *hw_ep = musb->endpoints + epnum;
1529 ep->hw_ep = hw_ep;
1535 (!epnum || hw_ep->is_shared_fifo) ? "" : (
1545 ep->end_point.maxpacket = hw_ep->max_packet_sz_tx;
1547 ep->end_point.maxpacket = hw_ep->max_packet_sz_rx;
1560 struct musb_hw_ep *hw_ep;
1566 for (epnum = 0, hw_ep = musb->endpoints;
1568 epnum++, hw_ep++) {
1569 if (hw_ep->is_shared_fifo /* || !epnum */) {
1570 init_peripheral_ep(musb, &hw_ep->ep_in, epnum, 0);
1573 if (hw_ep->max_packet_sz_tx) {
1574 init_peripheral_ep(musb, &hw_ep->ep_in,
1578 if (hw_ep->max_packet_sz_rx) {
1579 init_peripheral_ep(musb, &hw_ep->ep_out,
1732 struct musb_hw_ep *hw_ep;
1751 for (i = 0, hw_ep = musb->endpoints;
1753 i++, hw_ep++) {
1755 if (hw_ep->is_shared_fifo /* || !epnum */) {
1756 nuke(&hw_ep->ep_in, -ESHUTDOWN);
1758 if (hw_ep->max_packet_sz_tx)
1759 nuke(&hw_ep->ep_in, -ESHUTDOWN);
1760 if (hw_ep->max_packet_sz_rx)
1761 nuke(&hw_ep->ep_out, -ESHUTDOWN);