Lines Matching refs:clkdata
27 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_is_prepared() local
30 return clkdata->xtal_ena; in wm831x_xtal_is_prepared()
36 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_recalc_rate() local
39 if (clkdata->xtal_ena) in wm831x_xtal_recalc_rate()
68 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_is_prepared() local
70 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_is_prepared()
85 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_prepare() local
87 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_prepare()
103 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_unprepare() local
105 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_unprepare()
116 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_recalc_rate() local
118 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_recalc_rate()
153 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_set_rate() local
155 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_set_rate()
178 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_get_parent() local
180 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_get_parent()
233 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_is_prepared() local
235 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_is_prepared()
250 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_prepare() local
252 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_prepare()
273 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_unprepare() local
275 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_unprepare()
299 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_get_parent() local
301 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_get_parent()
319 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_set_parent() local
321 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_set_parent()
347 struct wm831x_clk *clkdata; in wm831x_clk_probe() local
350 clkdata = devm_kzalloc(&pdev->dev, sizeof(*clkdata), GFP_KERNEL); in wm831x_clk_probe()
351 if (!clkdata) in wm831x_clk_probe()
354 clkdata->wm831x = wm831x; in wm831x_clk_probe()
363 clkdata->xtal_ena = ret & WM831X_XTAL_ENA; in wm831x_clk_probe()
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()
370 clkdata->fll_hw.init = &wm831x_fll_init; in wm831x_clk_probe()
371 ret = devm_clk_hw_register(&pdev->dev, &clkdata->fll_hw); in wm831x_clk_probe()
375 clkdata->clkout_hw.init = &wm831x_clkout_init; in wm831x_clk_probe()
376 ret = devm_clk_hw_register(&pdev->dev, &clkdata->clkout_hw); in wm831x_clk_probe()
380 platform_set_drvdata(pdev, clkdata); in wm831x_clk_probe()