Lines Matching refs:hw_ep
175 void (*read_fifo)(struct musb_hw_ep *hw_ep, u16 len, u8 *buf);
176 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf);
241 static inline struct musb_request *next_in_request(struct musb_hw_ep *hw_ep)
243 return next_request(&hw_ep->ep_in);
246 static inline struct musb_request *next_out_request(struct musb_hw_ep *hw_ep)
248 return next_request(&hw_ep->ep_out);
453 struct musb_hw_ep *hw_ep, u8 epnum)
467 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f);
471 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx;
472 hw_ep->is_shared_fifo = true;
475 hw_ep->max_packet_sz_rx = 1 << ((reg & 0xf0) >> 4);
476 hw_ep->is_shared_fifo = false;