exynos 51 drivers/usb/dwc3/dwc3-exynos.c struct dwc3_exynos *exynos; exynos 57 drivers/usb/dwc3/dwc3-exynos.c exynos = devm_kzalloc(dev, sizeof(*exynos), GFP_KERNEL); exynos 58 drivers/usb/dwc3/dwc3-exynos.c if (!exynos) exynos 62 drivers/usb/dwc3/dwc3-exynos.c exynos->dev = dev; exynos 63 drivers/usb/dwc3/dwc3-exynos.c exynos->num_clks = driver_data->num_clks; exynos 64 drivers/usb/dwc3/dwc3-exynos.c exynos->clk_names = (const char **)driver_data->clk_names; exynos 65 drivers/usb/dwc3/dwc3-exynos.c exynos->suspend_clk_idx = driver_data->suspend_clk_idx; exynos 67 drivers/usb/dwc3/dwc3-exynos.c platform_set_drvdata(pdev, exynos); exynos 69 drivers/usb/dwc3/dwc3-exynos.c for (i = 0; i < exynos->num_clks; i++) { exynos 70 drivers/usb/dwc3/dwc3-exynos.c exynos->clks[i] = devm_clk_get(dev, exynos->clk_names[i]); exynos 71 drivers/usb/dwc3/dwc3-exynos.c if (IS_ERR(exynos->clks[i])) { exynos 73 drivers/usb/dwc3/dwc3-exynos.c exynos->clk_names[i]); exynos 74 drivers/usb/dwc3/dwc3-exynos.c return PTR_ERR(exynos->clks[i]); exynos 78 drivers/usb/dwc3/dwc3-exynos.c for (i = 0; i < exynos->num_clks; i++) { exynos 79 drivers/usb/dwc3/dwc3-exynos.c ret = clk_prepare_enable(exynos->clks[i]); exynos 82 drivers/usb/dwc3/dwc3-exynos.c clk_disable_unprepare(exynos->clks[i]); exynos 87 drivers/usb/dwc3/dwc3-exynos.c if (exynos->suspend_clk_idx >= 0) exynos 88 drivers/usb/dwc3/dwc3-exynos.c clk_prepare_enable(exynos->clks[exynos->suspend_clk_idx]); exynos 90 drivers/usb/dwc3/dwc3-exynos.c exynos->vdd33 = devm_regulator_get(dev, "vdd33"); exynos 91 drivers/usb/dwc3/dwc3-exynos.c if (IS_ERR(exynos->vdd33)) { exynos 92 drivers/usb/dwc3/dwc3-exynos.c ret = PTR_ERR(exynos->vdd33); exynos 95 drivers/usb/dwc3/dwc3-exynos.c ret = regulator_enable(exynos->vdd33); exynos 101 drivers/usb/dwc3/dwc3-exynos.c exynos->vdd10 = devm_regulator_get(dev, "vdd10"); exynos 102 drivers/usb/dwc3/dwc3-exynos.c if (IS_ERR(exynos->vdd10)) { exynos 103 drivers/usb/dwc3/dwc3-exynos.c ret = PTR_ERR(exynos->vdd10); exynos 106 drivers/usb/dwc3/dwc3-exynos.c ret = regulator_enable(exynos->vdd10); exynos 127 drivers/usb/dwc3/dwc3-exynos.c regulator_disable(exynos->vdd10); exynos 129 drivers/usb/dwc3/dwc3-exynos.c regulator_disable(exynos->vdd33); exynos 131 drivers/usb/dwc3/dwc3-exynos.c for (i = exynos->num_clks - 1; i >= 0; i--) exynos 132 drivers/usb/dwc3/dwc3-exynos.c clk_disable_unprepare(exynos->clks[i]); exynos 134 drivers/usb/dwc3/dwc3-exynos.c if (exynos->suspend_clk_idx >= 0) exynos 135 drivers/usb/dwc3/dwc3-exynos.c clk_disable_unprepare(exynos->clks[exynos->suspend_clk_idx]); exynos 142 drivers/usb/dwc3/dwc3-exynos.c struct dwc3_exynos *exynos = platform_get_drvdata(pdev); exynos 147 drivers/usb/dwc3/dwc3-exynos.c for (i = exynos->num_clks - 1; i >= 0; i--) exynos 148 drivers/usb/dwc3/dwc3-exynos.c clk_disable_unprepare(exynos->clks[i]); exynos 150 drivers/usb/dwc3/dwc3-exynos.c if (exynos->suspend_clk_idx >= 0) exynos 151 drivers/usb/dwc3/dwc3-exynos.c clk_disable_unprepare(exynos->clks[exynos->suspend_clk_idx]); exynos 153 drivers/usb/dwc3/dwc3-exynos.c regulator_disable(exynos->vdd33); exynos 154 drivers/usb/dwc3/dwc3-exynos.c regulator_disable(exynos->vdd10); exynos 195 drivers/usb/dwc3/dwc3-exynos.c struct dwc3_exynos *exynos = dev_get_drvdata(dev); exynos 198 drivers/usb/dwc3/dwc3-exynos.c for (i = exynos->num_clks - 1; i >= 0; i--) exynos 199 drivers/usb/dwc3/dwc3-exynos.c clk_disable_unprepare(exynos->clks[i]); exynos 201 drivers/usb/dwc3/dwc3-exynos.c regulator_disable(exynos->vdd33); exynos 202 drivers/usb/dwc3/dwc3-exynos.c regulator_disable(exynos->vdd10); exynos 209 drivers/usb/dwc3/dwc3-exynos.c struct dwc3_exynos *exynos = dev_get_drvdata(dev); exynos 212 drivers/usb/dwc3/dwc3-exynos.c ret = regulator_enable(exynos->vdd33); exynos 217 drivers/usb/dwc3/dwc3-exynos.c ret = regulator_enable(exynos->vdd10); exynos 223 drivers/usb/dwc3/dwc3-exynos.c for (i = 0; i < exynos->num_clks; i++) { exynos 224 drivers/usb/dwc3/dwc3-exynos.c ret = clk_prepare_enable(exynos->clks[i]); exynos 227 drivers/usb/dwc3/dwc3-exynos.c clk_disable_unprepare(exynos->clks[i]);