Lines Matching refs:mxc_usb_clk
24 static struct clk *mxc_usb_clk;
51 mxc_usb_clk = clk_get(&pdev->dev, "usb");
52 if (IS_ERR(mxc_usb_clk)) {
54 ret = PTR_ERR(mxc_usb_clk);
59 freq = clk_get_rate(mxc_usb_clk);
68 ret = clk_enable(mxc_usb_clk);
78 clk_put(mxc_usb_clk);
79 mxc_usb_clk = NULL;
107 clk_disable(mxc_usb_clk);
108 clk_put(mxc_usb_clk);
109 mxc_usb_clk = NULL;
115 if (mxc_usb_clk) {
116 clk_disable(mxc_usb_clk);
117 clk_put(mxc_usb_clk);