Searched refs:usbcfg (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/usb/dwc2/ |
D | core.c | 1066 u32 usbcfg, ggpio, i2cctl; in dwc2_fs_phy_init() local 1076 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init() 1077 if (!(usbcfg & GUSBCFG_PHYSEL)) { in dwc2_fs_phy_init() 1078 usbcfg |= GUSBCFG_PHYSEL; in dwc2_fs_phy_init() 1079 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init() 1117 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init() 1118 usbcfg |= GUSBCFG_OTG_UTMI_FS_SEL; in dwc2_fs_phy_init() 1119 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init() 1136 u32 usbcfg, usbcfg_old; in dwc2_hs_phy_init() local 1142 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hs_phy_init() [all …]
|
D | hcd.c | 136 u32 usbcfg; in dwc2_gusbcfg_init() local 138 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_gusbcfg_init() 139 usbcfg &= ~(GUSBCFG_HNPCAP | GUSBCFG_SRPCAP); in dwc2_gusbcfg_init() 145 usbcfg |= GUSBCFG_HNPCAP; in dwc2_gusbcfg_init() 148 usbcfg |= GUSBCFG_SRPCAP; in dwc2_gusbcfg_init() 156 usbcfg |= GUSBCFG_SRPCAP; in dwc2_gusbcfg_init() 166 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init() 363 u32 usbcfg; in dwc2_calc_frame_interval() local 367 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_calc_frame_interval() 370 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 | 3357 u32 usbcfg; in dwc2_hsotg_core_init_disconnected() local 3383 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hsotg_core_init_disconnected() 3384 usbcfg &= ~GUSBCFG_TOUTCAL_MASK; in dwc2_hsotg_core_init_disconnected() 3385 usbcfg |= GUSBCFG_TOUTCAL(7); in dwc2_hsotg_core_init_disconnected() 3388 usbcfg &= ~(GUSBCFG_SRPCAP | GUSBCFG_HNPCAP); in dwc2_hsotg_core_init_disconnected() 3389 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hsotg_core_init_disconnected()
|