Lines Matching refs:clkdata
32 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_is_prepared() local
35 return clkdata->xtal_ena; in wm831x_xtal_is_prepared()
41 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_xtal_recalc_rate() local
44 if (clkdata->xtal_ena) in wm831x_xtal_recalc_rate()
73 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_is_prepared() local
75 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_is_prepared()
90 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_prepare() local
92 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_prepare()
108 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_unprepare() local
110 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_unprepare()
121 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_recalc_rate() local
123 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_recalc_rate()
158 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_set_rate() local
160 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_set_rate()
183 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_fll_get_parent() local
185 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_get_parent()
238 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_is_prepared() local
240 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_is_prepared()
255 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_prepare() local
257 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_prepare()
278 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_unprepare() local
280 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_unprepare()
304 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_get_parent() local
306 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_get_parent()
324 struct wm831x_clk *clkdata = container_of(hw, struct wm831x_clk, in wm831x_clkout_set_parent() local
326 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_set_parent()
352 struct wm831x_clk *clkdata; in wm831x_clk_probe() local
355 clkdata = devm_kzalloc(&pdev->dev, sizeof(*clkdata), GFP_KERNEL); in wm831x_clk_probe()
356 if (!clkdata) in wm831x_clk_probe()
359 clkdata->wm831x = wm831x; in wm831x_clk_probe()
368 clkdata->xtal_ena = ret & WM831X_XTAL_ENA; in wm831x_clk_probe()
370 clkdata->xtal_hw.init = &wm831x_xtal_init; in wm831x_clk_probe()
371 ret = devm_clk_hw_register(&pdev->dev, &clkdata->xtal_hw); in wm831x_clk_probe()
375 clkdata->fll_hw.init = &wm831x_fll_init; in wm831x_clk_probe()
376 ret = devm_clk_hw_register(&pdev->dev, &clkdata->fll_hw); in wm831x_clk_probe()
380 clkdata->clkout_hw.init = &wm831x_clkout_init; in wm831x_clk_probe()
381 ret = devm_clk_hw_register(&pdev->dev, &clkdata->clkout_hw); in wm831x_clk_probe()
385 platform_set_drvdata(pdev, clkdata); in wm831x_clk_probe()