Searched refs:clkdata (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-wm831x.c | 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() [all …]
|
D | clk-twl6040.c | 129 struct twl6040_pdmclk *clkdata; in twl6040_pdmclk_probe() local 132 clkdata = devm_kzalloc(&pdev->dev, sizeof(*clkdata), GFP_KERNEL); in twl6040_pdmclk_probe() 133 if (!clkdata) in twl6040_pdmclk_probe() 136 clkdata->dev = &pdev->dev; in twl6040_pdmclk_probe() 137 clkdata->twl6040 = twl6040; in twl6040_pdmclk_probe() 139 clkdata->pdmclk_hw.init = &twl6040_pdmclk_init; in twl6040_pdmclk_probe() 140 ret = devm_clk_hw_register(&pdev->dev, &clkdata->pdmclk_hw); in twl6040_pdmclk_probe() 144 platform_set_drvdata(pdev, clkdata); in twl6040_pdmclk_probe() 147 &clkdata->pdmclk_hw); in twl6040_pdmclk_probe()
|
/kernel/linux/linux-5.10/drivers/clk/axis/ |
D | clk-artpec6.c | 26 static struct artpec6_clkctrl_drvdata *clkdata; variable 52 clkdata = kzalloc(sizeof(*clkdata), GFP_KERNEL); in of_artpec6_clkctrl_setup() 53 if (!clkdata) in of_artpec6_clkctrl_setup() 56 clks = clkdata->clk_table; in of_artpec6_clkctrl_setup() 61 clkdata->syscon_base = of_iomap(np, 0); in of_artpec6_clkctrl_setup() 62 BUG_ON(clkdata->syscon_base == NULL); in of_artpec6_clkctrl_setup() 65 pll_mode = (readl(clkdata->syscon_base) >> 6) & 3; in of_artpec6_clkctrl_setup() 107 clkdata->clk_data.clks = clkdata->clk_table; in of_artpec6_clkctrl_setup() 108 clkdata->clk_data.clk_num = ARTPEC6_CLK_NUMCLOCKS; in of_artpec6_clkctrl_setup() 110 of_clk_add_provider(np, of_clk_src_onecell_get, &clkdata->clk_data); in of_artpec6_clkctrl_setup() [all …]
|