Searched refs:otg (Results 1 – 6 of 6) sorted by relevance
| /drivers/usb/musb/ |
| A D | omap3.c | 44 static struct omap3_otg_regs *otg; variable 64 l = readl(&otg->revision); in musb_db_otg_regs() 66 l = readl(&otg->sysconfig); in musb_db_otg_regs() 68 l = readl(&otg->sysstatus); in musb_db_otg_regs() 70 l = readl(&otg->interfsel); in musb_db_otg_regs() 72 l = readl(&otg->forcestdby); in musb_db_otg_regs() 96 otg = (struct omap3_otg_regs *)OMAP3_OTG_BASE; in musb_platform_init() 100 OMAP3_OTG_SYSCONFIG_NO_IDLE_MODE, &otg->sysconfig); in musb_platform_init() 103 writel(OMAP3_OTG_INTERFSEL_OMAP, &otg->interfsel); in musb_platform_init() 106 stdby = readl(&otg->forcestdby); in musb_platform_init() [all …]
|
| /drivers/usb/host/ |
| A D | ohci-lpc32xx.c | 83 static struct otg_regs *otg = (struct otg_regs *)USB_BASE; variable 176 writel(OTG_CLK_I2C_EN, &otg->otg_clk_ctrl); in usb_cpu_init() 177 ret = wait_for_bit_le32(&otg->otg_clk_sts, OTG_CLK_I2C_EN, true, in usb_cpu_init() 196 writel(mask, &otg->otg_clk_ctrl); in usb_cpu_init() 198 ret = wait_for_bit_le32(&otg->otg_clk_sts, mask, true, in usb_cpu_init() 203 setbits_le32(&otg->otg_sts_ctrl, OTG_HOST_EN); in usb_cpu_init() 225 clrbits_le32(&otg->otg_sts_ctrl, OTG_HOST_EN); in usb_cpu_stop()
|
| /drivers/usb/musb-new/ |
| A D | am35x.c | 234 struct usb_otg *otg = musb->xceiv->otg; in am35x_musb_interrupt() local 311 otg->default_a = 1; in am35x_musb_interrupt() 318 otg->default_a = 0; in am35x_musb_interrupt()
|
| A D | musb_core.c | 423 struct usb_otg *otg = musb->xceiv->otg; in musb_stage0_irq() local 638 && otg->gadget->b_hnp_enable; in musb_stage0_irq() 655 && otg->host->b_hnp_enable; in musb_stage0_irq() 2038 otg_set_host(musb->xceiv->otg, &hcd->self); in musb_init_controller() 2042 musb->xceiv->otg->host = &hcd->self; in musb_init_controller() 2063 musb->xceiv->otg->default_a = 1; in musb_init_controller() 2080 musb->xceiv->otg->default_a = 0; in musb_init_controller()
|
| A D | musb_gadget.c | 1663 otg_start_srp(musb->xceiv->otg); in musb_gadget_wakeup() 1978 struct usb_otg *otg = musb->xceiv->otg; in musb_gadget_start() local 2001 otg_set_peripheral(otg, &musb->g); in musb_gadget_start() 2034 && otg->set_vbus) in musb_gadget_start() 2035 otg_set_vbus(otg, 1); in musb_gadget_start() 2121 otg_set_peripheral(musb->xceiv->otg, NULL); in musb_gadget_stop()
|
| A D | musb_dsps.c | 373 musb->xceiv->otg->default_a = 1; in dsps_interrupt() 379 musb->xceiv->otg->default_a = 0; in dsps_interrupt()
|
Completed in 19 milliseconds