Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/clk/rockchip/
Dclk.h495 int div_shift, int div_width,
541 u8 div_width; member
564 .div_width = dw, \
586 .div_width = dw, \
604 .div_width = dw, \
622 .div_width = dw, \
662 .div_width = dw, \
681 .div_width = dw, \
697 .div_width = 16, \
714 .div_width = 16, \
[all …]
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()
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()
475 list->div_shift, list->div_width, in rockchip_clk_register_branches()
482 list->div_shift, list->div_width, in rockchip_clk_register_branches()
500 list->div_width, list->div_flags, in rockchip_clk_register_branches()
519 list->div_shift, list->div_width, in rockchip_clk_register_branches()
543 list->div_shift, list->div_width, in rockchip_clk_register_branches()
553 list->div_width, list->div_flags, in rockchip_clk_register_branches()
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-6.6.21/drivers/clk/
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 …]
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()
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-6.6.21/drivers/clk/x86/
Dclk-cgu.h183 u8 div_width; member
233 .div_width = _width, \
273 .div_width = _width, \
293 .div_width = _width, \
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-6.6.21/drivers/clk/mediatek/
Dclk-mtk.h191 unsigned char div_width; member
202 .div_width = _width, \
Dclk-mt8167-apmixedsys.c83 .div_width = _width, \
Dclk-mt8516.c475 .div_width = _width, \
Dclk-mt8167.c664 .div_width = _width, \
Dclk-mt8365.c548 .div_width = _width, \
Dclk-mtk.c418 mcd->div_width, mcd->clk_divider_flags, lock); in mtk_clk_register_dividers()
/linux-6.6.21/drivers/clk/socfpga/
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()
Dstratix10-clk.h70 u8 div_width; member