Searched refs:clkdata (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/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-tps68470.c | 77 struct tps68470_clkdata *clkdata = to_tps68470_clkdata(hw); in tps68470_clk_is_prepared() local 80 if (regmap_read(clkdata->regmap, TPS68470_REG_PLLCTL, &val)) in tps68470_clk_is_prepared() 88 struct tps68470_clkdata *clkdata = to_tps68470_clkdata(hw); in tps68470_clk_prepare() local 90 regmap_write(clkdata->regmap, TPS68470_REG_CLKCFG1, in tps68470_clk_prepare() 94 regmap_update_bits(clkdata->regmap, TPS68470_REG_PLLCTL, in tps68470_clk_prepare() 108 struct tps68470_clkdata *clkdata = to_tps68470_clkdata(hw); in tps68470_clk_unprepare() local 111 regmap_update_bits(clkdata->regmap, TPS68470_REG_PLLCTL, TPS68470_PLL_EN_MASK, 0); in tps68470_clk_unprepare() 114 regmap_write(clkdata->regmap, TPS68470_REG_CLKCFG1, 0); in tps68470_clk_unprepare() 119 struct tps68470_clkdata *clkdata = to_tps68470_clkdata(hw); in tps68470_clk_recalc_rate() local 121 return clkdata->rate; in tps68470_clk_recalc_rate() [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()
|
/linux-6.1.9/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 …]
|