Searched refs:clk_in (Results 1 – 4 of 4) sorted by relevance
/drivers/net/can/mscan/ |
D | mpc5xxx_can.c | 116 struct clk *clk_in, *clk_can; in mpc512x_can_get_clock() local 161 clk_in = devm_clk_get(&ofdev->dev, "sys"); in mpc512x_can_get_clock() 162 if (IS_ERR(clk_in)) in mpc512x_can_get_clock() 164 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock() 179 clk_in = devm_clk_get(&ofdev->dev, "ref"); in mpc512x_can_get_clock() 180 if (IS_ERR(clk_in)) in mpc512x_can_get_clock() 183 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock() 214 clk_in = devm_clk_get(&ofdev->dev, "sys"); in mpc512x_can_get_clock() 216 clk_in = devm_clk_get(&ofdev->dev, "ref"); in mpc512x_can_get_clock() 217 if (IS_ERR(clk_in)) in mpc512x_can_get_clock() [all …]
|
/drivers/clk/ |
D | clk-cs2000-cp.c | 77 struct clk *clk_in; member 399 struct clk *clk_in, *ref_clk; in cs2000_clk_get() local 401 clk_in = devm_clk_get(dev, "clk_in"); in cs2000_clk_get() 403 if (IS_ERR(clk_in)) in cs2000_clk_get() 411 priv->clk_in = clk_in; in cs2000_clk_get() 440 parent_names[CLK_IN] = __clk_get_name(priv->clk_in); in cs2000_clk_register()
|
/drivers/mmc/host/ |
D | mxcmmc.c | 778 unsigned int clk_in = clk_get_rate(host->clk_per); in mxcmci_set_clk_rate() local 784 x = (clk_in / (divider + 1)); in mxcmci_set_clk_rate() 804 prescaler, divider, clk_in, clk_ios); in mxcmci_set_clk_rate()
|
/drivers/i2c/busses/ |
D | i2c-cadence.c | 1063 static int cdns_i2c_setclk(unsigned long clk_in, struct cdns_i2c *id) in cdns_i2c_setclk() argument 1070 ret = cdns_i2c_calc_divs(&fscl, clk_in, &div_a, &div_b); in cdns_i2c_setclk()
|