/netbsd-6-1-5-RELEASE/sys/arch/sun68k/stand/libsa/ |
H A D | clock.c | 10 int hz = 1000; variable 18 return ((ticks / hz));
|
H A D | libsa.h | 30 extern int hz;
|
/netbsd-6-1-5-RELEASE/sys/arch/news68k/news68k/ |
H A D | clock.c | 80 if (1000000 % hz) { 81 printf("cannot get %d Hz clock; using 100 Hz\n", hz); 82 hz = 100; 83 tick = 1000000 / hz; 93 * profhz == stathz == hz.
|
/netbsd-6-1-5-RELEASE/sys/arch/mac68k/mac68k/ |
H A D | clockreg.h | 47 #define CLK_INTERVAL ((unsigned int)(CLK_FREQ / hz))
|
/netbsd-6-1-5-RELEASE/lib/libm/src/ |
H A D | e_fmodf.c | 35 int32_t n,hx,hy,hz,ix,iy,sx,i; local 78 hz=hx-hy; 79 if(hz<0){hx = hx+hx;} 81 if(hz==0) /* return sign(x)*0 */ 83 hx = hz+hz; 86 hz=hx-hy; 87 if(hz>=0) {hx=hz;}
|
H A D | e_fmod.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; local 98 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; 99 if(hz<0){hx = hx+hx+(lx>>31); lx = lx+lx;} 101 if((hz|lz)==0) /* return sign(x)*0 */ 103 hx = hz+hz+(lz>>31); lx = lz+lz; 106 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; 107 if(hz> [all...] |
H A D | s_remquof.c | 31 int32_t n,hx,hy,hz,ix,iy,sx,i; local 80 hz=hx-hy; 81 if(hz<0) hx = hx << 1; 82 else {hx = hz << 1; q++;} 85 hz=hx-hy; 86 if(hz>=0) {hx=hz;q++;}
|
H A D | s_remquo.c | 33 int32_t n,hx,hy,hz,ix,iy,sx,i; local 106 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; 107 if(hz<0){hx = hx+hx+(lx>>31); lx = lx+lx;} 108 else {hx = hz+hz+(lz>>31); lx = lz+lz; q++;} 111 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; 112 if(hz>=0) {hx=hz;l [all...] |
H A D | k_cos.c | 68 double a,hz,z,r,qx; local 85 hz = 0.5*z-qx; 87 return a - (hz - (z*r-x*y));
|
H A D | k_cosf.c | 36 float a,hz,z,r,qx; local 53 hz = (float)0.5*z-qx; 55 return a - (hz - (z*r-x*y));
|
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/hpcmips/ |
H A D | clock.c | 75 #include <sys/kernel.h> /* hz */ 110 hz = clock->hz; 111 tick = 1000000 / hz;
|
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | clock.c | 62 clock_t hz = CLOCKS_PER_SEC; local 66 return (clock_t)((ru.ru_utime.tv_sec + ru.ru_stime.tv_sec) * hz + 68 / 100 * hz / 10000);
|
/netbsd-6-1-5-RELEASE/sys/arch/luna68k/luna68k/ |
H A D | clock.c | 73 hz = 60; /* LUNA-I is clocked at 60Hz, not 100Hz */ 75 tick = 1000000 / hz; /* number of microseconds between interrupts */
|
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/mvme68k/ |
H A D | clock.c | 108 if (1000000 % hz) { 109 printf("cannot get %d Hz clock; using 100 Hz\n", hz); 110 hz = 100; 111 tick = 1000000 / hz; 114 stathz = hz;
|
/netbsd-6-1-5-RELEASE/sys/arch/ia64/ia64/ |
H A D | clock.c | 74 * to implement a 1000hz clock. 93 stathz = hz; 94 ia64_clock_reload = (itc_frequency + hz / 2) / hz;
|
/netbsd-6-1-5-RELEASE/sys/dev/ppbus/ |
H A D | lptvar.h | 49 #define LPT_TIMEOUT ((hz)*16) 50 #define LPT_STEP ((hz)/4) 75 #define MAX_SLEEP (hz*5) /* Timeout while waiting for device ready */
|
/netbsd-6-1-5-RELEASE/sys/netsmb/ |
H A D | smb_trantcp.h | 87 #define NB_SNDTIMEO (5 * hz) 88 #define NB_RCVTIMEO (5 * hz)
|
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/include/ |
H A D | sysconf.h | 75 int hz; member in struct:platform_clock
|
/netbsd-6-1-5-RELEASE/sys/arch/mips/ralink/ |
H A D | ralink_var.h | 58 #define MS_TO_HZ(ms) ((ms) * hz / 1000)
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | kernel.h | 56 extern int tick; /* usec per tick (1000000 / hz) */ 59 extern int hz; /* system clock's frequency */
|
/netbsd-6-1-5-RELEASE/sys/arch/arm/xscale/ |
H A D | becc_timer.c | 103 * Just use hz=100 for now -- we'll adjust it, if necessary, 130 if (hz < 50 || COUNTS_PER_SEC % hz) { 131 printf("Cannot get %d Hz clock; using 100 Hz\n", hz); 132 hz = 100; 150 aprint_normal("clock: hz=%d stathz=%d profhz=%d\n", hz, stathz, profhz); 165 counts_per_hz = COUNTS_PER_SEC / hz; 188 * We assume that hz is either stathz or profhz, and that neither
|
/netbsd-6-1-5-RELEASE/sys/netisdn/ |
H A D | i4b_l3l4.h | 43 #define T303VAL (hz*4) /* 4 seconds timeout */ 44 #define T305VAL (hz*30) /* 30 seconds timeout */ 45 #define T308VAL (hz*4) /* 4 seconds timeout */ 46 #define T309VAL (hz*90) /* 90 seconds timeout */ 47 #define T310VAL (hz*60) /* 30-120 seconds timeout */ 48 #define T313VAL (hz*4) /* 4 seconds timeout */ 49 #define T400DEF (hz*10) /* 10 seconds timeout */
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc/sparc/ |
H A D | clock.c | 154 if (1000000 % hz) { 155 printf("cannot get %d Hz clock; using 100 Hz\n", hz); 156 hz = 100; 157 tick = 1000000 / hz; 160 stathz = hz; 187 * Dummy setstatclockrate(), since we know profhz==hz. 307 (void)tsleep(eeprom_va, PZERO - 1, "eeprom", hz/50);
|
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/iq80310/ |
H A D | iq80310_timer.c | 170 * Just use hz=100 for now -- we'll adjust it, if necessary, 193 if (hz < 50 || COUNTS_PER_SEC % hz) { 194 printf("Cannot get %d Hz clock; using 100 Hz\n", hz); 195 hz = 100; 212 printf("clock: hz=%d stathz=%d profhz=%d\n", hz, stathz, profhz); 225 counts_per_hz = COUNTS_PER_SEC / hz; 241 * We assume that hz is either stathz or profhz, and that neither
|
/netbsd-6-1-5-RELEASE/sys/arch/arm/ep93xx/ |
H A D | epclk.c | 188 * We assume that hz is either stathz or profhz, and that neither 213 if (hz != 64) panic("HZ must be 64!"); 221 (((CLOCK_SOURCE_RATE+(CLOCK_TICK_DIV*hz-1))/(CLOCK_TICK_DIV*hz))*hz) 222 #define LATCH ((CLOCK_TICK_RATE + hz/2) / hz)
|