Searched refs:dwc3_data (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/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 …]
|