/titanic_44/usr/src/lib/libcmdutils/common/ |
H A D | nicenum.c | 44 uint64_t divisor = 1; in nicenum_scale() local 71 uint64_t newdiv = divisor * divamt; in nicenum_scale() 75 VERIFY3U(newdiv, >=, divisor); in nicenum_scale() 80 divisor = newdiv; in nicenum_scale() 88 } else if (n % divisor == 0) { in nicenum_scale() 93 rc = snprintf(buf, buflen, "%llu%c", n / divisor, u); in nicenum_scale() 108 (double)n / divisor, u)) <= 5) in nicenum_scale()
|
/titanic_44/usr/src/uts/sun4u/io/ |
H A D | grbeep.c | 335 int divisor = 0; in grbeep_freq() local 344 divisor = GRBEEP_INPUT_FREQ / freq; in grbeep_freq() 346 if (divisor > GRBEEP_DIVISOR_MAX) { in grbeep_freq() 347 divisor = GRBEEP_DIVISOR_MAX; in grbeep_freq() 348 } else if (divisor < GRBEEP_DIVISOR_MIN) { in grbeep_freq() 349 divisor = GRBEEP_DIVISOR_MIN; in grbeep_freq() 353 (divisor & 0xff), ((divisor & 0xff00) >> 8))); in grbeep_freq() 355 GRBEEP_WRITE_FREQ_DIVISOR_REG(divisor & 0xff); in grbeep_freq() 356 GRBEEP_WRITE_FREQ_DIVISOR_REG((divisor & 0xff00) >> 8); in grbeep_freq()
|
H A D | rmc_comm.c | 488 uint16_t divisor; in rmc_comm_hw_reset() local 505 divisor = SIO_BAUD_TO_DIVISOR(SIO_BAUD_DEFAULT) * in rmc_comm_hw_reset() 508 divisor = SIO_BAUD_TO_DIVISOR(rcs->baud) * in rmc_comm_hw_reset() 525 sio_put_reg(rcs, SIO_LBGDH, divisor >> 8); in rmc_comm_hw_reset() 526 sio_put_reg(rcs, SIO_LBGDL, divisor & 0xff); in rmc_comm_hw_reset()
|
/titanic_44/usr/src/cmd/avs/dsstat/ |
H A D | sdbc_stats.c | 645 int divisor = 0; in sdbc_getvalues() local 719 divisor = 1; in sdbc_getvalues() 722 divisor *= KILOBYTE; in sdbc_getvalues() 724 divisor *= etime; in sdbc_getvalues() 726 if (divisor != 1) { in sdbc_getvalues() 727 vals->cache_read /= divisor; in sdbc_getvalues() 728 vals->disk_read /= divisor; in sdbc_getvalues() 729 vals->total_reads /= divisor; in sdbc_getvalues() 731 vals->cache_write /= divisor; in sdbc_getvalues() 732 vals->disk_write /= divisor; in sdbc_getvalues() [all …]
|
/titanic_44/usr/src/uts/sun4u/cpu/ |
H A D | us3_jalapeno.c | 700 cpu_change_speed(uint64_t divisor, uint64_t arg2) in cpu_change_speed() argument 729 (divisor != JBUS_CONFIG_ECLK_1_DIV)) { in cpu_change_speed() 744 (divisor == JBUS_CONFIG_ECLK_1_DIV); in cpu_change_speed() 761 for (bceclk = bus_config_eclk; bceclk->divisor; bceclk++) { in cpu_change_speed() 762 if (bceclk->divisor != divisor) in cpu_change_speed() 778 ((divisor == JBUS_CONFIG_ECLK_2_DIV) || in cpu_change_speed() 779 (divisor == JBUS_CONFIG_ECLK_32_DIV))) { in cpu_change_speed() 787 } else if (divisor == JBUS_CONFIG_ECLK_1_DIV) { in cpu_change_speed() 794 CPU->cpu_m.divisor = (uchar_t)divisor; in cpu_change_speed() 796 divisor); in cpu_change_speed() [all …]
|
H A D | us3_cheetah.c | 559 cpu_change_speed(uint64_t divisor, uint64_t arg2) in cpu_change_speed() argument 565 for (bceclk = bus_config_eclk; bceclk->divisor; bceclk++) { in cpu_change_speed() 566 if (bceclk->divisor != divisor) in cpu_change_speed() 572 CPU->cpu_m.divisor = (uchar_t)divisor; in cpu_change_speed() 574 divisor); in cpu_change_speed() 581 cmn_err(CE_WARN, "cpu_change_speed: bad divisor %" PRIu64, divisor); in cpu_change_speed()
|
H A D | us3_cheetahplus.c | 763 cpu_change_speed(uint64_t divisor, uint64_t arg2) in cpu_change_speed() argument 769 for (bceclk = bus_config_eclk; bceclk->divisor; bceclk++) { in cpu_change_speed() 770 if (bceclk->divisor != divisor) in cpu_change_speed() 776 CPU->cpu_m.divisor = (uchar_t)divisor; in cpu_change_speed() 778 divisor); in cpu_change_speed() 785 cmn_err(CE_WARN, "cpu_change_speed: bad divisor %" PRIu64, divisor); in cpu_change_speed()
|
/titanic_44/usr/src/uts/sun4/sys/ |
H A D | cpupm_mach.h | 36 #define CPUPM_SPEED_HZ(mhz, divisor) (((uint64_t)mhz * 1000000) / divisor) argument
|
/titanic_44/usr/src/cmd/sh/ |
H A D | ulimit.c | 48 rlim_t divisor; member 162 rlimtab[res].divisor); in sysulimit() 173 rlimtab[res].divisor); in sysulimit() 212 new_limit = limit * rlimtab[res].divisor; in sysulimit()
|
/titanic_44/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 179 int divisor = 10; in itoa() local 189 divisor = 16; in itoa() 194 int remainder = ud % divisor; in itoa() 198 while (ud /= divisor); in itoa()
|
H A D | kernel.c.texi | 179 int divisor = 10; 189 divisor = 16; 194 int remainder = ud % divisor; 198 while (ud /= divisor);
|
/titanic_44/usr/src/uts/sun4u/sys/ |
H A D | cpudrv_mach.h | 93 #define CPUDRV_SPEED_HZ(mhz, divisor) (((uint64_t)mhz * 1000000) / divisor) argument
|
H A D | machcpuvar.h | 103 uint16_t divisor; /* Estar %tick clock ratio */ member
|
H A D | cpu_module.h | 206 void cpu_change_speed(uint64_t divisor, uint64_t arg2);
|
/titanic_44/usr/src/uts/i86pc/ml/ |
H A D | cpr_wakecode.s | 488 D16 movb $DLAB, %al / divisor latch 491 D16 movl $_CONST(COM1+DLL), %edx / divisor latch lsb 492 D16 movb $B9600L, %al / divisor latch 495 D16 movl $_CONST(COM1+DLH), %edx / divisor latch hsb 496 D16 movb $B9600H, %al / divisor latch 509 D16 movb $DLAB, %al / divisor latch 512 D16 movl $_CONST(COM2+DLL), %edx / divisor latch lsb 513 D16 movb $B9600L, %al / divisor latch 516 D16 movl $_CONST(COM2+DLH), %edx / divisor latch hsb 517 D16 movb $B9600H, %al / divisor latch
|
/titanic_44/usr/src/grub/grub-0.97/stage2/ |
H A D | serial.c | 46 struct divisor struct 56 static struct divisor divisor_tab[] = argument
|
/titanic_44/usr/src/uts/common/os/ |
H A D | sched.c | 153 int divisor; in sched() local 338 divisor = 1; in sched() 341 divisor = 2; in sched() 345 needs = needs / divisor; in sched()
|
/titanic_44/usr/src/lib/libbc/libc/crt/sparc/ |
H A D | muldiv.s | 47 cmp %o1,0xffffffff ! is divisor -1?
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | cpu_module.h | 113 void cpu_change_speed(uint64_t divisor, uint64_t arg2);
|
H A D | machcpuvar.h | 118 uint16_t divisor; /* Estar %tick clock ratio */ member
|
/titanic_44/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | ssc050.c | 323 int divisor; in ssc050_ioctl() local 465 divisor = control & SSC050_FAN_CONTROL_DIVISOR; in ssc050_ioctl() 466 fan_speed = SSC050_FAN_SPEED(divisor, fan_count); in ssc050_ioctl()
|
/titanic_44/usr/src/lib/libsqlite/src/ |
H A D | util.c | 573 LONGDOUBLE_TYPE divisor = 1.0; in sqliteAtoF() local 577 divisor *= 10.0; in sqliteAtoF() 580 v1 /= divisor; in sqliteAtoF()
|
/titanic_44/usr/src/uts/sun4/cpu/ |
H A D | cpu_module.c | 135 cpu_change_speed(uint64_t divisor, uint64_t arg2) in cpu_change_speed() argument
|
/titanic_44/usr/src/uts/sun4u/lw2plus/io/ |
H A D | lombus.c | 1497 uint16_t divisor; in lombus_hw_reset() local 1514 divisor = SIO_BAUD_TO_DIVISOR(SIO_BAUD_DEFAULT); in lombus_hw_reset() 1516 divisor = SIO_BAUD_TO_DIVISOR(ssp->baud); in lombus_hw_reset() 1531 sio_put_reg(ssp, SIO_LBGDH, divisor >> 8); in lombus_hw_reset() 1532 sio_put_reg(ssp, SIO_LBGDL, divisor & 0xff); in lombus_hw_reset()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | DNSCommon.c | 1090 mDNSu32 divisor = 1, chars = 2; // Shortest possible RFC1034 name suffix is 2 characters ("-2") in AppendLabelSuffix() local 1096 while (val >= divisor * 10) { divisor *= 10; chars++; } in AppendLabelSuffix() 1103 while (divisor) in AppendLabelSuffix() 1105 name->c[++name->c[0]] = (mDNSu8)('0' + val / divisor); in AppendLabelSuffix() 1106 val %= divisor; in AppendLabelSuffix() 1107 divisor /= 10; in AppendLabelSuffix()
|