/linux-2.4.37.9/arch/arm/kernel/ |
D | time.c | 155 unsigned long usec, sec; in do_gettimeofday() local 158 usec = gettimeoffset(); in do_gettimeofday() 163 usec += lost * USECS_PER_JIFFY; in do_gettimeofday() 166 usec += xtime.tv_usec; in do_gettimeofday() 170 while (usec >= 1000000) { in do_gettimeofday() 171 usec -= 1000000; in do_gettimeofday() 176 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/arch/m68k/kernel/ |
D | time.c | 114 unsigned long usec, sec, lost; in do_gettimeofday() local 117 usec = mach_gettimeoffset(); in do_gettimeofday() 120 usec += lost * (1000000/HZ); in do_gettimeofday() 122 usec += xtime.tv_usec; in do_gettimeofday() 125 while (usec >= 1000000) { in do_gettimeofday() 126 usec -= 1000000; in do_gettimeofday() 131 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/arch/ia64/kernel/ |
D | time.c | 114 unsigned long flags, usec, sec, old; in do_gettimeofday() local 118 usec = gettimeoffset(); in do_gettimeofday() 126 if (usec <= old) { in do_gettimeofday() 127 usec = old; in do_gettimeofday() 130 } while (cmpxchg(&last_time_offset, old, usec) != old); in do_gettimeofday() 133 usec += xtime.tv_usec; in do_gettimeofday() 137 while (usec >= 1000000) { in do_gettimeofday() 138 usec -= 1000000; in do_gettimeofday() 143 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | time.c | 395 unsigned long sec, usec, lost, flags; in do_gettimeofday() local 402 usec = xtime.tv_usec; in do_gettimeofday() 432 usec += delta_usec; in do_gettimeofday() 433 if (usec >= 1000000) { in do_gettimeofday() 435 usec -= 1000000; in do_gettimeofday() 439 tv->tv_usec = usec; in do_gettimeofday() 446 long sec, usec; in do_settimeofday() local 465 usec = tv->tv_usec; in do_settimeofday() 466 usec -= delta_usec; in do_settimeofday() 467 if (usec < 0) { in do_settimeofday() [all …]
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | vsyscall.c | 59 unsigned long sec, usec; in do_vgettimeofday() local 66 usec = __xtime.tv_usec + (__jiffies - __wall_jiffies) * (1000000 / HZ); in do_vgettimeofday() 73 usec += (((t - __vxtime.last_tsc) * __vxtime.tsc_quot) >> 32); in do_vgettimeofday() 77 usec += ((readl(fix_to_virt(VSYSCALL_HPET) + 0xf0) - __vxtime.last) * __vxtime.quot) >> 32; in do_vgettimeofday() 85 tv->tv_sec = sec + usec / 1000000; in do_vgettimeofday() 86 tv->tv_usec = usec % 1000000; in do_vgettimeofday()
|
D | time.c | 189 unsigned long usec, flags; in do_gettimeoffset_pit() local 191 usec = do_slow_gettimeoffset(); in do_gettimeoffset_pit() 193 return usec; in do_gettimeoffset_pit() 207 unsigned int sec, usec; in do_gettimeofday() local 214 usec = xtime.tv_usec in do_gettimeofday() 221 tv->tv_sec = sec + usec / 1000000; in do_gettimeofday() 222 tv->tv_usec = usec % 1000000; in do_gettimeofday()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | time.c | 161 unsigned long flags, usec, sec; in do_gettimeofday() local 165 usec = gettimeoffset(); in do_gettimeofday() 168 usec += xtime.tv_usec; in do_gettimeofday() 172 while (usec >= 1000000) { in do_gettimeofday() 173 usec -= 1000000; in do_gettimeofday() 178 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | time.c | 79 unsigned long usec, sec; in do_gettimeofday() local 83 usec = xtime.tv_usec + do_gettimeoffset(); in do_gettimeofday() 86 while (usec >= 1000000) { in do_gettimeofday() 87 usec -= 1000000; in do_gettimeofday() 92 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | time.c | 106 unsigned long usec, sec; in do_gettimeofday() local 110 usec = xtime.tv_usec + do_gettimeoffset(); in do_gettimeofday() 113 while (usec >= 1000000) { in do_gettimeofday() 114 usec -= 1000000; in do_gettimeofday() 119 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/include/asm-arm/arch-sa1100/ |
D | time.h | 52 unsigned long ticks_to_match, elapsed, usec; in sa1100_gettimeoffset() local 61 usec = (unsigned long)(elapsed*tick)/LATCH; in sa1100_gettimeoffset() 63 return usec; in sa1100_gettimeoffset()
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | time.c | 220 unsigned delta, lost_ticks, usec, sec; in do_gettimeofday() local 224 usec = xtime.tv_usec; in do_gettimeofday() 236 usec += mulhwu(tb_to_us, tb_ticks_per_jiffy * lost_ticks + delta); in do_gettimeofday() 237 while (usec >= 1000000) { in do_gettimeofday() 239 usec -= 1000000; in do_gettimeofday() 242 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/kernel/ |
D | itimer.c | 28 unsigned long usec = (unsigned) value->tv_usec; in tvtojiffies() local 32 usec += 1000000 / HZ - 1; in tvtojiffies() 33 usec /= 1000000 / HZ; in tvtojiffies() 34 return HZ*sec+usec; in tvtojiffies()
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | time.c | 267 unsigned long usec, sec; in do_gettimeofday() local 270 usec = do_gettimeoffset(); in do_gettimeofday() 274 usec += lost * (1000000 / HZ); in do_gettimeofday() 277 usec += xtime.tv_usec; in do_gettimeofday() 280 while (usec >= 1000000) { in do_gettimeofday() 281 usec -= 1000000; in do_gettimeofday() 286 tv->tv_usec = usec; in do_gettimeofday()
|
D | fasttimer.c | 193 unsigned long usec = GET_JIFFIES_USEC(); in do_gettimeofday_fast() local 195 usec += (sec % HZ) * (1000000 / HZ); in do_gettimeofday_fast() 198 if (usec > 1000000) in do_gettimeofday_fast() 200 usec -= 1000000; in do_gettimeofday_fast() 204 tv->tv_usec = usec; in do_gettimeofday_fast()
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | time.c | 158 unsigned long usec, sec; in do_gettimeofday() local 161 usec = do_gettimeoffset(); in do_gettimeofday() 165 usec += lost * (1000000 / HZ); in do_gettimeofday() 168 usec += xtime.tv_usec; in do_gettimeofday() 171 while (usec >= 1000000) { in do_gettimeofday() 172 usec -= 1000000; in do_gettimeofday() 177 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/arch/sh64/kernel/ |
D | time.c | 195 unsigned long usec, sec; in do_gettimeofday() local 198 usec = usecs_since_tick(); in do_gettimeofday() 202 usec += lost * (1000000 / HZ); in do_gettimeofday() 205 usec += xtime.tv_usec; in do_gettimeofday() 208 while (usec >= 1000000) { in do_gettimeofday() 209 usec -= 1000000; in do_gettimeofday() 214 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/fs/ |
D | select.c | 268 time_t sec, usec; in sys_select() local 272 || (ret = __get_user(usec, &tvp->tv_usec))) in sys_select() 276 if (sec < 0 || usec < 0) in sys_select() 280 timeout = ROUND_UP(usec, 1000000/HZ); in sys_select() 322 time_t sec = 0, usec = 0; in sys_select() local 325 usec = timeout % HZ; in sys_select() 326 usec *= (1000000/HZ); in sys_select() 329 put_user(usec, &tvp->tv_usec); in sys_select()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | time.c | 446 unsigned long usec, sec; in do_gettimeofday() local 449 usec = do_gettimeoffset(); in do_gettimeofday() 453 usec += lost * (1000000 / HZ); in do_gettimeofday() 456 usec += xtime.tv_usec; in do_gettimeofday() 459 while (usec >= 1000000) { in do_gettimeofday() 460 usec -= 1000000; in do_gettimeofday() 465 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.h | 272 static __inline void ahc_timer_reset(ahc_timer_t *timer, int usec, 274 static __inline void ahc_scb_timer_reset(struct scb *scb, u_int usec); 277 ahc_timer_reset(ahc_timer_t *timer, int usec, ahc_callback_t *func, void *arg) in ahc_timer_reset() argument 284 timer->expires = jiffies + (usec * HZ)/1000000; in ahc_timer_reset() 290 ahc_scb_timer_reset(struct scb *scb, u_int usec) in ahc_scb_timer_reset() argument 292 mod_timer(&scb->io_ctx->eh_timeout, jiffies + (usec * HZ)/1000000); in ahc_scb_timer_reset() 584 ahc_delay(long usec) in ahc_delay() argument 591 while (usec > 0) { in ahc_delay() 592 udelay(usec % 1024); in ahc_delay() 593 usec -= 1024; in ahc_delay()
|
D | aic79xx_osm.h | 260 static __inline void ahd_timer_reset(ahd_timer_t *timer, u_int usec, 262 static __inline void ahd_scb_timer_reset(struct scb *scb, u_int usec); 265 ahd_timer_reset(ahd_timer_t *timer, u_int usec, ahd_callback_t *func, void *arg) in ahd_timer_reset() argument 272 timer->expires = jiffies + (usec * HZ)/1000000; in ahd_timer_reset() 278 ahd_scb_timer_reset(struct scb *scb, u_int usec) in ahd_scb_timer_reset() argument 280 mod_timer(&scb->io_ctx->eh_timeout, jiffies + (usec * HZ)/1000000); in ahd_scb_timer_reset() 579 ahd_delay(long usec) in ahd_delay() argument 586 while (usec > 0) { in ahd_delay() 587 udelay(usec % 1024); in ahd_delay() 588 usec -= 1024; in ahd_delay()
|
/linux-2.4.37.9/drivers/parport/ |
D | ieee1284.c | 119 int usec) in parport_poll_peripheral() argument 122 int count = usec / 5 + 2; in parport_poll_peripheral() 170 int usec; in parport_wait_peripheral() local 174 usec = port->physport->spintime; /* usecs of fast polling */ in parport_wait_peripheral() 178 usec = 35000; in parport_wait_peripheral() 186 ret = parport_poll_peripheral (port, mask, result, usec); in parport_wait_peripheral()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | time.c | 1029 unsigned long usec, sec; in do_gettimeofday() local 1032 usec = do_gettimeoffset(); in do_gettimeofday() 1036 usec += lost * (1000000 / HZ); in do_gettimeofday() 1039 usec += xtime.tv_usec; in do_gettimeofday() 1042 while (usec >= 1000000) { in do_gettimeofday() 1043 usec -= 1000000; in do_gettimeofday() 1048 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/include/asm-m68k/ |
D | atari_acsi.h | 7 void acsi_delay_end( long usec );
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | time.c | 306 unsigned long sec, usec, tb_ticks; in do_gettimeofday() local 368 usec = (xsec * USEC_PER_SEC)/XSEC_PER_SEC; in do_gettimeofday() 371 tv->tv_usec = usec; in do_gettimeofday()
|
/linux-2.4.37.9/Documentation/usb/ |
D | ehci.txt | 107 value is 0, indicating 1 microframe (125 usec). Maximum value 151 microframes fit in a USB 1.1 frame; a microframe is 1 msec/8 = 125 usec. 178 There's a minimum latency of one microframe (125 usec) for the host 183 it completed in less than 250 usec (depending on transfer size).
|