Lines Matching refs:syscon
37 u32 syscon; in omap_otg_init() local
43 syscon = omap_readl(OTG_SYSCON_1) & 0xffff; in omap_otg_init()
44 if (!(syscon & OTG_RESET_DONE)) in omap_otg_init()
52 syscon |= config->usb0_init(config->pins[0], is_usb0_device(config)); in omap_otg_init()
53 syscon |= config->usb1_init(config->pins[1]); in omap_otg_init()
54 syscon |= config->usb2_init(config->pins[2], alt_pingroup); in omap_otg_init()
56 omap_writel(syscon, OTG_SYSCON_1); in omap_otg_init()
58 syscon = config->hmc_mode; in omap_otg_init()
59 syscon |= USBX_SYNCHRO | (4 << 16) /* B_ASE0_BRST */; in omap_otg_init()
62 syscon |= OTG_EN; in omap_otg_init()
68 omap_writel(syscon, OTG_SYSCON_2); in omap_otg_init()
97 syscon = omap_readl(OTG_SYSCON_1); in omap_otg_init()
98 syscon |= HST_IDLE_EN|DEV_IDLE_EN|OTG_IDLE_EN; in omap_otg_init()
104 syscon &= ~DEV_IDLE_EN; in omap_otg_init()
116 syscon &= ~HST_IDLE_EN; in omap_otg_init()
128 syscon &= ~OTG_IDLE_EN; in omap_otg_init()
136 omap_writel(syscon, OTG_SYSCON_1); in omap_otg_init()