/openbmc/linux/drivers/usb/musb/ |
H A D | musb_core.h | 201 struct musb *musb; member 277 struct musb { struct 282 struct musb_io io; argument 302 enum musb_h_ep0_state ep0_stage; argument 319 struct notifier_block nb; 347 struct musb_hw_ep endpoints[MUSB_C_NUM_EPS]; argument 357 enum musb_mode port_mode; argument 378 #define can_bulk_split(musb, type) \ argument 382 #define can_bulk_combine(musb, type) \ argument 407 enum musb_g_ep0_state ep0_state; argument [all …]
|
H A D | musb_core.c | 316 struct musb *musb = hw_ep->musb; in musb_default_write_fifo() local 360 struct musb *musb = hw_ep->musb; in musb_default_read_fifo() local 473 int musb_set_host(struct musb *musb) in musb_set_host() 627 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop() 1183 void musb_start(struct musb *musb) in musb_start() 1232 void musb_stop(struct musb *musb) in musb_stop() 1856 struct musb *musb = dev_to_musb(dev); in mode_show() local 1871 struct musb *musb = dev_to_musb(dev); in mode_store() local 2144 struct musb *musb; in allocate_instance() local 2287 struct musb *musb; in musb_deassert_reset() local [all …]
|
H A D | musb_gadget.c | 84 struct musb *musb) in unmap_dma_buffer() 130 struct musb *musb; in musb_g_giveback() local 160 struct musb *musb = ep->musb; in nuke() local 915 struct musb *musb; in musb_gadget_enable() local 1087 struct musb *musb; in musb_gadget_disable() local 1195 struct musb *musb; in musb_gadget_queue() local 1275 struct musb *musb = musb_ep->musb; in musb_gadget_dequeue() local 1332 struct musb *musb = musb_ep->musb; in musb_gadget_set_halt() local 1452 struct musb *musb = musb_ep->musb; in musb_gadget_fifo_flush() local 1638 struct musb *musb; in musb_gadget_work() local [all …]
|
H A D | tusb6010.c | 34 struct platform_device *musb; member 49 static u8 tusb_get_revision(struct musb *musb) in tusb_get_revision() 66 static void tusb_print_revision(struct musb *musb) in tusb_print_revision() 227 struct musb *musb = hw_ep->musb; in tusb_write_fifo() local 277 struct musb *musb = hw_ep->musb; in tusb_read_fifo() local 332 struct musb *musb = the_musb; in tusb_draw_power() local 826 struct musb *musb = __hci; in tusb_musb_interrupt() local 1027 static int tusb_musb_start(struct musb *musb) in tusb_musb_start() 1106 static int tusb_musb_init(struct musb *musb) in tusb_musb_init() 1173 static int tusb_musb_exit(struct musb *musb) in tusb_musb_exit() [all …]
|
H A D | musb_gadget.h | 28 static inline irqreturn_t musb_g_ep0_irq(struct musb *musb) in musb_g_ep0_irq() 33 static inline void musb_g_tx(struct musb *musb, u8 epnum) {} in musb_g_tx() 34 static inline void musb_g_rx(struct musb *musb, u8 epnum) {} in musb_g_rx() 35 static inline void musb_g_reset(struct musb *musb) {} in musb_g_reset() 36 static inline void musb_g_suspend(struct musb *musb) {} in musb_g_suspend() 37 static inline void musb_g_resume(struct musb *musb) {} in musb_g_resume() 38 static inline void musb_g_wakeup(struct musb *musb) {} in musb_g_wakeup() 39 static inline void musb_g_disconnect(struct musb *musb) {} in musb_g_disconnect() 41 static inline int musb_gadget_setup(struct musb *musb) in musb_gadget_setup() 57 struct musb *musb; member [all …]
|
H A D | musb_dma.h | 53 #define musb_dma_ux500(musb) (musb->ops->quirks & MUSB_DMA_UX500) argument 55 #define musb_dma_ux500(musb) 0 argument 59 #define musb_dma_cppi41(musb) (musb->ops->quirks & MUSB_DMA_CPPI41) argument 61 #define musb_dma_cppi41(musb) 0 argument 65 #define tusb_dma_omap(musb) (musb->ops->quirks & MUSB_DMA_TUSB_OMAP) argument 67 #define tusb_dma_omap(musb) 0 argument 71 #define musb_dma_inventra(musb) (musb->ops->quirks & MUSB_DMA_INVENTRA) argument 73 #define musb_dma_inventra(musb) 0 argument 77 #define is_cppi_enabled(musb) musb_dma_cppi41(musb) argument 79 #define is_cppi_enabled(musb) 0 argument [all …]
|
H A D | musb_host.h | 75 static inline irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq() 80 static inline int musb_host_alloc(struct musb *musb) in musb_host_alloc() 85 static inline int musb_host_setup(struct musb *musb, int power_budget) in musb_host_setup() 90 static inline void musb_host_cleanup(struct musb *musb) {} in musb_host_cleanup() 91 static inline void musb_host_free(struct musb *musb) {} in musb_host_free() 92 static inline void musb_host_tx(struct musb *musb, u8 epnum) {} in musb_host_tx() 93 static inline void musb_host_rx(struct musb *musb, u8 epnum) {} in musb_host_rx() 94 static inline void musb_root_disconnect(struct musb *musb) {} in musb_root_disconnect() 95 static inline void musb_host_resume_root_hub(struct musb *musb) {} in musb_host_resume_root_hub() 96 static inline void musb_host_poke_root_hub(struct musb *musb) {} in musb_host_poke_root_hub() [all …]
|
H A D | omap2430.c | 33 struct platform_device *musb; member 93 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox() local 173 struct musb *musb = __hci; in omap2430_musb_interrupt() local 189 static int omap2430_musb_init(struct musb *musb) in omap2430_musb_init() 252 static void omap2430_musb_enable(struct musb *musb) in omap2430_musb_enable() 272 static int omap2430_musb_exit(struct musb *musb) in omap2430_musb_exit() 307 struct platform_device *musb; in omap2430_probe() local 487 struct musb *musb = glue_to_musb(glue); in omap2430_runtime_suspend() local 510 struct musb *musb = glue_to_musb(glue); in omap2430_runtime_resume() local 536 struct musb *musb = glue_to_musb(glue); in omap2430_suspend() local [all …]
|
H A D | ux500.c | 29 struct platform_device *musb; member 34 static void ux500_musb_set_vbus(struct musb *musb, int is_on) in ux500_musb_set_vbus() 97 struct musb *musb = container_of(nb, struct musb, nb); in musb_otg_notifications() local 128 struct musb *musb = __hci; in ux500_musb_interrupt() local 144 static int ux500_musb_init(struct musb *musb) in ux500_musb_init() 166 static int ux500_musb_exit(struct musb *musb) in ux500_musb_exit() 221 struct platform_device *musb; in ux500_probe() local 318 struct musb *musb = glue_to_musb(glue); in ux500_suspend() local 331 struct musb *musb = glue_to_musb(glue); in ux500_resume() local
|
H A D | musb_virthub.c | 23 struct musb *musb; in musb_host_finish_resume() local 51 int musb_port_suspend(struct musb *musb, bool do_suspend) in musb_port_suspend() 122 void musb_port_reset(struct musb *musb, bool do_reset) in musb_port_reset() 198 void musb_root_disconnect(struct musb *musb) in musb_root_disconnect() 234 struct musb *musb = hcd_to_musb(hcd); in musb_hub_status_data() local 245 static int musb_has_gadget(struct musb *musb) in musb_has_gadget() 268 struct musb *musb = hcd_to_musb(hcd); in musb_hub_control() local
|
H A D | musb_gadget_ep0.c | 21 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument 51 struct musb *musb, in service_tx_status_request() 175 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback() 183 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable() 204 service_zero_data_request(struct musb *musb, in service_zero_data_request() 460 static void ep0_rxstate(struct musb *musb) in ep0_rxstate() 517 static void ep0_txstate(struct musb *musb) in ep0_txstate() 575 musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) in musb_read_setup() 641 irqreturn_t musb_g_ep0_irq(struct musb *musb) in musb_g_ep0_irq() 907 struct musb *musb; in musb_g_ep0_queue() local [all …]
|
H A D | da8xx.c | 68 struct platform_device *musb; member 84 static void da8xx_musb_enable(struct musb *musb) in da8xx_musb_enable() 103 static void da8xx_musb_disable(struct musb *musb) in da8xx_musb_disable() 115 static void da8xx_musb_set_vbus(struct musb *musb, int is_on) in da8xx_musb_set_vbus() 124 struct musb *musb = from_timer(musb, t, dev_timer); in otg_timer() local 224 struct musb *musb = hci; in da8xx_musb_interrupt() local 325 static int da8xx_musb_set_mode(struct musb *musb, u8 musb_mode) in da8xx_musb_set_mode() 354 static int da8xx_musb_init(struct musb *musb) in da8xx_musb_init() 416 static int da8xx_musb_exit(struct musb *musb) in da8xx_musb_exit() 449 struct musb *musb = c->musb; in da8xx_dma_controller_callback() local [all …]
|
H A D | musb_host.c | 88 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local 1612 struct musb *musb = hw_ep->musb; in musb_rx_dma_in_inventra_cppi41() local 1994 struct musb *musb, in musb_schedule() 2311 struct musb *musb = ep->musb; in musb_cleanup_urb() local 2475 struct musb *musb = hcd_to_musb(hcd); in musb_h_get_frame_number() local 2482 struct musb *musb = hcd_to_musb(hcd); in musb_h_start() local 2500 struct musb *musb = hcd_to_musb(hcd); in musb_bus_suspend() local 2537 struct musb *musb = hcd_to_musb(hcd); in musb_bus_resume() local 2625 struct musb *musb = hcd_to_musb(hcd); in musb_map_urb_for_dma() local 2650 struct musb *musb = hcd_to_musb(hcd); in musb_unmap_urb_for_dma() local [all …]
|
H A D | musb_debugfs.c | 86 struct musb *musb = s->private; in musb_regdump_show() local 117 struct musb *musb = s->private; in musb_test_mode_show() local 167 struct musb *musb = s->private; in musb_test_mode_write() local 234 struct musb *musb = s->private; in musb_softconnect_show() local 267 struct musb *musb = s->private; in musb_softconnect_write() local 324 void musb_init_debugfs(struct musb *musb) in musb_init_debugfs() 338 void /* __init_or_exit */ musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs()
|
H A D | musb_dsps.c | 103 struct platform_device *musb; /* child musb pdev */ member 135 struct musb *musb = platform_get_drvdata(glue->musb); in dsps_mod_timer() local 167 static void dsps_musb_enable(struct musb *musb) in dsps_musb_enable() 193 static void dsps_musb_disable(struct musb *musb) in dsps_musb_disable() 280 struct musb *musb = from_timer(musb, t, dev_timer); in otg_timer() local 315 struct musb *musb = hci; in dsps_interrupt() local 424 static int dsps_musb_init(struct musb *musb) in dsps_musb_init() 496 static int dsps_musb_exit(struct musb *musb) in dsps_musb_exit() 607 static int dsps_musb_recover(struct musb *musb) in dsps_musb_recover() 642 struct musb *musb = c->musb; in dsps_dma_controller_callback() local [all …]
|
H A D | sunxi.c | 82 struct musb *musb; member 106 struct musb *musb = glue->musb; in sunxi_musb_work() local 146 static void sunxi_musb_set_vbus(struct musb *musb, int is_on) in sunxi_musb_set_vbus() 160 static void sunxi_musb_pre_root_reset_end(struct musb *musb) in sunxi_musb_pre_root_reset_end() 176 struct musb *musb = __hci; in sunxi_musb_interrupt() local 222 static int sunxi_musb_init(struct musb *musb) in sunxi_musb_init() 277 static int sunxi_musb_exit(struct musb *musb) in sunxi_musb_exit() 299 static void sunxi_musb_enable(struct musb *musb) in sunxi_musb_enable() 312 static void sunxi_musb_disable(struct musb *musb) in sunxi_musb_disable() 329 static int sunxi_musb_set_mode(struct musb *musb, u8 mode) in sunxi_musb_set_mode() [all …]
|
H A D | jz4740.c | 23 struct musb *musb; member 32 struct musb *musb = __hci; in jz4740_musb_interrupt() local 103 static int jz4740_musb_init(struct musb *musb) in jz4740_musb_init() 178 static int jz4740_musb_exit(struct musb *musb) in jz4740_musb_exit() 239 struct platform_device *musb; in jz4740_probe() local
|
H A D | mediatek.c | 44 struct musb *musb; member 68 struct musb *musb = glue->musb; in mtk_otg_switch_set() local 153 struct musb *musb = __hci; in generic_interrupt() local 177 struct musb *musb = (struct musb *)dev_id; in mtk_musb_interrupt() local 218 static int mtk_musb_set_mode(struct musb *musb, u8 mode) in mtk_musb_set_mode() 255 static int mtk_musb_init(struct musb *musb) in mtk_musb_init() 305 struct musb *musb = qh->hw_ep->musb; in mtk_musb_get_toggle() local 315 struct musb *musb = qh->hw_ep->musb; in mtk_musb_set_toggle() local 334 static int mtk_musb_exit(struct musb *musb) in mtk_musb_exit()
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_core.h | 236 struct musb *musb; member 317 struct musb { struct 321 const struct musb_platform_ops *ops; argument 335 enum musb_h_ep0_state ep0_stage; argument 350 struct notifier_block nb; 375 struct musb_hw_ep endpoints[MUSB_C_NUM_EPS]; argument 383 u8 board_mode; /* enum musb_mode */ argument 404 #define can_bulk_split(musb,type) \ argument 408 #define can_bulk_combine(musb,type) \ argument 431 enum musb_g_ep0_state ep0_state; argument [all …]
|
H A D | musb_gadget.c | 124 struct musb *musb) in unmap_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 1033 struct musb *musb; in musb_gadget_enable() local 1214 struct musb *musb; in musb_gadget_disable() local 1265 struct musb *musb = musb_ep->musb; in musb_alloc_request() local 1320 struct musb *musb; in musb_gadget_queue() local 1377 struct musb *musb = musb_ep->musb; in musb_gadget_dequeue() local 1431 struct musb *musb = musb_ep->musb; in musb_gadget_set_halt() local [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 367 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop() 898 void musb_start(struct musb *musb) in musb_start() 995 void musb_stop(struct musb *musb) in musb_stop() 1528 struct musb *musb = __hci; in generic_interrupt() local 1692 struct musb *musb = dev_to_musb(dev); in musb_mode_show() local 1707 struct musb *musb = dev_to_musb(dev); in musb_mode_store() local 1730 struct musb *musb = dev_to_musb(dev); in musb_vbus_store() local 1829 struct musb *musb; in allocate_instance() 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() 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() 645 irqreturn_t musb_g_ep0_irq(struct musb *musb) in musb_g_ep0_irq() 913 struct musb *musb; in musb_g_ep0_queue() local [all …]
|
H A D | musb_host.c | 91 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local 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() 1783 struct musb *musb, in musb_schedule() 1919 struct musb *musb = hcd_to_musb(hcd); local 2124 struct musb *musb = ep->musb; local 2188 struct musb *musb = hcd_to_musb(hcd); local 2251 struct musb *musb = hcd_to_musb(hcd); local 2301 struct musb *musb = hcd_to_musb(hcd); local 2308 struct musb *musb = hcd_to_musb(hcd); local [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 …]
|