Home
last modified time | relevance | path

Searched refs:hw_ep (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/drivers/usb/musb-new/
Dmusb_host.c196 struct musb_hw_ep *hw_ep = qh->hw_ep; in musb_start_urb() local
199 int epnum = hw_ep->epnum; in musb_start_urb()
242 musb_ep_set_qh(hw_ep, is_in, qh); in musb_start_urb()
283 hw_ep->tx_channel ? "dma" : "pio"); in musb_start_urb()
285 if (!hw_ep->tx_channel) in musb_start_urb()
286 musb_h_tx_start(hw_ep); in musb_start_urb()
288 musb_h_tx_dma_start(hw_ep); in musb_start_urb()
316 void __iomem *epio = qh->hw_ep->regs; in musb_save_toggle()
340 struct musb_hw_ep *hw_ep, int is_in) in musb_advance_schedule() argument
342 struct musb_qh *qh = musb_ep_get_qh(hw_ep, is_in); in musb_advance_schedule()
[all …]
Dmusb_core.c216 void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) in musb_write_fifo() argument
218 struct musb *musb = hw_ep->musb; in musb_write_fifo()
219 void __iomem *fifo = hw_ep->fifo; in musb_write_fifo()
224 'T', hw_ep->epnum, fifo, len, src); in musb_write_fifo()
258 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo() argument
260 struct musb *musb = hw_ep->musb; in musb_read_fifo()
261 void __iomem *fifo = hw_ep->fifo; in musb_read_fifo()
264 'R', hw_ep->epnum, fifo, len, dst); in musb_read_fifo()
1182 fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, in fifo_setup() argument
1208 musb_writeb(mbase, MUSB_INDEX, hw_ep->epnum); in fifo_setup()
[all …]
Dmusb_gadget.c266 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize()
464 musb_write_fifo(musb_ep->hw_ep, fifo_count, in txstate()
643 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in rxstate() local
646 if (hw_ep->is_shared_fifo) in rxstate()
647 musb_ep = &hw_ep->ep_in; in rxstate()
649 musb_ep = &hw_ep->ep_out; in rxstate()
762 musb_ep->hw_ep->rx_double_buffered) in rxstate()
881 musb_read_fifo(musb_ep->hw_ep, fifo_count, (u8 *) in rxstate()
913 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in musb_g_rx() local
915 if (hw_ep->is_shared_fifo) in musb_g_rx()
[all …]
Dmusb_core.h280 static inline struct musb_request *next_in_request(struct musb_hw_ep *hw_ep) in next_in_request() argument
282 return next_request(&hw_ep->ep_in); in next_in_request()
285 static inline struct musb_request *next_out_request(struct musb_hw_ep *hw_ep) in next_out_request() argument
287 return next_request(&hw_ep->ep_out); in next_out_request()
461 struct musb_hw_ep *hw_ep, u8 epnum) in musb_read_fifosize() argument
475 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize()
479 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize()
480 hw_ep->is_shared_fifo = true; in musb_read_fifosize()
483 hw_ep->max_packet_sz_rx = 1 << ((reg & 0xf0) >> 4); in musb_read_fifosize()
484 hw_ep->is_shared_fifo = false; in musb_read_fifosize()
Dpic32.c158 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo() argument
160 void __iomem *fifo = hw_ep->fifo; in musb_read_fifo()
Dmusb_gadget.h54 struct musb_hw_ep *hw_ep; member
Dmusb_host.h30 struct musb_hw_ep *hw_ep; /* current binding */ member
Dam35x.c452 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo() argument
454 void __iomem *fifo = hw_ep->fifo; in musb_read_fifo()