/openbmc/linux/drivers/usb/musb/ |
H A D | musb_core.h | 28 struct musb_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); 200 struct musb_hw_ep { struct 241 static inline struct musb_request *next_in_request(struct musb_hw_ep *hw_ep) in next_in_request() argument 246 static inline struct musb_request *next_out_request(struct musb_hw_ep *hw_ep) in next_out_request() 310 struct musb_hw_ep *bulk_ep; 347 struct musb_hw_ep endpoints[MUSB_C_NUM_EPS]; 453 struct musb_hw_ep *hw_ep, u8 epnum) in musb_read_fifosize() 496 extern void musb_write_fifo(struct musb_hw_ep *ep, u16 len, const u8 *src); [all …]
|
H A D | musb_host.c | 86 static void musb_h_tx_flush_fifo(struct musb_hw_ep *ep) in musb_h_tx_flush_fifo() 121 static void musb_h_ep0_flush_fifo(struct musb_hw_ep *ep) in musb_h_ep0_flush_fifo() 148 static inline void musb_h_tx_start(struct musb_hw_ep *ep) in musb_h_tx_start() 164 static inline void musb_h_tx_dma_start(struct musb_hw_ep *ep) in musb_h_tx_dma_start() 176 static void musb_ep_set_qh(struct musb_hw_ep *ep, int is_in, struct musb_qh *qh) in musb_ep_set_qh() 184 static struct musb_qh *musb_ep_get_qh(struct musb_hw_ep *ep, int is_in) in musb_ep_get_qh() 203 struct musb_hw_ep *hw_ep = qh->hw_ep; in musb_start_urb() 297 struct musb_hw_ep *hw_ep, int is_in) in musb_advance_schedule() 300 struct musb_hw_ep *ep = qh->hw_ep; in musb_advance_schedule() 390 static u16 musb_h_flush_rxfifo(struct musb_hw_ep *hw_ep, u16 csr) in musb_h_flush_rxfifo() [all …]
|
H A D | musb_io.h | 32 void (*read_fifo)(struct musb_hw_ep *hw_ep, u16 len, u8 *buf); 33 void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf);
|
H A D | cppi_dma.h | 80 struct musb_hw_ep *hw_ep; 127 struct musb_hw_ep *hw_ep;
|
H A D | musb_dma.h | 13 struct musb_hw_ep; 156 struct musb_hw_ep *, u8 is_tx);
|
H A D | ux500_dma.c | 33 struct musb_hw_ep *hw_ep; 55 struct musb_hw_ep *hw_ep = ux500_channel->hw_ep; in ux500_dma_callback() 75 struct musb_hw_ep *hw_ep = ux500_channel->hw_ep; in ux500_configure_channel() 129 struct musb_hw_ep *hw_ep, u8 is_tx) in ux500_dma_channel_allocate()
|
H A D | musb_cppi41.c | 72 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; in update_rx_toggle() 100 static bool musb_is_tx_fifo_empty(struct musb_hw_ep *hw_ep) in musb_is_tx_fifo_empty() 119 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; in cppi41_trans_done() 201 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; in cppi41_recheck_tx_req() 225 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; in cppi41_dma_callback() 483 struct musb_hw_ep *hw_ep, u8 is_tx) in cppi41_dma_channel_allocate()
|
H A D | tusb6010_omap.c | 35 struct musb_hw_ep *hw_ep; 104 struct musb_hw_ep *hw_ep = chdat->hw_ep; in tusb_omap_dma_cb() 188 struct musb_hw_ep *hw_ep = chdat->hw_ep; in tusb_omap_dma_program() 423 struct musb_hw_ep *hw_ep, in tusb_omap_dma_allocate()
|
H A D | musb_gadget.h | 77 struct musb_hw_ep *hw_ep;
|
H A D | musb_host.h | 19 struct musb_hw_ep *hw_ep; /* current binding */
|
H A D | musb_core.c | 313 static void musb_default_write_fifo(struct musb_hw_ep *hw_ep, u16 len, in musb_default_write_fifo() 358 static void musb_default_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_default_read_fifo() 446 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo() 451 void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) in musb_write_fifo() 1112 struct musb_hw_ep *ep; in musb_stage0_irq() 1379 fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, in fifo_setup() 1458 struct musb_hw_ep *hw_ep = musb->endpoints; in ep_config_from_table() 1546 struct musb_hw_ep *hw_ep; in ep_config_from_hw() 1665 struct musb_hw_ep *hw_ep = musb->endpoints + i; in musb_core_init() 2145 struct musb_hw_ep *ep; in allocate_instance()
|
H A D | musb_gadget.c | 527 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in rxstate() 799 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in musb_g_rx() 913 struct musb_hw_ep *hw_ep; in musb_gadget_enable() 1704 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; in init_peripheral_ep() 1753 struct musb_hw_ep *hw_ep; in musb_g_init_endpoints()
|
H A D | musb_gadget_ep0.c | 239 struct musb_hw_ep *ep; in service_zero_data_request() 400 struct musb_hw_ep *ep; in service_zero_data_request()
|
H A D | musbhsdma.c | 99 struct musb_hw_ep *hw_ep, u8 transmit) in dma_channel_allocate()
|
H A D | tusb6010.c | 225 static void tusb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf) in tusb_write_fifo() 275 static void tusb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf) in tusb_read_fifo()
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_core.h | 30 struct musb_hw_ep; 235 struct musb_hw_ep { struct 280 static inline struct musb_request *next_in_request(struct musb_hw_ep *hw_ep) in next_in_request() argument 285 static inline struct musb_request *next_out_request(struct musb_hw_ep *hw_ep) in next_out_request() 343 struct musb_hw_ep *bulk_ep; 375 struct musb_hw_ep endpoints[MUSB_C_NUM_EPS]; 461 struct musb_hw_ep *hw_ep, u8 epnum) in musb_read_fifosize() 508 extern void musb_write_fifo(struct musb_hw_ep *ep, u16 len, const u8 *src); 509 extern void musb_read_fifo(struct musb_hw_ep *ep, u16 len, u8 *dst);
|
H A D | musb_host.c | 89 static void musb_h_tx_flush_fifo(struct musb_hw_ep *ep) in musb_h_tx_flush_fifo() 113 static void musb_h_ep0_flush_fifo(struct musb_hw_ep *ep) in musb_h_ep0_flush_fifo() 140 static inline void musb_h_tx_start(struct musb_hw_ep *ep) in musb_h_tx_start() 156 static inline void musb_h_tx_dma_start(struct musb_hw_ep *ep) in musb_h_tx_dma_start() 168 static void musb_ep_set_qh(struct musb_hw_ep *ep, int is_in, struct musb_qh *qh) in musb_ep_set_qh() 176 static struct musb_qh *musb_ep_get_qh(struct musb_hw_ep *ep, int is_in) in musb_ep_get_qh() 196 struct musb_hw_ep *hw_ep = qh->hw_ep; in musb_start_urb() 340 struct musb_hw_ep *hw_ep, int is_in) in musb_advance_schedule() 343 struct musb_hw_ep *ep = qh->hw_ep; in musb_advance_schedule() 426 static u16 musb_h_flush_rxfifo(struct musb_hw_ep *hw_ep, u16 csr) in musb_h_flush_rxfifo() [all …]
|
H A D | musb_dma.h | 13 struct musb_hw_ep; 129 struct musb_hw_ep *, u8 is_tx);
|
H A D | musb_host.h | 30 struct musb_hw_ep *hw_ep; /* current binding */
|
H A D | musb_gadget.h | 54 struct musb_hw_ep *hw_ep;
|
H A D | musb_core.c | 216 void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) in musb_write_fifo() 258 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo() 856 struct musb_hw_ep *ep; in musb_stage0_irq() 1183 fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, in fifo_setup() 1262 struct musb_hw_ep *hw_ep = musb->endpoints; in ep_config_from_table() 1348 struct musb_hw_ep *hw_ep; in ep_config_from_hw() 1474 struct musb_hw_ep *hw_ep = musb->endpoints + i; in musb_core_init() 1830 struct musb_hw_ep *ep; in allocate_instance() 2243 struct musb_hw_ep *hw_ep; in musb_save_context() 2319 struct musb_hw_ep *hw_ep; in musb_restore_context()
|
H A D | musb_gadget.c | 643 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in rxstate() 913 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in musb_g_rx() 1031 struct musb_hw_ep *hw_ep; in musb_gadget_enable() 1825 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; in init_peripheral_ep() 1862 struct musb_hw_ep *hw_ep; in musb_g_init_endpoints() 2056 struct musb_hw_ep *hw_ep; in stop_activity()
|
H A D | pic32.c | 158 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo()
|
H A D | musb_gadget_ep0.c | 241 struct musb_hw_ep *ep; in service_zero_data_request() 406 struct musb_hw_ep *ep; in service_zero_data_request()
|
H A D | am35x.c | 452 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo()
|