Searched refs:dwc3_data (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/usb/dwc3/ |
D | dwc3-st.c | 115 static int st_dwc3_drd_init(struct st_dwc3 *dwc3_data) in st_dwc3_drd_init() argument 120 err = regmap_read(dwc3_data->regmap, dwc3_data->syscfg_reg_off, &val); in st_dwc3_drd_init() 126 switch (dwc3_data->dr_mode) { in st_dwc3_drd_init() 161 dev_err(dwc3_data->dev, "Unsupported mode of operation %d\n", in st_dwc3_drd_init() 162 dwc3_data->dr_mode); in st_dwc3_drd_init() 166 return regmap_write(dwc3_data->regmap, dwc3_data->syscfg_reg_off, val); in st_dwc3_drd_init() 173 static void st_dwc3_init(struct st_dwc3 *dwc3_data) in st_dwc3_init() argument 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() [all …]
|
D | dwc3-am62.c | 92 struct dwc3_data { struct 118 static inline u32 dwc3_ti_readl(struct dwc3_data *data, u32 offset) in dwc3_ti_readl() argument 123 static inline void dwc3_ti_writel(struct dwc3_data *data, u32 offset, u32 value) in dwc3_ti_writel() 128 static int phy_syscon_pll_refclk(struct dwc3_data *data) in phy_syscon_pll_refclk() 164 struct dwc3_data *data; in dwc3_ti_probe() 261 struct dwc3_data *data = platform_get_drvdata(pdev); in dwc3_ti_remove() 283 struct dwc3_data *data = dev_get_drvdata(dev); in dwc3_ti_suspend_common() 292 struct dwc3_data *data = dev_get_drvdata(dev); in dwc3_ti_resume_common()
|