Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/dwc3/
Ddwc3-st.c90 void __iomem *glue_base; member
175 u32 reg = st_dwc3_readl(dwc3_data->glue_base, CLKRST_CTRL); in st_dwc3_init()
179 st_dwc3_writel(dwc3_data->glue_base, CLKRST_CTRL, reg); in st_dwc3_init()
182 reg = st_dwc3_readl(dwc3_data->glue_base, USB2_VBUS_MNGMNT_SEL1); in st_dwc3_init()
188 st_dwc3_writel(dwc3_data->glue_base, USB2_VBUS_MNGMNT_SEL1, reg); in st_dwc3_init()
190 reg = st_dwc3_readl(dwc3_data->glue_base, CLKRST_CTRL); in st_dwc3_init()
192 st_dwc3_writel(dwc3_data->glue_base, CLKRST_CTRL, reg); in st_dwc3_init()
209 dwc3_data->glue_base = in st_dwc3_probe()
211 if (IS_ERR(dwc3_data->glue_base)) in st_dwc3_probe()
212 return PTR_ERR(dwc3_data->glue_base); in st_dwc3_probe()
[all …]
Ddwc3-imx8mp.c54 void __iomem *glue_base; member
67 if (!dwc3_imx->glue_base) in imx8mp_configure_glue()
70 value = readl(dwc3_imx->glue_base + USB_CTRL0); in imx8mp_configure_glue()
82 writel(value, dwc3_imx->glue_base + USB_CTRL0); in imx8mp_configure_glue()
84 value = readl(dwc3_imx->glue_base + USB_CTRL1); in imx8mp_configure_glue()
95 writel(value, dwc3_imx->glue_base + USB_CTRL1); in imx8mp_configure_glue()
175 dwc3_imx->glue_base = devm_ioremap_resource(dev, res); in dwc3_imx8mp_probe()
176 if (IS_ERR(dwc3_imx->glue_base)) in dwc3_imx8mp_probe()
177 return PTR_ERR(dwc3_imx->glue_base); in dwc3_imx8mp_probe()