Searched refs:xtal_hw (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/clk/mvebu/ |
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()
|
/Linux-v5.4/drivers/clk/ |
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() 365 clkdata->xtal_hw.init = &wm831x_xtal_init; in wm831x_clk_probe() 366 ret = devm_clk_hw_register(&pdev->dev, &clkdata->xtal_hw); in wm831x_clk_probe()
|