Searched refs:usbcfg (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/usb/dwc2/ |
D | core.c | 980 u32 usbcfg, ggpio, i2cctl; in dwc2_fs_phy_init() local 990 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init() 991 if (!(usbcfg & GUSBCFG_PHYSEL)) { in dwc2_fs_phy_init() 992 usbcfg |= GUSBCFG_PHYSEL; in dwc2_fs_phy_init() 993 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init() 1031 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init() 1032 usbcfg |= GUSBCFG_OTG_UTMI_FS_SEL; in dwc2_fs_phy_init() 1033 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init() 1050 u32 usbcfg, usbcfg_old; in dwc2_hs_phy_init() local 1056 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hs_phy_init() [all …]
|
D | hcd.c | 105 u32 usbcfg; in dwc2_gusbcfg_init() local 107 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_gusbcfg_init() 108 usbcfg &= ~(GUSBCFG_HNPCAP | GUSBCFG_SRPCAP); in dwc2_gusbcfg_init() 114 usbcfg |= GUSBCFG_HNPCAP; in dwc2_gusbcfg_init() 121 usbcfg |= GUSBCFG_SRPCAP; in dwc2_gusbcfg_init() 131 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init() 328 u32 usbcfg; in dwc2_calc_frame_interval() local 332 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_calc_frame_interval() 335 if (!(usbcfg & GUSBCFG_PHYSEL) && (usbcfg & GUSBCFG_ULPI_UTMI_SEL) && in dwc2_calc_frame_interval() 336 !(usbcfg & GUSBCFG_PHYIF16)) in dwc2_calc_frame_interval() [all …]
|
D | hcd_intr.c | 238 u32 usbcfg; in dwc2_hprt0_enable() local 260 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hprt0_enable() 265 if (!(usbcfg & GUSBCFG_PHY_LP_CLK_SEL)) { in dwc2_hprt0_enable() 267 usbcfg |= GUSBCFG_PHY_LP_CLK_SEL; in dwc2_hprt0_enable() 268 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable() 302 if (usbcfg & GUSBCFG_PHY_LP_CLK_SEL) { in dwc2_hprt0_enable() 303 usbcfg &= ~GUSBCFG_PHY_LP_CLK_SEL; in dwc2_hprt0_enable() 304 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()
|