Home
last modified time | relevance | path

Searched refs:clkdata (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/clk/
Dclk-wm831x.c32 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()
[all …]
Dclk-twl6040.c143 struct twl6040_pdmclk *clkdata; in twl6040_pdmclk_probe() local
146 clkdata = devm_kzalloc(&pdev->dev, sizeof(*clkdata), GFP_KERNEL); in twl6040_pdmclk_probe()
147 if (!clkdata) in twl6040_pdmclk_probe()
150 clkdata->dev = &pdev->dev; in twl6040_pdmclk_probe()
151 clkdata->twl6040 = twl6040; in twl6040_pdmclk_probe()
153 clkdata->pdmclk_hw.init = &twl6040_pdmclk_init; in twl6040_pdmclk_probe()
154 ret = devm_clk_hw_register(&pdev->dev, &clkdata->pdmclk_hw); in twl6040_pdmclk_probe()
158 platform_set_drvdata(pdev, clkdata); in twl6040_pdmclk_probe()
162 &clkdata->pdmclk_hw); in twl6040_pdmclk_probe()
/linux-4.19.296/drivers/clk/axis/
Dclk-artpec6.c29 static struct artpec6_clkctrl_drvdata *clkdata; variable
55 clkdata = kzalloc(sizeof(*clkdata), GFP_KERNEL); in of_artpec6_clkctrl_setup()
56 if (!clkdata) in of_artpec6_clkctrl_setup()
59 clks = clkdata->clk_table; in of_artpec6_clkctrl_setup()
64 clkdata->syscon_base = of_iomap(np, 0); in of_artpec6_clkctrl_setup()
65 BUG_ON(clkdata->syscon_base == NULL); in of_artpec6_clkctrl_setup()
68 pll_mode = (readl(clkdata->syscon_base) >> 6) & 3; in of_artpec6_clkctrl_setup()
110 clkdata->clk_data.clks = clkdata->clk_table; in of_artpec6_clkctrl_setup()
111 clkdata->clk_data.clk_num = ARTPEC6_CLK_NUMCLOCKS; in of_artpec6_clkctrl_setup()
113 of_clk_add_provider(np, of_clk_src_onecell_get, &clkdata->clk_data); in of_artpec6_clkctrl_setup()
[all …]