Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/clk/tegra/
Dclk-divider.c16 #define get_mul(d) (1 << d->frac_width)
27 divider->frac_width, divider->flags); in get_div()
137 u8 frac_width, spinlock_t *lock) in tegra_clk_register_divider() argument
159 divider->frac_width = frac_width; in tegra_clk_register_divider()
Dclk-utils.c13 u8 frac_width, u8 flags) in div_frac_get() argument
21 mul = 1 << frac_width; in div_frac_get()
Dclk.h122 u8 frac_width; member
137 u8 frac_width, spinlock_t *lock);
658 .frac_width = _div_frac_width, \
910 u8 frac_width, u8 flags);
Dclk-tegra-super-cclk.c168 super->frac_div.frac_width = 1; in tegra_clk_register_super_cclk()
Dclk-super.c270 super->frac_div.frac_width = 1; in tegra_clk_register_super_clk()
Dclk-tegra-periph.c933 data->periph.divider.frac_width, in div_clk_init()
/linux-6.6.21/drivers/clk/
Dclk-loongson1.c31 u8 frac_width; member
70 if (d->frac_width) in ls1x_pll_recalc_rate()
71 rate += ls1x_pll_rate_part(val, d->frac_shift, d->frac_width); in ls1x_pll_recalc_rate()
163 .frac_width = (f_width), \
/linux-6.6.21/drivers/clk/hisilicon/
Dclk-hi3559a.c31 const u8 frac_width; member
48 u8 frac_width; member
386 val &= ~(((1 << clk->frac_width) - 1) << clk->frac_shift); in clk_pll_set_rate()
417 val &= ((1 << clk->frac_width) - 1); in clk_pll_recalc_rate()
479 p_clk->frac_width = clks[i].frac_width; in hisi_clk_register_pll()
/linux-6.6.21/drivers/clk/bcm/
Dclk-kona.h60 (div)->u.s.frac_width > 0)
264 u32 frac_width; /* field fraction width */ member
306 .u.s.frac_width = (_frac_width), \
Dclk-kona-setup.c344 if (div->u.s.frac_width > div->u.s.width) { in div_valid()
347 div->u.s.frac_width, div->u.s.width); in div_valid()
379 return div->u.s.frac_width + pre_div->u.s.frac_width <= limit; in kona_dividers_valid()
Dclk-kona.c52 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value()
68 combined <<= div->u.s.frac_width; in scaled_div_build()
106 return (u32)(scaled_div - ((u64)1 << div->u.s.frac_width)); in divider()
116 return (u64)rate << div->u.s.frac_width; in scale_rate()