Home
last modified time | relevance | path

Searched defs:frac (Results 1 – 25 of 98) sorted by relevance

1234

/openbmc/linux/drivers/clk/spear/
H A Dclk-frac-synth.c44 struct clk_frac *frac = to_clk_frac(hw); in frac_calc_rate() local
58 struct clk_frac *frac = to_clk_frac(hw); in clk_frac_round_rate() local
68 struct clk_frac *frac = to_clk_frac(hw); in clk_frac_recalc_rate() local
95 struct clk_frac *frac = to_clk_frac(hw); in clk_frac_set_rate() local
127 struct clk_frac *frac; in clk_register_frac() local
/openbmc/linux/drivers/clk/mxs/
H A Dclk-frac.c36 struct clk_frac *frac = to_clk_frac(hw); in clk_frac_recalc_rate() local
50 struct clk_frac *frac = to_clk_frac(hw); in clk_frac_round_rate() local
76 struct clk_frac *frac = to_clk_frac(hw); in clk_frac_set_rate() local
113 struct clk_frac *frac; in mxs_clk_frac() local
H A Dclk-ref.c52 u8 frac = (readl_relaxed(ref->reg) >> (ref->idx * 8)) & 0x3f; in clk_ref_recalc_rate() local
65 u8 frac; in clk_ref_round_rate() local
90 u8 frac, shift = ref->idx * 8; in clk_ref_set_rate() local
/openbmc/linux/drivers/clk/imx/
H A Dclk-pfd.c57 u8 frac = (readl_relaxed(pfd->reg) >> (pfd->idx * 8)) & 0x3f; in clk_pfd_recalc_rate() local
69 u8 frac; in clk_pfd_round_rate() local
90 u8 frac; in clk_pfd_set_rate() local
H A Dclk-pfdv2.c84 u8 frac; in clk_pfdv2_recalc_rate() local
112 u8 frac; in clk_pfdv2_determine_rate() local
159 u8 frac; in clk_pfdv2_set_rate() local
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_vclk.c491 unsigned int frac, unsigned int od1, in meson_hdmi_pll_set_params()
643 unsigned int frac; in meson_hdmi_pll_get_frac() local
670 unsigned int frac) in meson_hdmi_pll_validate_params()
699 unsigned int *frac, in meson_hdmi_pll_find_params()
723 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local
746 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local
814 unsigned int m = 0, frac = 0; in meson_vclk_set() local
/openbmc/linux/drivers/clk/at91/
H A Dclk-sam9x60-pll.c43 u32 frac; member
78 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_recalc_rate() local
86 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_set() local
192 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_compute_mul_frac() local
248 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_set_rate_chg() local
298 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_save_context() local
308 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_restore_context() local
617 struct sam9x60_frac *frac; in sam9x60_clk_register_frac_pll() local
H A Dclk-audio-pll.c84 struct clk_audio_frac *frac = to_clk_audio_frac(hw); in clk_audio_pll_frac_enable() local
134 struct clk_audio_frac *frac = to_clk_audio_frac(hw); in clk_audio_pll_frac_disable() local
176 struct clk_audio_frac *frac = to_clk_audio_frac(hw); in clk_audio_pll_frac_recalc_rate() local
367 struct clk_audio_frac *frac = to_clk_audio_frac(hw); in clk_audio_pll_frac_set_rate() local
/openbmc/linux/kernel/time/
H A Dtimecounter.c70 u64 cycles, u64 mask, u64 frac) in cc_cyc2ns_backwards()
83 u64 nsec = tc->nsec, frac = tc->frac; in timecounter_cyc2time() local
/openbmc/u-boot/drivers/video/meson/
H A Dmeson_vclk.c391 unsigned int frac, unsigned int od1, in meson_hdmi_pll_set_params()
483 unsigned int frac; in meson_hdmi_pll_get_frac() local
507 unsigned int frac) in meson_hdmi_pll_validate_params()
530 unsigned int *frac, in meson_hdmi_pll_find_params()
554 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local
569 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local
/openbmc/linux/arch/sh/kernel/cpu/sh2a/
H A Dfpu.c202 int frac; in denormal_subf1() local
229 int frac; in denormal_addf1() local
287 long long frac; in denormal_subd1() local
314 long long frac; in denormal_addd1() local
/openbmc/linux/include/linux/
H A Dtimecounter.h60 u64 frac; member
71 u64 cycles, u64 mask, u64 *frac) in cyclecounter_cyc2ns()
/openbmc/linux/drivers/clk/meson/
H A Dclk-pll.c56 unsigned int frac, in __pll_params_to_rate()
76 unsigned int m, n, frac; in meson_clk_pll_recalc_rate() local
249 unsigned int m, n, frac; in meson_clk_pll_determine_rate() local
408 unsigned int enabled, m, n, frac = 0; in meson_clk_pll_set_rate() local
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/
H A Dpcc.c160 int pcc_clock_div_config(enum pcc_clk clk, bool frac, u8 div) in pcc_clock_div_config()
255 u32 reg, val, rate, frac, div; in pcc_clock_get_rate() local
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dclock.c42 uint8_t clkfrac, frac; in mxs_get_pclk() local
92 uint8_t clkfrac, frac; in mxs_get_emiclk() local
123 uint8_t clkfrac, frac; in mxs_get_gpmiclk() local
/openbmc/linux/arch/mips/ath79/
H A Dclock.c213 u32 frac, u32 out_div) in ar934x_get_pll_freq()
238 u32 pll, out_div, ref_div, nint, nfrac, frac, clk_ctrl, postdiv; in ar934x_clocks_init() local
356 u32 pll, out_div, ref_div, nint, frac, clk_ctrl, postdiv; in qca953x_clocks_init() local
439 u32 pll, out_div, ref_div, nint, frac, clk_ctrl, postdiv; in qca955x_clocks_init() local
/openbmc/linux/drivers/clk/x86/
H A Dclk-cgu-pll.c26 unsigned int div, unsigned int frac, unsigned int frac_div) in lgm_pll_calc_rate()
43 unsigned int div, mult, frac; in lgm_pll_recalc_rate() local
/openbmc/linux/arch/powerpc/kernel/
H A Dvecemu.c42 unsigned int mant, frac; in eexp2() local
96 int exp, mant, lz, frac; in elog2() local
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_tai.c104 static void mvpp2_tai_write_tlv(const struct timespec64 *ts, u32 frac, in mvpp2_tai_write_tlv()
170 s32 frac; in mvpp22_tai_adjfine() local
314 u32 nano, frac; in mvpp22_tai_set_step() local
/openbmc/u-boot/arch/mips/mach-ath79/qca953x/
H A Dlowlevel_init.S37 #define MK_PLL_CPU_CONF(frac, nint, ref, outdiv) \ argument
47 #define MK_PLL_DDR_CONF(frac, nint, ref, outdiv) \ argument
/openbmc/u-boot/drivers/phy/
H A Dphy-stm32-usbphyc.c48 u16 frac; member
66 unsigned long long fvco, ndiv, frac; in stm32_usbphyc_get_pll_params() local
/openbmc/linux/drivers/clk/zynqmp/
H A Dpll.c140 unsigned long rate, frac; in zynqmp_pll_recalc_rate() local
184 long rate_div, frac, m, f; in zynqmp_pll_set_rate() local
/openbmc/qemu/target/arm/
H A Dvfp_helper.c613 static uint64_t call_recip_estimate(int *exp, int exp_off, uint64_t frac) in call_recip_estimate()
838 static uint64_t recip_sqrt_estimate(int *exp , int exp_off, uint64_t frac) in recip_sqrt_estimate()
1126 uint32_t frac, e_old, e_new; in HELPER() local
1181 uint32_t frac = extract32(f, 0, 23); in frint_s() local
1229 uint64_t frac = extract64(f, 0, 52); in frint_d() local
/openbmc/linux/kernel/locking/
H A Dqspinlock_stat.h70 u64 frac = 0; in lockevent_read() local
/openbmc/qemu/target/alpha/
H A Dfpu_helper.c114 uint64_t frac = val & 0xfffffffffffffull; in helper_ieee_input() local
132 uint64_t frac = val & 0xfffffffffffffull; in helper_ieee_input_cmp() local
165 uint32_t frac = fi & 0x7fffff; in float32_to_s_int() local

1234