/u-boot/drivers/usb/musb-new/ |
A D | musb_core.h | 207 int (*init)(struct musb *musb); 208 int (*exit)(struct musb *musb); 211 void (*enable)(struct musb *musb); 213 int (*enable)(struct musb *musb); 215 void (*disable)(struct musb *musb); 236 struct musb *musb; member 527 musb->ops->enable(musb); in musb_platform_enable() 535 return musb->ops->enable(musb); in musb_platform_enable() 542 musb->ops->disable(musb); in musb_platform_disable() 573 return musb->ops->init(musb); in musb_platform_init() [all …]
|
A D | musb_core.c | 225 struct musb *musb = hw_ep->musb; in musb_write_fifo() local 267 struct musb *musb = hw_ep->musb; in musb_read_fifo() local 345 struct musb *musb = (struct musb *)data; in musb_otg_timer_func() local 907 int musb_start(struct musb *musb) in musb_start() 1535 struct musb *musb = __hci; in generic_interrupt() local 1543 if (musb->int_usb || musb->int_tx || musb->int_rx) in generic_interrupt() 1574 musb->int_usb, musb->int_tx, musb->int_rx); in musb_interrupt() 1836 struct musb *musb; in allocate_instance() local 1877 ep->musb = musb; in allocate_instance() 1900 free_irq(musb->nIrq, musb); in musb_free() [all …]
|
A D | musb_gadget_ep0.c | 61 struct musb *musb, in service_tx_status_request() argument 189 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable() argument 210 service_zero_data_request(struct musb *musb, in service_zero_data_request() argument 470 static void ep0_rxstate(struct musb *musb) in ep0_rxstate() argument 525 static void ep0_txstate(struct musb *musb) in ep0_txstate() argument 649 irqreturn_t musb_g_ep0_irq(struct musb *musb) in musb_g_ep0_irq() argument 917 struct musb *musb; in musb_g_ep0_queue() local 926 musb = ep->musb; in musb_g_ep0_queue() 930 req->musb = musb; in musb_g_ep0_queue() 1003 struct musb *musb; in musb_g_ep0_halt() local [all …]
|
A D | musb_gadget.c | 130 struct musb *musb) in unmap_dma_buffer() argument 165 struct musb *musb) in unmap_dma_buffer() argument 185 struct musb *musb; in musb_g_giveback() local 193 musb = req->musb; in musb_g_giveback() 220 struct musb *musb = ep->musb; in nuke() local 1271 struct musb *musb = musb_ep->musb; in musb_alloc_request() local 1383 struct musb *musb = musb_ep->musb; in musb_gadget_dequeue() local 1437 struct musb *musb = musb_ep->musb; in musb_gadget_set_halt() local 1539 struct musb *musb = musb_ep->musb; in musb_gadget_fifo_status() local 1558 struct musb *musb = musb_ep->musb; in musb_gadget_fifo_flush() local [all …]
|
A D | am35x.c | 93 static void am35x_musb_enable(struct musb *musb) in am35x_musb_enable() argument 95 static int am35x_musb_enable(struct musb *musb) in am35x_musb_enable() 120 static void am35x_musb_disable(struct musb *musb) in am35x_musb_disable() argument 145 struct musb *musb = (void *)_musb; in otg_timer() local 205 if (musb->is_active || (musb->a_wait_bcon == 0 && in am35x_musb_try_idle() 229 struct musb *musb = hci; in am35x_musb_interrupt() local 292 err = is_host_enabled(musb) && (musb->int_usb & in am35x_musb_interrupt() 334 if (musb->int_tx || musb->int_rx || musb->int_usb) in am35x_musb_interrupt() 375 static int am35x_musb_init(struct musb *musb) in am35x_musb_init() argument 427 static int am35x_musb_exit(struct musb *musb) in am35x_musb_exit() argument [all …]
|
A D | musb_dsps.c | 149 static void dsps_musb_enable(struct musb *musb) in dsps_musb_enable() argument 151 static int dsps_musb_enable(struct musb *musb) in dsps_musb_enable() 185 static void dsps_musb_disable(struct musb *musb) in dsps_musb_disable() argument 205 struct musb *musb = (void *)_musb; in otg_timer() local 273 if (musb->is_active || (musb->a_wait_bcon == 0 && in dsps_musb_try_idle() 298 struct musb *musb = hci; in dsps_interrupt() local 351 err = is_host_enabled(musb) && (musb->int_usb & in dsps_interrupt() 393 if (musb->int_tx || musb->int_rx || musb->int_usb) in dsps_interrupt() 412 static int dsps_musb_init(struct musb *musb) in dsps_musb_init() argument 479 static int dsps_musb_exit(struct musb *musb) in dsps_musb_exit() argument [all …]
|
A D | pic32.c | 57 static void pic32_musb_disable(struct musb *musb) in pic32_musb_disable() argument 62 static int pic32_musb_enable(struct musb *musb) in pic32_musb_enable() argument 67 musb_platform_set_mode(musb, musb->board_mode); in pic32_musb_enable() 74 struct musb *musb = hci; in pic32_interrupt() local 79 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in pic32_interrupt() 81 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in pic32_interrupt() 86 musb_writew(musb->mregs, MUSB_INTRRX, musb->int_rx); in pic32_interrupt() 90 musb_writew(musb->mregs, MUSB_INTRTX, musb->int_tx); in pic32_interrupt() 98 if (musb->int_tx || musb->int_rx || musb->int_usb) in pic32_interrupt() 104 static int pic32_musb_set_mode(struct musb *musb, u8 mode) in pic32_musb_set_mode() argument [all …]
|
A D | sunxi.c | 205 struct musb *musb = __hci; in sunxi_musb_interrupt() local 209 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in sunxi_musb_interrupt() 213 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in sunxi_musb_interrupt() 215 musb_writew(musb->mregs, MUSB_INTRTX, musb->int_tx); in sunxi_musb_interrupt() 216 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in sunxi_musb_interrupt() 218 musb_writew(musb->mregs, MUSB_INTRRX, musb->int_rx); in sunxi_musb_interrupt() 220 if (musb->int_usb || musb->int_tx || musb->int_rx) in sunxi_musb_interrupt() 229 static int sunxi_musb_enable(struct musb *musb) in sunxi_musb_enable() argument 271 static void sunxi_musb_disable(struct musb *musb) in sunxi_musb_disable() argument 295 static int sunxi_musb_init(struct musb *musb) in sunxi_musb_init() argument [all …]
|
A D | da8xx.c | 69 struct musb *musb = hci; in da8xx_musb_interrupt() local 124 MUSB_HST_MODE(musb); in da8xx_musb_interrupt() 135 musb->is_active = 0; in da8xx_musb_interrupt() 136 MUSB_DEV_MODE(musb); in da8xx_musb_interrupt() 142 if (musb->int_tx || musb->int_rx || musb->int_usb) in da8xx_musb_interrupt() 143 ret |= musb_interrupt(musb); in da8xx_musb_interrupt() 154 static int da8xx_musb_init(struct musb *musb) in da8xx_musb_init() argument 180 musb->isr = da8xx_musb_interrupt; in da8xx_musb_init() 184 static int da8xx_musb_exit(struct musb *musb) in da8xx_musb_exit() argument 197 static int da8xx_musb_enable(struct musb *musb) in da8xx_musb_enable() argument [all …]
|
A D | mt85xx.c | 181 struct musb *musb = __hci; in mtk_musb_interrupt() local 185 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in mtk_musb_interrupt() 189 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in mtk_musb_interrupt() 191 musb_writew(musb->mregs, MUSB_INTRTX, musb->int_tx); in mtk_musb_interrupt() 192 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in mtk_musb_interrupt() 194 musb_writew(musb->mregs, MUSB_INTRRX, musb->int_rx); in mtk_musb_interrupt() 196 if (musb->int_usb || musb->int_tx || musb->int_rx) in mtk_musb_interrupt() 205 static int mtk_musb_enable(struct musb *musb) in mtk_musb_enable() argument 224 static void mtk_musb_disable(struct musb *musb) in mtk_musb_disable() argument 239 static int mtk_musb_init(struct musb *musb) in mtk_musb_init() argument [all …]
|
A D | omap2430.c | 30 static inline void omap2430_low_level_exit(struct musb *musb) in omap2430_low_level_exit() argument 40 static inline void omap2430_low_level_init(struct musb *musb) in omap2430_low_level_init() argument 50 static int omap2430_musb_init(struct musb *musb) in omap2430_musb_init() argument 89 musb_readl(musb->mregs, OTG_REVISION), in omap2430_musb_init() 90 musb_readl(musb->mregs, OTG_SYSCONFIG), in omap2430_musb_init() 91 musb_readl(musb->mregs, OTG_SYSSTATUS), in omap2430_musb_init() 100 static int omap2430_musb_enable(struct musb *musb) in omap2430_musb_enable() argument 122 static void omap2430_musb_disable(struct musb *musb) in omap2430_musb_disable() argument 127 static int omap2430_musb_exit(struct musb *musb) in omap2430_musb_exit() argument 131 omap2430_low_level_exit(musb); in omap2430_musb_exit() [all …]
|
A D | musb_host.c | 96 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local 969 irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq() argument 1107 void musb_host_tx(struct musb *musb, u8 epnum) in musb_host_tx() argument 1788 struct musb *musb, in musb_schedule() argument 1924 struct musb *musb = hcd_to_musb(hcd); local 2129 struct musb *musb = ep->musb; local 2193 struct musb *musb = hcd_to_musb(hcd); local 2256 struct musb *musb = hcd_to_musb(hcd); local 2306 struct musb *musb = hcd_to_musb(hcd); local 2313 struct musb *musb = hcd_to_musb(hcd); local [all …]
|
A D | musb_debug.h | 21 int musb_init_debugfs(struct musb *musb); 22 void musb_exit_debugfs(struct musb *musb); 24 static inline int musb_init_debugfs(struct musb *musb) in musb_init_debugfs() argument 28 static inline void musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs() argument
|
A D | musb_gadget.h | 31 struct musb *musb; member 55 struct musb *musb; member 90 extern void musb_g_tx(struct musb *musb, u8 epnum); 91 extern void musb_g_rx(struct musb *musb, u8 epnum); 95 extern int musb_gadget_setup(struct musb *); 96 extern void musb_gadget_cleanup(struct musb *); 100 extern void musb_ep_restart(struct musb *, struct musb_request *);
|
A D | musb_host.h | 16 static inline struct usb_hcd *musb_to_hcd(struct musb *musb) in musb_to_hcd() argument 18 return container_of((void *) musb, struct usb_hcd, hcd_priv); in musb_to_hcd() 21 static inline struct musb *hcd_to_musb(struct usb_hcd *hcd) in hcd_to_musb() 23 return (struct musb *) (hcd->hcd_priv); in hcd_to_musb() 63 extern void musb_root_disconnect(struct musb *musb);
|
A D | musb_dma.h | 142 extern void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit); 146 dma_controller_create(struct musb *, void __iomem *);
|
A D | musb_uboot.h | 16 struct musb *host;
|
A D | Makefile | 15 obj-$(CONFIG_USB_MUSB_TI) += ti-musb.o
|
A D | musb_uboot.c | 69 struct musb *host = hcd->hcd_priv; in submit_urb() 377 static struct musb *gadget; 428 struct musb *musb_register(struct musb_hdrc_platform_data *plat, void *bdata, in musb_register() 431 struct musb **musbp; in musb_register()
|
/u-boot/arch/arm/dts/ |
A D | mt8516.dtsi | 127 compatible = "mediatek,mt8516-musb", 128 "mediatek,mt8518-musb";
|
A D | mt8518.dtsi | 78 compatible = "mediatek,mt8518-musb";
|
A D | am3517.dtsi | 21 compatible = "ti,omap3-musb";
|
/u-boot/include/linux/usb/ |
A D | musb.h | 153 struct musb *musb_register(struct musb_hdrc_platform_data *plat, void *bdata,
|
/u-boot/drivers/usb/ |
A D | Kconfig | 77 source "drivers/usb/musb/Kconfig" 79 source "drivers/usb/musb-new/Kconfig"
|
/u-boot/doc/uImage.FIT/ |
A D | beaglebone_vboot.txt | 559 [ 2.589651] musb-hdrc musb-hdrc.0.auto: Failed to request rx1. 560 [ 2.595830] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517 561 [ 2.606470] musb-hdrc musb-hdrc.1.auto: Failed to request rx1. 562 [ 2.612723] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
|