Searched refs:hw_ep (Results 1 – 8 of 8) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_host.c | 197 struct musb_hw_ep *hw_ep = qh->hw_ep; in musb_start_urb() local 200 int epnum = hw_ep->epnum; in musb_start_urb() 243 musb_ep_set_qh(hw_ep, is_in, qh); in musb_start_urb() 284 hw_ep->tx_channel ? "dma" : "pio"); in musb_start_urb() 286 if (!hw_ep->tx_channel) in musb_start_urb() 287 musb_h_tx_start(hw_ep); in musb_start_urb() 289 musb_h_tx_dma_start(hw_ep); in musb_start_urb() 317 void __iomem *epio = qh->hw_ep->regs; in musb_save_toggle() 341 struct musb_hw_ep *hw_ep, int is_in) in musb_advance_schedule() argument 343 struct musb_qh *qh = musb_ep_get_qh(hw_ep, is_in); in musb_advance_schedule() [all …]
|
| H A D | musb_core.c | 217 void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) in musb_write_fifo() argument 219 struct musb *musb = hw_ep->musb; in musb_write_fifo() 220 void __iomem *fifo = hw_ep->fifo; in musb_write_fifo() 225 'T', hw_ep->epnum, fifo, len, src); in musb_write_fifo() 259 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo() argument 261 struct musb *musb = hw_ep->musb; in musb_read_fifo() 262 void __iomem *fifo = hw_ep->fifo; in musb_read_fifo() 265 'R', hw_ep->epnum, fifo, len, dst); in musb_read_fifo() 1183 fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, in fifo_setup() argument 1209 musb_writeb(mbase, MUSB_INDEX, hw_ep->epnum); in fifo_setup() [all …]
|
| H A D | musb_gadget.c | 267 return ep->hw_ep->max_packet_sz_tx; in max_ep_writesize() 465 musb_write_fifo(musb_ep->hw_ep, fifo_count, in txstate() 644 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in rxstate() local 647 if (hw_ep->is_shared_fifo) in rxstate() 648 musb_ep = &hw_ep->ep_in; in rxstate() 650 musb_ep = &hw_ep->ep_out; in rxstate() 763 musb_ep->hw_ep->rx_double_buffered) in rxstate() 882 musb_read_fifo(musb_ep->hw_ep, fifo_count, (u8 *) in rxstate() 914 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in musb_g_rx() local 916 if (hw_ep->is_shared_fifo) in musb_g_rx() [all …]
|
| H A D | musb_core.h | 277 static inline struct musb_request *next_in_request(struct musb_hw_ep *hw_ep) in next_in_request() argument 279 return next_request(&hw_ep->ep_in); in next_in_request() 282 static inline struct musb_request *next_out_request(struct musb_hw_ep *hw_ep) in next_out_request() argument 284 return next_request(&hw_ep->ep_out); in next_out_request() 458 struct musb_hw_ep *hw_ep, u8 epnum) in musb_read_fifosize() argument 472 hw_ep->max_packet_sz_tx = 1 << (reg & 0x0f); in musb_read_fifosize() 476 hw_ep->max_packet_sz_rx = hw_ep->max_packet_sz_tx; in musb_read_fifosize() 477 hw_ep->is_shared_fifo = true; in musb_read_fifosize() 480 hw_ep->max_packet_sz_rx = 1 << ((reg & 0xf0) >> 4); in musb_read_fifosize() 481 hw_ep->is_shared_fifo = false; in musb_read_fifosize()
|
| H A D | musb_host.h | 31 struct musb_hw_ep *hw_ep; /* current binding */ member
|
| H A D | musb_gadget.h | 55 struct musb_hw_ep *hw_ep; member
|
| H A D | pic32.c | 159 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo() argument 161 void __iomem *fifo = hw_ep->fifo; in musb_read_fifo()
|
| H A D | am35x.c | 453 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo() argument 455 void __iomem *fifo = hw_ep->fifo; in musb_read_fifo()
|