Home
last modified time | relevance | path

Searched refs:udc_clock (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/usb/gadget/udc/
Ds3c2410_udc.c57 static struct clk *udc_clock; variable
1775 udc_clock = clk_get(NULL, "usb-device"); in s3c2410_udc_probe()
1776 if (IS_ERR(udc_clock)) { in s3c2410_udc_probe()
1778 return PTR_ERR(udc_clock); in s3c2410_udc_probe()
1781 clk_prepare_enable(udc_clock); in s3c2410_udc_probe()
1932 if (!IS_ERR(udc_clock) && udc_clock != NULL) { in s3c2410_udc_remove()
1933 clk_disable_unprepare(udc_clock); in s3c2410_udc_remove()
1934 clk_put(udc_clock); in s3c2410_udc_remove()
1935 udc_clock = NULL; in s3c2410_udc_remove()