Lines Matching defs:hw_ep
307 static inline struct usb_request *next_in_request(struct musb_hw_ep *hw_ep)
310 return next_request(&hw_ep->ep_in);
316 static inline struct usb_request *next_out_request(struct musb_hw_ep *hw_ep)
319 return next_request(&hw_ep->ep_out);
514 struct musb_hw_ep *hw_ep, u8 epnum)
520 hw_ep->max_packet_sz_tx = 128;
521 hw_ep->max_packet_sz_rx = 128;
523 hw_ep->max_packet_sz_tx = 1024;
524 hw_ep->max_packet_sz_rx = 1024;
526 hw_ep->is_shared_fifo = false;
541 struct musb_hw_ep *hw_ep, u8 epnum)
555 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f);
559 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx;
560 hw_ep->is_shared_fifo = true;
563 hw_ep->max_packet_sz_rx = 1 << ((reg & 0xf0) >> 4);
564 hw_ep->is_shared_fifo = false;