Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/
Dclk-loongson1.c44 struct ls1x_clk { struct
51 #define to_ls1x_clk(_hw) container_of(_hw, struct ls1x_clk, hw) argument
63 struct ls1x_clk *ls1x_clk = to_ls1x_clk(hw); in ls1x_pll_recalc_rate() local
64 const struct ls1x_clk_pll_data *d = ls1x_clk->data; in ls1x_pll_recalc_rate()
67 val = readl(ls1x_clk->reg); in ls1x_pll_recalc_rate()
85 struct ls1x_clk *ls1x_clk = to_ls1x_clk(hw); in ls1x_divider_recalc_rate() local
86 const struct ls1x_clk_div_data *d = ls1x_clk->data; in ls1x_divider_recalc_rate()
89 val = readl(ls1x_clk->reg) >> d->shift; in ls1x_divider_recalc_rate()
99 struct ls1x_clk *ls1x_clk = to_ls1x_clk(hw); in ls1x_divider_round_rate() local
100 const struct ls1x_clk_div_data *d = ls1x_clk->data; in ls1x_divider_round_rate()
[all …]