/openbmc/linux/drivers/usb/musb/ |
D | musb_core.h |
|
D | musb_core.c |
|
D | musb_gadget.h |
|
D | tusb6010.c |
|
D | musb_dma.h |
|
D | musb_host.h |
|
D | omap2430.c |
|
D | ux500.c |
|
D | musb_gadget_ep0.c |
|
D | musb_debugfs.c |
|
D | musb_host.c |
|
D | sunxi.c |
|
D | jz4740.c |
|
D | musb_cppi41.c |
|
D | musb_regs.h |
|
D | ux500_dma.c |
|
D | musbhsdma.c |
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_core.h | 55 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST) argument 56 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL) argument 57 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) argument 190 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument 236 struct musb *musb; member 317 struct musb { struct 321 const struct musb_platform_ops *ops; argument 322 struct musb_context_registers context; argument 335 enum musb_h_ep0_state ep0_stage; argument 343 struct musb_hw_ep *bulk_ep; argument [all …]
|
H A D | musb_gadget.c | 81 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() 124 struct musb *musb) in unmap_dma_buffer() 154 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() 159 struct musb *musb) in unmap_dma_buffer() 179 struct musb *musb; in musb_g_giveback() local 214 struct musb *musb = ep->musb; in nuke() local 263 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize() 313 static void txstate(struct musb *musb, struct musb_request *req) in txstate() 485 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx() 634 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate() [all …]
|
H A D | musb_core.c | 218 struct musb *musb = hw_ep->musb; in musb_write_fifo() local 260 struct musb *musb = hw_ep->musb; in musb_read_fifo() local 320 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket() 338 struct musb *musb = (struct musb *)data; in musb_otg_timer_func() local 367 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop() 417 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq() 898 void musb_start(struct musb *musb) in musb_start() 968 static void musb_generic_disable(struct musb *musb) in musb_generic_disable() 995 void musb_stop(struct musb *musb) in musb_stop() 1016 struct musb *musb = dev_to_musb(&pdev->dev); in musb_shutdown() local [all …]
|
H A D | musb_gadget_ep0.c | 27 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument 57 struct musb *musb, in service_tx_status_request() 153 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request() 177 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback() 185 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable() 206 service_zero_data_request(struct musb *musb, in service_zero_data_request() 466 static void ep0_rxstate(struct musb *musb) in ep0_rxstate() 521 static void ep0_txstate(struct musb *musb) in ep0_txstate() 579 musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) in musb_read_setup() 627 forward_to_driver(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in forward_to_driver() [all …]
|
H A D | musb_host.c | 91 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local 188 musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) in musb_start_urb() 293 static void musb_giveback(struct musb *musb, struct urb *urb, int status) in musb_giveback() 339 static void musb_advance_schedule(struct musb *musb, struct urb *urb, in musb_advance_schedule() 449 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx() 554 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep) in musb_rx_reinit() 682 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program() 888 static bool musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) in musb_h_ep0_continue() 964 irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq() 1102 void musb_host_tx(struct musb *musb, u8 epnum) in musb_host_tx() [all …]
|
H A D | omap2430.c | 25 static inline void omap2430_low_level_exit(struct musb *musb) in omap2430_low_level_exit() 35 static inline void omap2430_low_level_init(struct musb *musb) in omap2430_low_level_init() 45 static int omap2430_musb_init(struct musb *musb) in omap2430_musb_init() 95 static int omap2430_musb_enable(struct musb *musb) in omap2430_musb_enable() 117 static void omap2430_musb_disable(struct musb *musb) in omap2430_musb_disable() 122 static int omap2430_musb_exit(struct musb *musb) in omap2430_musb_exit()
|
H A D | am35x.c | 79 struct platform_device *musb; member 89 static void am35x_musb_enable(struct musb *musb) in am35x_musb_enable() 116 static void am35x_musb_disable(struct musb *musb) in am35x_musb_disable() 130 static void am35x_musb_set_vbus(struct musb *musb, int is_on) in am35x_musb_set_vbus() 141 struct musb *musb = (void *)_musb; in otg_timer() local 190 static void am35x_musb_try_idle(struct musb *musb, unsigned long timeout) in am35x_musb_try_idle() 225 struct musb *musb = hci; in am35x_musb_interrupt() local 355 static int am35x_musb_set_mode(struct musb *musb, u8 musb_mode) in am35x_musb_set_mode() 371 static int am35x_musb_init(struct musb *musb) in am35x_musb_init() 423 static int am35x_musb_exit(struct musb *musb) in am35x_musb_exit() [all …]
|
H A D | sunxi.c | 200 struct musb *musb = __hci; in sunxi_musb_interrupt() local 224 static int sunxi_musb_enable(struct musb *musb) in sunxi_musb_enable() 266 static void sunxi_musb_disable(struct musb *musb) in sunxi_musb_disable() 290 static int sunxi_musb_init(struct musb *musb) in sunxi_musb_init() 342 static int sunxi_musb_exit(struct musb *musb) in sunxi_musb_exit() 362 static void sunxi_musb_pre_root_reset_end(struct musb *musb) in sunxi_musb_pre_root_reset_end() 369 static void sunxi_musb_post_root_reset_end(struct musb *musb) in sunxi_musb_post_root_reset_end()
|