Home
last modified time | relevance | path

Searched refs:div_sc (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/arch/microblaze/kernel/
Dtimer.c167 div_sc(timer_clock_freq, NSEC_PER_SEC, in xilinx_clockevent_init()
209 xilinx_cc.mult = div_sc(timer_clock_freq, NSEC_PER_SEC, in init_xilinx_timecounter()
/linux-6.6.21/arch/sparc/kernel/
Dtime_32.c132 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in setup_timer_ce()
228 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in register_percpu_ce()
/linux-6.6.21/arch/mips/alchemy/common/
Dtime.c120 cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift); in alchemy_time_init()
/linux-6.6.21/include/linux/
Dclockchips.h172 div_sc(unsigned long ticks, unsigned long nsec, int shift) in div_sc() function
/linux-6.6.21/arch/m68k/coldfire/
Dpit.c144 cf_pit_clockevent.mult = div_sc(FREQ, NSEC_PER_SEC, 32); in hw_timer_init()
/linux-6.6.21/drivers/clocksource/
Dtimer-atmel-pit.c247 data->clkevt.mult = div_sc(pit_rate, NSEC_PER_SEC, data->clkevt.shift); in at91sam926x_pit_dt_init()
Dsh_cmt.c843 ced->mult = div_sc(ch->cmt->rate, NSEC_PER_SEC, ced->shift); in sh_cmt_register_clockevent()
/linux-6.6.21/arch/x86/platform/uv/
Duv_time.c365 clock_event_device_uv.mult = div_sc(sn_rtc_cycles_per_second, in uv_rtc_setup_clock()
/linux-6.6.21/arch/x86/kernel/apic/
Dapic.c758 lapic_clockevent.mult = div_sc(lapic_timer_period/APIC_DIVISOR, in lapic_init_clockevent()