Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/gadget/udc/
Dfsl_mxc_udc.c21 static struct clk *mxc_per_clk; variable
49 mxc_per_clk = devm_clk_get(&pdev->dev, "per"); in fsl_udc_clk_init()
50 if (IS_ERR(mxc_per_clk)) { in fsl_udc_clk_init()
52 return PTR_ERR(mxc_per_clk); in fsl_udc_clk_init()
57 clk_prepare_enable(mxc_per_clk); in fsl_udc_clk_init()
61 freq = clk_get_rate(mxc_per_clk); in fsl_udc_clk_init()
75 clk_disable_unprepare(mxc_per_clk); in fsl_udc_clk_init()
76 mxc_per_clk = NULL; in fsl_udc_clk_init()
109 clk_disable_unprepare(mxc_per_clk); in fsl_udc_clk_finalize()
110 mxc_per_clk = NULL; in fsl_udc_clk_finalize()
[all …]