Searched refs:xtal_hw (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/clk/mvebu/ |
H A D | armada-37xx-xtal.c | 25 struct clk_hw *xtal_hw; in armada_3700_xtal_clock_probe() local 30 xtal_hw = devm_kzalloc(&pdev->dev, sizeof(*xtal_hw), GFP_KERNEL); in armada_3700_xtal_clock_probe() 31 if (!xtal_hw) in armada_3700_xtal_clock_probe() 34 platform_set_drvdata(pdev, xtal_hw); in armada_3700_xtal_clock_probe() 60 xtal_hw = clk_hw_register_fixed_rate(NULL, xtal_name, NULL, 0, rate); in armada_3700_xtal_clock_probe() 61 if (IS_ERR(xtal_hw)) in armada_3700_xtal_clock_probe() 62 return PTR_ERR(xtal_hw); in armada_3700_xtal_clock_probe() 63 ret = of_clk_add_hw_provider(np, of_clk_hw_simple_get, xtal_hw); in armada_3700_xtal_clock_probe()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-wm831x.c | 19 struct clk_hw xtal_hw; member 28 xtal_hw); in wm831x_xtal_is_prepared() 37 xtal_hw); in wm831x_xtal_recalc_rate() 366 clkdata->xtal_hw.init = &wm831x_xtal_init; in wm831x_clk_probe() 367 ret = devm_clk_hw_register(&pdev->dev, &clkdata->xtal_hw); in wm831x_clk_probe()
|