/arch/x86/kernel/ |
D | i8253.c | 118 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()
|
D | vsyscall_64.c | 85 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()
|
D | vmiclock_32.c | 225 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/ |
D | poly.h | 34 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/ |
D | longhaul.c | 112 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 …]
|
D | speedstep-lib.c | 168 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/ |
D | clock24xx.c | 194 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()
|
D | timer-gp.c | 116 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/ |
D | timer.c | 36 .mult = 0, 60 clocksource_sn2.mult = clocksource_hz2mult(sn_rtc_cycles_per_second, in sn_timer_init()
|
/arch/sparc/kernel/ |
D | time_64.c | 784 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/ |
D | time.c | 87 cs->mult = (u32) temp; in clocksource_set_clock() 104 cd->mult = (u32) temp; in clockevent_set_clock()
|
D | i8253.c | 199 .mult = 0, 208 clocksource_pit.mult = clocksource_hz2mult(CLOCK_TICK_RATE, 20); in init_pit_clocksource()
|
/arch/um/kernel/ |
D | time.c | 78 .mult = 1000, 92 itimer_clockevent.mult = div_sc(HZ, NSEC_PER_SEC, 32); in setup_itimer()
|
/arch/ia64/kernel/ |
D | cyclone.c | 34 .mult = 0, /*to be caluclated*/ 121 clocksource_cyclone.mult = clocksource_hz2mult(CYCLONE_TIMER_FREQ, in init_cyclone_clock()
|
/arch/arm/mach-netx/ |
D | time.c | 154 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/ |
D | time.c | 126 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/ |
D | time.c | 106 ckevt_sa1100_osmr0.mult = in sa1100_timer_init() 114 cksrc_sa1100_oscr.mult = in sa1100_timer_init()
|
/arch/arm/mach-goldfish/ |
D | timer.c | 101 .mult = 1, 112 .mult = 1,
|
/arch/blackfin/kernel/ |
D | time-ts.c | 84 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/ |
D | time.c | 62 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/ |
D | at91sam926x_time.c | 165 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()
|
D | at91rm9200_time.c | 205 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/ |
D | pit.c | 160 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/ |
D | vgtod.h | 20 u32 mult; member
|
/arch/arm/plat-orion/ |
D | time.c | 190 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()
|