Searched refs:ticks (Results 1 - 25 of 85) sorted by relevance

1234

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/arch-mx1ads/
H A Dtime.h69 unsigned long ticks, status; local
72 * Get the current number of ticks. Note that there is a race
77 ticks = timer1->TimerCounter;
83 ticks += TIMER_RELOAD;
86 * Convert the ticks to usecs
88 return TICKS2USECS(ticks);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/arch-mx1ads/
H A Dtime.h69 unsigned long ticks, status; local
72 * Get the current number of ticks. Note that there is a race
77 ticks = timer1->TimerCounter;
83 ticks += TIMER_RELOAD;
86 * Convert the ticks to usecs
88 return TICKS2USECS(ticks);
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/include/
H A Dcfe_timer.h64 void cfe_sleep(int ticks);
68 #define CFE_HZ 10 /* ticks per second */
H A Dcfe_device.h94 void (*dev_poll)(cfe_devctx_t *ctx,int64_t ticks);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/hardware/
H A Dhwtimer.c75 * RETURN: Current value of the ACPI PM Timer (in ticks).
83 u32 *ticks)
88 if (!ticks) {
93 ACPI_GET_ADDRESS (acpi_gbl_FADT->Xpm_tmr_blk.address), ticks, 32);
113 * The PM Timer's clock ticks at roughly 3.6 times per
82 acpi_get_timer( u32 *ticks) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/amiga/
H A Damisound.c67 void amiga_mksound( unsigned int hz, unsigned int ticks )
92 if (ticks) {
93 sound_timer.expires = jiffies + ticks;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/atari/
H A Datasound.c53 void atari_mksound (unsigned int hz, unsigned int ticks) argument
56 ticks. */
84 if (ticks) {
86 int length = (ticks * PSG_ENV_FREQ_10) / HZ / 10;
H A Dtime.c40 unsigned long ticks, offset = 0; local
43 ticks = mfp.tim_dt_c;
45 if (ticks > INT_TICKS - INT_TICKS / 50)
50 ticks = INT_TICKS - ticks;
51 ticks = ticks * 10000L / INT_TICKS;
53 return ticks + offset;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/hp300/
H A Dtime.c52 unsigned short ticks; local
60 ticks = INTVAL - ((msb2 << 8) | lsb);
61 return (USECS_PER_JIFFY * ticks) / INTVAL;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/au1000/common/
H A Dpower.c295 unsigned long ticks, loopbit; local
302 ticks = jiffies;
303 while (ticks == jiffies)
306 ticks = jiffies;
308 ticks = jiffies - ticks;
309 if (ticks)
319 ticks = jiffies;
320 while (ticks == jiffies);
321 ticks
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/init/
H A Dmain.c156 unsigned long ticks, loopbit; local
169 ticks = jiffies;
170 while (ticks == jiffies)
173 ticks = jiffies;
175 ticks = jiffies - ticks;
176 if (ticks)
186 ticks = jiffies;
187 while (ticks == jiffies);
188 ticks
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/tc/
H A Dlk201.c240 static void lk201kd_mksound(unsigned int hz, unsigned int ticks) argument
244 if (!ticks)
251 ticks /= HZ / 32;
252 if (ticks > 7)
253 ticks = 7;
254 ticks = 7 - ticks;
258 if (info->hook->poll_tx_char(info, LK_PARAM_VOLUME(ticks)))
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/baget/
H A Dtime.c36 static unsigned long long ticks, valid_ticks; local
38 if (ticks++ * FREQ_DEN >= valid_ticks * FREQ_NOM) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/apollo/
H A Ddn_ints.c129 void dn_mksound( unsigned int count, unsigned int ticks ) {
136 if (ticks) {
137 sound_timer.expires = jiffies + ticks;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/mac/
H A Dvia.c57 #define MAC_CLOCK_TICK (783300/HZ) /* ticks per HZ */
295 * TBI: get time offset between scheduling timer ticks
300 unsigned long ticks, offset = 0; local
303 ticks = via1[vT1CL] | (via1[vT1CH] << 8);
305 if (ticks > MAC_CLOCK_TICK - MAC_CLOCK_TICK / 50)
309 ticks = MAC_CLOCK_TICK - ticks;
310 ticks = ticks * 10000L / MAC_CLOCK_TICK;
312 return ticks
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/main/
H A Dcfe_timer.c77 #define CPUCFG_CYCLESPERCPUTICK 1 /* CPU clock ticks per CP0 COUNT */
106 static int32_t cfe_oldcount; /* For keeping track of ticks */
123 * add the delta into our current time, convert to ticks,
192 * cfe_sleep(ticks)
194 * Sleep for 'ticks' ticks. Background tasks are processed while
198 * ticks - number of ticks to sleep (note: *not* clocks!)
204 void cfe_sleep(int ticks) argument
208 TIMER_SET(timer,ticks);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/kernel/
H A Dtimer.c513 * Using a loop looks inefficient, but "ticks" is
514 * usually just one (we shouldn't be losing ticks,
517 * have lots of lost timer ticks
519 static void update_wall_time(unsigned long ticks) argument
522 ticks--;
524 } while (ticks);
550 static inline void do_it_virt(struct task_struct * p, unsigned long ticks) argument
555 it_virt -= ticks;
644 static inline void calc_load(unsigned long ticks) argument
649 count -= ticks;
669 unsigned long ticks; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/include/
H A Dachware.h30 /* PM Timer ticks per second (HZ) */
157 u32 *ticks);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_misc.c72 * (1<<(SYM_CONF_TIMEOUT_ORDER_MAX-1))/2 ticks.
83 void sym_timeout_ccb(hcb_p np, ccb_p cp, u_int ticks) argument
86 cp->tmo_clock = np->tmo_clock + ticks;
87 if (!ticks) {
93 if (ticks >= (1<<(i+1)))
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/bridge/
H A Dbr_stp_bpdu.c61 __u16 ticks; local
63 ticks = JIFFIES_TO_TICKS(jiff);
64 dest[0] = (ticks >> 8) & 0xFF;
65 dest[1] = ticks & 0xFF;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-x86_64/
H A Dvsyscall.h32 long ticks; member in struct:hpet_data
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-x86_64/
H A Dvsyscall.h32 long ticks; member in struct:hpet_data
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/dev/
H A Ddev_bcm5821.c718 uint64_t ticks; local
720 ticks = *((volatile uint64_t *) UNCADDR(A_SCD_PERF_CNT_0));
721 if (ticks == 0 || ticks == ZCTR_MODULUS-1) {
722 ticks = 0;
723 zclk_init(ticks);
725 else if (ticks >= ZCTR_MODULUS/2) {
726 ticks -= ZCTR_MODULUS/2;
727 zclk_init(ticks); /* Ignore the fudge and lose a few ticks */
912 uint64_t start, stop, ticks; local
1046 uint64_t start, stop, ticks; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/
H A Dtime.c83 unsigned long ticks, pstate; local
118 : "=&r" (timer_tick_compare), "=r" (ticks)
126 : "=&r" (timer_tick_compare), "=r" (ticks)
134 } while (ticks >= timer_tick_compare);
591 unsigned long ticks; local
598 : "=r" (ticks)
605 : "=&r" (ticks)
610 return (ticks * timer_ticks_per_usec_quotient) >> 32UL;
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/pccons/
H A Ddev_pcconsole.c99 static void pcconsole_poll(cfe_devctx_t *ctx,int64_t ticks);
135 * pcconsole_poll(ctx,ticks)
141 * ticks - current time
148 static void pcconsole_poll(cfe_devctx_t *ctx,int64_t ticks) argument

Completed in 122 milliseconds

1234