Searched refs:clk_i (Results 1 – 3 of 3) sorted by relevance
159 int clk_i, retval = -ENODEV; in mv_ehci_probe() local188 for (clk_i = 0; clk_i < ehci_mv->clknum; clk_i++) { in mv_ehci_probe()189 ehci_mv->clk[clk_i] = in mv_ehci_probe()190 clk_get(&pdev->dev, pdata->clkname[clk_i]); in mv_ehci_probe()191 if (IS_ERR(ehci_mv->clk[clk_i])) { in mv_ehci_probe()193 pdata->clkname[clk_i]); in mv_ehci_probe()194 retval = PTR_ERR(ehci_mv->clk[clk_i]); in mv_ehci_probe()315 for (clk_i--; clk_i >= 0; clk_i--) in mv_ehci_probe()316 clk_put(ehci_mv->clk[clk_i]); in mv_ehci_probe()329 int clk_i; in mv_ehci_remove() local[all …]
665 int clk_i; in mv_otg_remove() local690 for (clk_i = 0; clk_i <= mvotg->clknum; clk_i++) in mv_otg_remove()691 clk_put(mvotg->clk[clk_i]); in mv_otg_remove()708 int retval = 0, clk_i, i; in mv_otg_probe() local735 for (clk_i = 0; clk_i < mvotg->clknum; clk_i++) { in mv_otg_probe()736 mvotg->clk[clk_i] = clk_get(&pdev->dev, pdata->clkname[clk_i]); in mv_otg_probe()737 if (IS_ERR(mvotg->clk[clk_i])) { in mv_otg_probe()738 retval = PTR_ERR(mvotg->clk[clk_i]); in mv_otg_probe()900 for (clk_i--; clk_i >= 0; clk_i--) in mv_otg_probe()901 clk_put(mvotg->clk[clk_i]); in mv_otg_probe()
2097 int clk_i; in mv_udc_remove() local2140 for (clk_i = 0; clk_i <= udc->clknum; clk_i++) in mv_udc_remove()2141 clk_put(udc->clk[clk_i]); in mv_udc_remove()2159 int clk_i = 0; in mv_udc_probe() local2188 for (clk_i = 0; clk_i < udc->clknum; clk_i++) { in mv_udc_probe()2189 udc->clk[clk_i] = clk_get(&dev->dev, pdata->clkname[clk_i]); in mv_udc_probe()2190 if (IS_ERR(udc->clk[clk_i])) { in mv_udc_probe()2191 retval = PTR_ERR(udc->clk[clk_i]); in mv_udc_probe()2395 for (clk_i--; clk_i >= 0; clk_i--) in mv_udc_probe()2396 clk_put(udc->clk[clk_i]); in mv_udc_probe()