Home
last modified time | relevance | path

Searched refs:usb_otg_stat_control (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/usb/host/
Dohci-nxp.c120 void __iomem *usb_otg_stat_control = ioremap(USB_CONFIG_BASE + 0x110, 4); in ohci_nxp_start_hc() local
123 if (WARN_ON(!usb_otg_stat_control)) in ohci_nxp_start_hc()
126 tmp = __raw_readl(usb_otg_stat_control) | HOST_EN; in ohci_nxp_start_hc()
128 __raw_writel(tmp, usb_otg_stat_control); in ohci_nxp_start_hc()
131 iounmap(usb_otg_stat_control); in ohci_nxp_start_hc()
136 void __iomem *usb_otg_stat_control = ioremap(USB_CONFIG_BASE + 0x110, 4); in ohci_nxp_stop_hc() local
139 if (WARN_ON(!usb_otg_stat_control)) in ohci_nxp_stop_hc()
143 tmp = __raw_readl(usb_otg_stat_control) & ~HOST_EN; in ohci_nxp_stop_hc()
144 __raw_writel(tmp, usb_otg_stat_control); in ohci_nxp_stop_hc()
146 iounmap(usb_otg_stat_control); in ohci_nxp_stop_hc()