/arch/arm/mach-rpc/ |
D | time.c | 33 u32 ticks; in ioc_timer_read() local 45 ticks = ioc_time + RPC_LATCH - count2; in ioc_timer_read() 54 ticks += RPC_LATCH; in ioc_timer_read() 61 ticks += RPC_LATCH; in ioc_timer_read() 64 return ticks; in ioc_timer_read()
|
/arch/powerpc/sysdev/ |
D | mpic_timer.c | 86 const u64 ticks, time64_t *time) in convert_ticks_to_time() argument 88 *time = (u64)div_u64(ticks, priv->timerfreq); in convert_ticks_to_time() 93 time64_t time, u64 *ticks) in convert_time_to_ticks() argument 102 *ticks = (u64)time * (u64)priv->timerfreq; in convert_time_to_ticks() 138 static int set_cascade_timer(struct timer_group_priv *priv, u64 ticks, in set_cascade_timer() argument 155 tmp_ticks = div_u64_rem(ticks, MAX_TICKS_CASCADE, &rem_ticks); in set_cascade_timer() 167 u64 ticks) in get_cascade_timer() argument 175 if (ticks > max_ticks) in get_cascade_timer() 184 ret = set_cascade_timer(priv, ticks, allocated_timer->num); in get_cascade_timer() 196 u64 ticks; in get_timer() local [all …]
|
/arch/m68k/hp300/ |
D | time.c | 79 u32 ticks; in hp300_read_clk() local 94 ticks = INTVAL - ((msb << 8) | lsb); in hp300_read_clk() 95 ticks += clk_offset + clk_total; in hp300_read_clk() 98 return ticks; in hp300_read_clk()
|
/arch/m68k/atari/ |
D | atasound.c | 53 void atari_mksound (unsigned int hz, unsigned int ticks) in atari_mksound() argument 83 if (ticks) { in atari_mksound() 85 int length = (ticks * PSG_ENV_FREQ_10) / HZ / 10; in atari_mksound()
|
D | time.c | 78 u32 ticks; in atari_read_clk() local 87 ticks = INT_TICKS - count; in atari_read_clk() 88 ticks += clk_total; in atari_read_clk() 91 return ticks; in atari_read_clk()
|
D | config.c | 74 extern void atari_mksound(unsigned int count, unsigned int ticks);
|
/arch/m68k/amiga/ |
D | amisound.c | 71 void amiga_mksound( unsigned int hz, unsigned int ticks ) in amiga_mksound() argument 95 if (ticks) { in amiga_mksound() 96 sound_timer.expires = jiffies + ticks; in amiga_mksound()
|
D | config.c | 98 extern void amiga_mksound(unsigned int count, unsigned int ticks); 518 u32 ticks; in amiga_read_clk() local 532 ticks = hi << 8 | lo; in amiga_read_clk() 534 if (ticks > jiffy_ticks / 2) in amiga_read_clk() 539 ticks = jiffy_ticks - ticks; in amiga_read_clk() 540 ticks += clk_offset + clk_total; in amiga_read_clk() 544 return ticks; in amiga_read_clk()
|
/arch/m68k/mvme147/ |
D | config.c | 153 u32 ticks; in mvme147_read_clk() local 162 ticks = count + overflow * PCC_TIMER_CYCLES; in mvme147_read_clk() 163 ticks += clk_total; in mvme147_read_clk() 166 return ticks; in mvme147_read_clk()
|
/arch/m68k/mvme16x/ |
D | config.c | 419 u32 ticks; in mvme16x_read_clk() local 423 ticks = in_be32(PCCTCNT1); in mvme16x_read_clk() 426 ticks = in_be32(PCCTCNT1); in mvme16x_read_clk() 427 ticks += overflow * PCC_TIMER_CYCLES; in mvme16x_read_clk() 428 ticks += clk_total; in mvme16x_read_clk() 431 return ticks; in mvme16x_read_clk()
|
/arch/m68k/mac/ |
D | via.c | 636 u32 ticks; in mac_read_clk() local 654 ticks = VIA_TIMER_CYCLES - count; in mac_read_clk() 655 ticks += clk_offset + clk_total; in mac_read_clk() 658 return ticks; in mac_read_clk()
|
/arch/m68k/q40/ |
D | q40ints.c | 111 void q40_mksound(unsigned int hz, unsigned int ticks) in q40_mksound() argument 127 sound_ticks = ticks << 1; in q40_mksound()
|
/arch/mips/fw/cfe/ |
D | cfe_api_int.h | 75 s64 ticks; /* current time in ticks */ member
|
D | cfe_api.c | 277 xiocb.plist.xiocb_time.ticks = 0; in cfe_getticks() 281 return xiocb.plist.xiocb_time.ticks; in cfe_getticks()
|
/arch/powerpc/kernel/ |
D | watchdog.c | 350 unsigned long ticks = tb_ticks_per_usec * wd_timer_period_ms * 1000; in arch_touch_nmi_watchdog() local 358 if (tb - per_cpu(wd_timer_tb, cpu) >= ticks) { in arch_touch_nmi_watchdog()
|
D | time.c | 663 unsigned long long tb_to_ns(unsigned long long ticks) in tb_to_ns() argument 665 return mulhdu(ticks, tb_to_ns_scale) << tb_to_ns_shift; in tb_to_ns()
|
/arch/alpha/kernel/ |
D | osf_sys.c | 1139 unsigned long ticks; in SYSCALL_DEFINE2() local 1144 ticks = timespec64_to_jiffies(&tmp); in SYSCALL_DEFINE2() 1146 ticks = schedule_timeout_interruptible(ticks); in SYSCALL_DEFINE2() 1149 jiffies_to_timespec64(ticks, &tmp); in SYSCALL_DEFINE2()
|
/arch/ia64/kernel/ |
D | smpboot.c | 484 int ticks; in decay() local 485 get_option (&str, &ticks); in decay()
|