Home
last modified time | relevance | path

Searched refs:musb_hw_ep (Results 1 – 25 of 28) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A Dmusb_core.h28 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;
345 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 Dmusb_host.c86 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()
384 static u16 musb_h_flush_rxfifo(struct musb_hw_ep *hw_ep, u16 csr) in musb_h_flush_rxfifo()
[all …]
H A Dmusb_io.h32 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 Dcppi_dma.h80 struct musb_hw_ep *hw_ep;
130 struct musb_hw_ep *hw_ep;
H A Dux500_dma.c33 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 Dmusb_dma.h13 struct musb_hw_ep;
163 struct musb_hw_ep *, u8 is_tx);
H A Dmusb_cppi41.c72 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 Dtusb6010_omap.c35 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 Dmusb_core.c313 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()
1116 struct musb_hw_ep *ep; in musb_stage0_irq()
1383 fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, in fifo_setup()
1462 struct musb_hw_ep *hw_ep = musb->endpoints; in ep_config_from_table()
1550 struct musb_hw_ep *hw_ep; in ep_config_from_hw()
1669 struct musb_hw_ep *hw_ep = musb->endpoints + i; in musb_core_init()
2139 struct musb_hw_ep *ep; in allocate_instance()
[all …]
H A Dmusb_gadget.h77 struct musb_hw_ep *hw_ep;
H A Dmusb_host.h19 struct musb_hw_ep *hw_ep; /* current binding */
H A Dmusb_gadget.c527 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()
1697 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; in init_peripheral_ep()
1746 struct musb_hw_ep *hw_ep; in musb_g_init_endpoints()
H A Dmusb_gadget_ep0.c239 struct musb_hw_ep *ep; in service_zero_data_request()
400 struct musb_hw_ep *ep; in service_zero_data_request()
H A Dmusbhsdma.c99 struct musb_hw_ep *hw_ep, u8 transmit) in dma_channel_allocate()
H A Dtusb6010.c220 static void tusb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf) in tusb_write_fifo()
270 static void tusb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf) in tusb_read_fifo()
H A Dcppi_dma.c282 struct musb_hw_ep *ep, u8 transmit) in cppi_channel_allocate()
1146 struct musb_hw_ep *hw_ep = NULL; in cppi_interrupt()
/OK3568_Linux_fs/u-boot/drivers/usb/musb-new/
H A Dmusb_core.h31 struct musb_hw_ep;
232 struct musb_hw_ep { struct
277 static inline struct musb_request *next_in_request(struct musb_hw_ep *hw_ep) in next_in_request() argument
282 static inline struct musb_request *next_out_request(struct musb_hw_ep *hw_ep) in next_out_request()
340 struct musb_hw_ep *bulk_ep;
372 struct musb_hw_ep endpoints[MUSB_C_NUM_EPS];
458 struct musb_hw_ep *hw_ep, u8 epnum) in musb_read_fifosize()
505 extern void musb_write_fifo(struct musb_hw_ep *ep, u16 len, const u8 *src);
506 extern void musb_read_fifo(struct musb_hw_ep *ep, u16 len, u8 *dst);
H A Dmusb_host.c90 static void musb_h_tx_flush_fifo(struct musb_hw_ep *ep) in musb_h_tx_flush_fifo()
114 static void musb_h_ep0_flush_fifo(struct musb_hw_ep *ep) in musb_h_ep0_flush_fifo()
141 static inline void musb_h_tx_start(struct musb_hw_ep *ep) in musb_h_tx_start()
157 static inline void musb_h_tx_dma_start(struct musb_hw_ep *ep) in musb_h_tx_dma_start()
169 static void musb_ep_set_qh(struct musb_hw_ep *ep, int is_in, struct musb_qh *qh) in musb_ep_set_qh()
177 static struct musb_qh *musb_ep_get_qh(struct musb_hw_ep *ep, int is_in) in musb_ep_get_qh()
197 struct musb_hw_ep *hw_ep = qh->hw_ep; in musb_start_urb()
341 struct musb_hw_ep *hw_ep, int is_in) in musb_advance_schedule()
344 struct musb_hw_ep *ep = qh->hw_ep; in musb_advance_schedule()
427 static u16 musb_h_flush_rxfifo(struct musb_hw_ep *hw_ep, u16 csr) in musb_h_flush_rxfifo()
[all …]
H A Dmusb_dma.h14 struct musb_hw_ep;
130 struct musb_hw_ep *, u8 is_tx);
H A Dmusb_core.c217 void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) in musb_write_fifo()
259 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo()
857 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 Dmusb_host.h31 struct musb_hw_ep *hw_ep; /* current binding */
H A Dmusb_gadget.h55 struct musb_hw_ep *hw_ep;
H A Dmusb_gadget.c644 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in rxstate()
914 struct musb_hw_ep *hw_ep = &musb->endpoints[epnum]; in musb_g_rx()
1032 struct musb_hw_ep *hw_ep; in musb_gadget_enable()
1815 struct musb_hw_ep *hw_ep = musb->endpoints + epnum; in init_peripheral_ep()
1852 struct musb_hw_ep *hw_ep; in musb_g_init_endpoints()
2046 struct musb_hw_ep *hw_ep; in stop_activity()
H A Dmusb_gadget_ep0.c242 struct musb_hw_ep *ep; in service_zero_data_request()
407 struct musb_hw_ep *ep; in service_zero_data_request()
H A Dpic32.c159 void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) in musb_read_fifo()

12