Searched refs:frac_width (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/clk/tegra/ |
D | clk-divider.c | 16 #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()
|
D | clk-utils.c | 13 u8 frac_width, u8 flags) in div_frac_get() argument 21 mul = 1 << frac_width; in div_frac_get()
|
D | clk.h | 122 u8 frac_width; member 137 u8 frac_width, spinlock_t *lock); 658 .frac_width = _div_frac_width, \ 910 u8 frac_width, u8 flags);
|
D | clk-tegra-super-cclk.c | 168 super->frac_div.frac_width = 1; in tegra_clk_register_super_cclk()
|
D | clk-super.c | 270 super->frac_div.frac_width = 1; in tegra_clk_register_super_clk()
|
D | clk-tegra-periph.c | 933 data->periph.divider.frac_width, in div_clk_init()
|
/linux-6.6.21/drivers/clk/ |
D | clk-loongson1.c | 31 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/ |
D | clk-hi3559a.c | 31 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/ |
D | clk-kona.h | 60 (div)->u.s.frac_width > 0) 264 u32 frac_width; /* field fraction width */ member 306 .u.s.frac_width = (_frac_width), \
|
D | clk-kona-setup.c | 344 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()
|
D | clk-kona.c | 52 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()
|