Lines Matching refs:usb_bus_clock
54 static struct clk *usb_bus_clock; variable
1742 usb_bus_clock = clk_get(NULL, "usb-bus-gadget"); in s3c2410_udc_probe()
1743 if (IS_ERR(usb_bus_clock)) { in s3c2410_udc_probe()
1745 return PTR_ERR(usb_bus_clock); in s3c2410_udc_probe()
1748 clk_prepare_enable(usb_bus_clock); in s3c2410_udc_probe()
1874 clk_disable_unprepare(usb_bus_clock); in s3c2410_udc_probe()
1875 clk_put(usb_bus_clock); in s3c2410_udc_probe()
1876 usb_bus_clock = NULL; in s3c2410_udc_probe()
1914 if (!IS_ERR(usb_bus_clock) && usb_bus_clock != NULL) { in s3c2410_udc_remove()
1915 clk_disable_unprepare(usb_bus_clock); in s3c2410_udc_remove()
1916 clk_put(usb_bus_clock); in s3c2410_udc_remove()
1917 usb_bus_clock = NULL; in s3c2410_udc_remove()