Home
last modified time | relevance | path

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

/linux/drivers/clk/
H A Dclk-loongson2.c40 u8 div_width; member
53 u8 div_width; member
67 .div_width = _dwidth, \
81 .div_width = _dwidth, \
93 .div_width = _dwidth, \
219 div = loongson2_rate_part(val, clk->div_shift, clk->div_width); in loongson2_pll_recalc_rate()
235 mult = loongson2_rate_part(val, clk->div_shift, clk->div_width) + 1; in loongson2_freqscale_recalc_rate()
269 clk->div_width = cld->div_width; in loongson2_clk_register()
325 p->div_shift, p->div_width, in loongson2_clk_probe()
H A Dclk-sp7021.c53 int div_width; member
406 u32 max = 1 << clk->div_width; in sp_pll_calc_div()
423 } else if (clk->div_width == DIV_A) { in sp_pll_round_rate()
425 } else if (clk->div_width == DIV_TV) { in sp_pll_round_rate()
445 } else if (clk->div_width == DIV_A) { in sp_pll_recalc_rate()
447 } else if (clk->div_width == DIV_TV) { in sp_pll_recalc_rate()
473 u32 fbdiv = ((reg >> clk->div_shift) & ((1 << clk->div_width) - 1)) + 1; in sp_pll_recalc_rate()
492 } else if (clk->div_width == DIV_A) { in sp_pll_set_rate()
494 } else if (clk->div_width == DIV_TV) { in sp_pll_set_rate()
496 } else if (clk->div_width) { in sp_pll_set_rate()
[all …]
H A Dclk-bm1880.c121 s8 div_width; member
153 .div_width = _div_width, \
813 div_hws->div.width = clks->div_width; in bm1880_clk_register_composite()
H A Dclk-k210.c36 u8 div_width; member
56 .div_width = (_width), \
760 div_val = (reg >> cfg->div_shift) & GENMASK(cfg->div_width - 1, 0); in k210_clk_get_rate()
/linux/drivers/clk/rockchip/
H A Dclk.h594 u8 div_width; member
617 .div_width = dw, \
639 .div_width = dw, \
657 .div_width = dw, \
675 .div_width = dw, \
715 .div_width = dw, \
734 .div_width = dw, \
750 .div_width = 16, \
865 .div_width = w, \
880 .div_width = w, \
[all …]
H A Dclk-ddr.c22 int div_width; member
94 int div_shift, int div_width, in rockchip_clk_register_ddrclk() argument
130 ddrclk->div_width = div_width; in rockchip_clk_register_ddrclk()
H A Dclk.c43 int div_offset, u8 div_shift, u8 div_width, u8 div_flags, in rockchip_clk_register_branch() argument
85 if (div_width > 0) { in rockchip_clk_register_branch()
98 div->width = div_width; in rockchip_clk_register_branch()
493 list->div_shift, list->div_width, in rockchip_clk_register_branches()
500 list->div_shift, list->div_width, in rockchip_clk_register_branches()
518 list->div_width, list->div_flags, in rockchip_clk_register_branches()
537 list->div_shift, list->div_width, in rockchip_clk_register_branches()
561 list->div_shift, list->div_width, in rockchip_clk_register_branches()
571 list->div_width, list->div_flags, in rockchip_clk_register_branches()
H A Dclk-half-divider.c163 u8 div_shift, u8 div_width, in rockchip_clk_register_halfdiv() argument
202 if (div_width > 0) { in rockchip_clk_register_halfdiv()
210 div->width = div_width; in rockchip_clk_register_halfdiv()
/linux/drivers/clk/x86/
H A Dclk-cgu.h183 u8 div_width; member
233 .div_width = _width, \
273 .div_width = _width, \
293 .div_width = _width, \
H A Dclk-cgu.c31 list->div_width, list->div_val); in lgm_clk_register_fixed()
200 u8 width = list->div_width; in lgm_clk_register_divider()
252 list->div_width, list->div_val); in lgm_clk_register_fixed_factor()
/linux/drivers/clk/mediatek/
H A Dclk-mtk.h191 unsigned char div_width; member
202 .div_width = _width, \
H A Dclk-mt8167-apmixedsys.c83 .div_width = _width, \
H A Dclk-mt8516.c475 .div_width = _width, \
H A Dclk-mt8167.c664 .div_width = _width, \
H A Dclk-mt8365.c548 .div_width = _width, \
H A Dclk-mtk.c419 mcd->div_width, mcd->clk_divider_flags, lock); in mtk_clk_register_dividers()
/linux/drivers/clk/socfpga/
H A Dclk-gate-s10.c152 socfpga_clk->width = clks->div_width; in s10_register_gate()
210 socfpga_clk->width = clks->div_width; in agilex_register_gate()
H A Dstratix10-clk.h70 u8 div_width; member