Lines Matching refs:susp_clk
926 ret = clk_prepare_enable(dwc->susp_clk); in dwc3_clk_enable()
943 clk_disable_unprepare(dwc->susp_clk); in dwc3_clk_enable()
955 clk_disable_unprepare(dwc->susp_clk); in dwc3_clk_disable()
1176 if (!dwc->susp_clk) in dwc3_set_power_down_clk_scale()
1192 scale = DIV_ROUND_UP(clk_get_rate(dwc->susp_clk), 16000); in dwc3_set_power_down_clk_scale()
2028 dwc->susp_clk = devm_clk_get_optional(dev, "suspend"); in dwc3_get_clocks()
2029 if (IS_ERR(dwc->susp_clk)) { in dwc3_get_clocks()
2030 return dev_err_probe(dev, PTR_ERR(dwc->susp_clk), in dwc3_get_clocks()
2034 if (dwc->susp_clk == NULL) { in dwc3_get_clocks()
2035 dwc->susp_clk = devm_clk_get_optional(dev, "suspend_clk"); in dwc3_get_clocks()
2036 if (IS_ERR(dwc->susp_clk)) { in dwc3_get_clocks()
2037 return dev_err_probe(dev, PTR_ERR(dwc->susp_clk), in dwc3_get_clocks()