Searched refs:frac_val (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/clk/hisilicon/ |
H A D | clk-hi3559a.c | 351 static void hi3559av100_calc_pll(u32 *frac_val, u32 *postdiv1_val, in hi3559av100_calc_pll() argument 362 *frac_val = 0; in hi3559av100_calc_pll() 369 *frac_val = rem; in hi3559av100_calc_pll() 377 u32 frac_val, postdiv1_val, postdiv2_val, fbdiv_val, refdiv_val; in clk_pll_set_rate() local 382 hi3559av100_calc_pll(&frac_val, &postdiv1_val, &postdiv2_val, in clk_pll_set_rate() 390 val |= frac_val << clk->frac_shift; in clk_pll_set_rate() 410 u64 frac_val, fbdiv_val, refdiv_val; in clk_pll_recalc_rate() local 418 frac_val = val; in clk_pll_recalc_rate() 442 tmp = 24000000 * fbdiv_val + (24000000 * frac_val) / (1 << 24); in clk_pll_recalc_rate()
|
/openbmc/linux/drivers/iio/frequency/ |
H A D | admv4420.c | 102 u32 frac_val; member 138 u32 frac_val, u32 mod_val) in admv4420_set_n_counter() argument 142 put_unaligned_le32(frac_val, st->transf_buf); in admv4420_set_n_counter() 248 st->n_counter.int_val = div_u64_rem(st->n_counter.n_counter, 10, &st->n_counter.frac_val); in admv4420_calc_parameters() 331 st->n_counter.frac_val, in admv4420_setup()
|
/openbmc/linux/drivers/accel/habanalabs/include/common/ |
H A D | cpucp_if.h | 1215 struct frac_val { struct 1271 struct frac_val bandwidth; 1272 struct frac_val lat;
|