Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc3/
H A 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 …]
H A Ddwc3-imx8mp.c55 void __iomem *glue_base; member
68 if (!dwc3_imx->glue_base) in imx8mp_configure_glue()
71 value = readl(dwc3_imx->glue_base + USB_CTRL0); in imx8mp_configure_glue()
83 writel(value, dwc3_imx->glue_base + USB_CTRL0); in imx8mp_configure_glue()
85 value = readl(dwc3_imx->glue_base + USB_CTRL1); in imx8mp_configure_glue()
96 writel(value, dwc3_imx->glue_base + USB_CTRL1); in imx8mp_configure_glue()
176 dwc3_imx->glue_base = devm_ioremap_resource(dev, res); in dwc3_imx8mp_probe()
177 if (IS_ERR(dwc3_imx->glue_base)) in dwc3_imx8mp_probe()
178 return PTR_ERR(dwc3_imx->glue_base); in dwc3_imx8mp_probe()
/openbmc/u-boot/drivers/usb/host/
H A Ddwc3-sti-glue.c38 phys_addr_t glue_base; member
85 reg = readl(plat->glue_base + CLKRST_CTRL); in sti_dwc3_glue_init()
90 writel(reg, plat->glue_base + CLKRST_CTRL); in sti_dwc3_glue_init()
93 reg = readl(plat->glue_base + USB2_VBUS_MNGMNT_SEL1); in sti_dwc3_glue_init()
99 writel(reg, plat->glue_base + USB2_VBUS_MNGMNT_SEL1); in sti_dwc3_glue_init()
101 setbits_le32(plat->glue_base + CLKRST_CTRL, SW_PIPEW_RESET_N); in sti_dwc3_glue_init()
119 plat->glue_base = reg[0]; in sti_dwc3_glue_ofdata_to_platdata()