Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Dimsttfb.c425 __u32 clk_m, clk_n, clk_p; in getclkMHz() local
427 clk_m = par->init.pclk_m; in getclkMHz()
431 return 20 * (clk_m + 1) / ((clk_n + 1) * (clk_p ? 2 * clk_p : 1)); in getclkMHz()
437 __u32 clk_m, clk_n, x, stage, spilled; in setclkMHz() local
439 clk_m = clk_n = 0; in setclkMHz()
444 clk_m++; in setclkMHz()
450 x = 20 * (clk_m + 1) / (clk_n + 1); in setclkMHz()
461 par->init.pclk_m = clk_m; in setclkMHz()
/drivers/usb/host/
Dxhci-tegra.c247 struct clk *clk_m; member
364 err = clk_set_parent(clk, tegra->clk_m); in tegra_xusb_set_ss_clk()
1520 tegra->clk_m = devm_clk_get(&pdev->dev, "clk_m"); in tegra_xusb_probe()
1521 if (IS_ERR(tegra->clk_m)) { in tegra_xusb_probe()
1522 err = PTR_ERR(tegra->clk_m); in tegra_xusb_probe()