Searched refs:usbcfg (Results 1 – 4 of 4) sorted by relevance
/drivers/usb/dwc2/ |
D | core.c | 1010 u32 usbcfg, ggpio, i2cctl; in dwc2_fs_phy_init() local 1020 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init() 1021 if (!(usbcfg & GUSBCFG_PHYSEL)) { in dwc2_fs_phy_init() 1022 usbcfg |= GUSBCFG_PHYSEL; in dwc2_fs_phy_init() 1023 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init() 1061 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init() 1062 usbcfg |= GUSBCFG_OTG_UTMI_FS_SEL; in dwc2_fs_phy_init() 1063 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init() 1080 u32 usbcfg, usbcfg_old; in dwc2_hs_phy_init() local 1086 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hs_phy_init() [all …]
|
D | hcd.c | 134 u32 usbcfg; in dwc2_gusbcfg_init() local 136 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_gusbcfg_init() 137 usbcfg &= ~(GUSBCFG_HNPCAP | GUSBCFG_SRPCAP); in dwc2_gusbcfg_init() 143 usbcfg |= GUSBCFG_HNPCAP; in dwc2_gusbcfg_init() 146 usbcfg |= GUSBCFG_SRPCAP; in dwc2_gusbcfg_init() 154 usbcfg |= GUSBCFG_SRPCAP; in dwc2_gusbcfg_init() 164 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init() 361 u32 usbcfg; in dwc2_calc_frame_interval() local 365 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_calc_frame_interval() 368 if (!(usbcfg & GUSBCFG_PHYSEL) && (usbcfg & GUSBCFG_ULPI_UTMI_SEL) && in dwc2_calc_frame_interval() [all …]
|
D | hcd_intr.c | 268 u32 usbcfg; in dwc2_hprt0_enable() local 290 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hprt0_enable() 295 if (!(usbcfg & GUSBCFG_PHY_LP_CLK_SEL)) { in dwc2_hprt0_enable() 297 usbcfg |= GUSBCFG_PHY_LP_CLK_SEL; in dwc2_hprt0_enable() 298 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable() 332 if (usbcfg & GUSBCFG_PHY_LP_CLK_SEL) { in dwc2_hprt0_enable() 333 usbcfg &= ~GUSBCFG_PHY_LP_CLK_SEL; in dwc2_hprt0_enable() 334 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable()
|
D | gadget.c | 3386 u32 usbcfg; in dwc2_hsotg_core_init_disconnected() local 3412 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hsotg_core_init_disconnected() 3413 usbcfg &= ~GUSBCFG_TOUTCAL_MASK; in dwc2_hsotg_core_init_disconnected() 3414 usbcfg |= GUSBCFG_TOUTCAL(7); in dwc2_hsotg_core_init_disconnected() 3417 usbcfg &= ~(GUSBCFG_SRPCAP | GUSBCFG_HNPCAP); in dwc2_hsotg_core_init_disconnected() 3418 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hsotg_core_init_disconnected()
|