Home
last modified time | relevance | path

Searched refs:mult (Results 1 – 25 of 63) sorted by relevance

123

/arch/x86/kernel/
Di8253.c118 pit_clockevent.mult = div_sc(CLOCK_TICK_RATE, NSEC_PER_SEC, in setup_pit_timer()
200 .mult = 0,
209 if (clocksource_pit.mult) { in pit_disable_clocksource()
211 clocksource_pit.mult = 0; in pit_disable_clocksource()
228 clocksource_pit.mult = clocksource_hz2mult(CLOCK_TICK_RATE, in init_pit_clocksource()
Dvsyscall_64.c85 vsyscall_gtod_data.clock.mult = clock->mult; in update_vsyscall()
124 unsigned long mult, shift, nsec; in do_vgettimeofday() local
146 mult = __vsyscall_gtod_data.clock.mult; in do_vgettimeofday()
156 nsec += (cycle_delta * mult) >> shift; in do_vgettimeofday()
Dvmiclock_32.c225 evt->mult = div_sc(cycles_per_msec, NSEC_PER_MSEC, evt->shift); in vmi_time_init_clockevent()
232 evt->name, evt->mult, evt->shift); in vmi_time_init_clockevent()
300 .mult = 0, /* to be set */
317 clocksource_vmi.mult = clocksource_khz2mult(cycles_per_msec, in init_vmi_clocksource()
/arch/x86/math-emu/
Dpoly.h34 asmlinkage void mul32_Xsig(Xsig *, const unsigned long mult);
35 asmlinkage void mul64_Xsig(Xsig *, const unsigned long long *mult);
36 asmlinkage void mul_Xsig_Xsig(Xsig *dest, const Xsig *mult);
/arch/x86/kernel/cpu/cpufreq/
Dlonghaul.c112 static unsigned int calc_speed(int mult) in calc_speed() argument
115 khz = (mult/10)*fsb; in calc_speed()
116 if (mult%10) in calc_speed()
251 int speed, mult; in longhaul_setstate() local
261 mult = clock_ratio[clock_ratio_index & 0x1f]; in longhaul_setstate()
262 if (mult == -1) in longhaul_setstate()
264 speed = calc_speed(mult); in longhaul_setstate()
278 fsb, mult/10, mult%10, print_speed(speed/1000)); in longhaul_setstate()
409 static int guess_fsb(int mult) in guess_fsb() argument
417 f_max = ((speeds[i] * mult) + 50) / 100; in guess_fsb()
[all …]
Dspeedstep-lib.c168 u32 msr_lo, msr_hi, mult; in pentium4_get_frequency() local
201 mult = msr_lo >> 24; in pentium4_get_frequency()
203 dprintk("P4 - FSB %u kHz; Multiplier %u; Speed %u kHz\n", fsb, mult, (fsb * mult)); in pentium4_get_frequency()
205 return (fsb * mult); in pentium4_get_frequency()
/arch/arm/mach-omap2/
Dclock24xx.c194 u32 cur_rate, low, mult, div, valid_rate, done_rate; in omap2_reprogram_dpllcore() local
203 mult = cm_read_mod_reg(PLL_MOD, CM_CLKSEL2); in omap2_reprogram_dpllcore()
204 mult &= OMAP24XX_CORE_CLK_SRC_MASK; in omap2_reprogram_dpllcore()
206 if ((rate == (cur_rate / 2)) && (mult == 2)) { in omap2_reprogram_dpllcore()
208 } else if ((rate == (cur_rate * 2)) && (mult == 1)) { in omap2_reprogram_dpllcore()
215 if (mult == 1) in omap2_reprogram_dpllcore()
232 mult = ((rate / 2) / 1000000); in omap2_reprogram_dpllcore()
236 mult = (rate / 1000000); in omap2_reprogram_dpllcore()
240 tmpset.cm_clksel1_pll |= (mult << __ffs(dd->div1_mask)); in omap2_reprogram_dpllcore()
Dtimer-gp.c116 clockevent_gpt.mult = div_sc(tick_rate, NSEC_PER_SEC, in omap2_gp_clockevent_init()
176 clocksource_gpt.mult = in omap2_gp_clocksource_init()
/arch/ia64/sn/kernel/sn2/
Dtimer.c36 .mult = 0,
60 clocksource_sn2.mult = clocksource_hz2mult(sn_rtc_cycles_per_second, in sn_timer_init()
/arch/sparc/kernel/
Dtime_64.c784 unsigned long mult, shift = 32; in setup_clockevent_multiplier() local
787 mult = div_sc(hz, NSEC_PER_SEC, shift); in setup_clockevent_multiplier()
788 if (mult && (mult >> 32UL) == 0UL) in setup_clockevent_multiplier()
795 sparc64_clockevent.mult = mult; in setup_clockevent_multiplier()
827 clocksource_tick.mult = in time_init()
833 clocksource_tick.mult, clocksource_tick.shift); in time_init()
847 sparc64_clockevent.mult, sparc64_clockevent.shift); in time_init()
/arch/mips/kernel/
Dtime.c87 cs->mult = (u32) temp; in clocksource_set_clock()
104 cd->mult = (u32) temp; in clockevent_set_clock()
Di8253.c199 .mult = 0,
208 clocksource_pit.mult = clocksource_hz2mult(CLOCK_TICK_RATE, 20); in init_pit_clocksource()
/arch/um/kernel/
Dtime.c78 .mult = 1000,
92 itimer_clockevent.mult = div_sc(HZ, NSEC_PER_SEC, 32); in setup_itimer()
/arch/ia64/kernel/
Dcyclone.c34 .mult = 0, /*to be caluclated*/
121 clocksource_cyclone.mult = clocksource_hz2mult(CYCLONE_TIMER_FREQ, in init_cyclone_clock()
/arch/arm/mach-netx/
Dtime.c154 clocksource_netx.mult = in netx_timer_init()
158 netx_clockevent.mult = div_sc(CLOCK_TICK_RATE, NSEC_PER_SEC, in netx_timer_init()
/arch/avr32/kernel/
Dtime.c126 counter.mult = clocksource_hz2mult(counter_hz, counter.shift); in time_init()
133 comparator.mult = div_sc(counter_hz, NSEC_PER_SEC, comparator.shift); in time_init()
/arch/arm/mach-sa1100/
Dtime.c106 ckevt_sa1100_osmr0.mult = in sa1100_timer_init()
114 cksrc_sa1100_oscr.mult = in sa1100_timer_init()
/arch/arm/mach-goldfish/
Dtimer.c101 .mult = 1,
112 .mult = 1,
/arch/blackfin/kernel/
Dtime-ts.c84 clocksource_bfin.mult = clocksource_hz2mult(get_cclk(), clocksource_bfin.shift); in bfin_clocksource_init()
192 clockevent_bfin.mult = div_sc(timer_clk, NSEC_PER_SEC, clockevent_bfin.shift); in bfin_clockevent_init()
/arch/arm/plat-mxc/
Dtime.c62 clocksource_mxc.mult = clocksource_hz2mult(clock, in mxc_clocksource_init()
186 clockevent_mxc.mult = div_sc(clock, NSEC_PER_SEC, in mxc_clockevent_init()
/arch/arm/mach-at91/
Dat91sam926x_time.c165 pit_clk.mult = clocksource_hz2mult(pit_rate, pit_clk.shift); in at91sam926x_pit_init()
174 pit_clkevt.mult = div_sc(pit_rate, NSEC_PER_SEC, pit_clkevt.shift); in at91sam926x_pit_init()
Dat91rm9200_time.c205 clkevt.mult = div_sc(AT91_SLOW_CLOCK, NSEC_PER_SEC, clkevt.shift); in at91rm9200_timer_init()
212 clk32k.mult = clocksource_hz2mult(AT91_SLOW_CLOCK, clk32k.shift); in at91rm9200_timer_init()
/arch/m68knommu/platform/coldfire/
Dpit.c160 cf_pit_clockevent.mult = div_sc(FREQ, NSEC_PER_SEC, 32); in hw_timer_init()
174 pit_clk.mult = clocksource_hz2mult(FREQ, pit_clk.shift); in hw_timer_init()
/arch/x86/include/asm/
Dvgtod.h20 u32 mult; member
/arch/arm/plat-orion/
Dtime.c190 orion_clksrc.mult = clocksource_hz2mult(tclk, orion_clksrc.shift); in orion_time_init()
198 orion_clkevt.mult = div_sc(tclk, NSEC_PER_SEC, orion_clkevt.shift); in orion_time_init()

123