Searched defs:divisor (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/sh/
H A Dulimit.c48 rlim_t divisor; member in struct:rlimtab
162 rlimtab[res].divisor);
173 rlimtab[res].divisor);
212 new_limit = limit * rlimtab[res].divisor;
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dkernel.c179 int divisor = 10; local
189 divisor = 16;
194 int remainder = ud % divisor;
198 while (ud /= divisor);
/illumos-gate/usr/src/uts/sun4u/io/
H A Dgrbeep.c335 int divisor = 0; local
344 divisor = GRBEEP_INPUT_FREQ / freq;
346 if (divisor > GRBEEP_DIVISOR_MAX) {
347 divisor = GRBEEP_DIVISOR_MAX;
348 } else if (divisor < GRBEEP_DIVISOR_MIN) {
349 divisor = GRBEEP_DIVISOR_MIN;
353 (divisor & 0xff), ((divisor & 0xff00) >> 8)));
355 GRBEEP_WRITE_FREQ_DIVISOR_REG(divisor & 0xff);
356 GRBEEP_WRITE_FREQ_DIVISOR_REG((divisor
[all...]
H A Drmc_comm.c488 uint16_t divisor; local
505 divisor = SIO_BAUD_TO_DIVISOR(SIO_BAUD_DEFAULT) *
508 divisor = SIO_BAUD_TO_DIVISOR(rcs->baud) *
513 * According to the datasheet, it is forbidden for the divisor
525 sio_put_reg(rcs, SIO_LBGDH, divisor >> 8);
526 sio_put_reg(rcs, SIO_LBGDL, divisor & 0xff);
818 * the baud divisor factor tells us how to scale the result of
823 DDI_PROP_DONTPASS, "baud-divisor-factor", SIO_BAUD_DIVISOR_MIN);
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Dsdbc_stats.c645 int divisor = 0; local
719 divisor = 1;
722 divisor *= KILOBYTE;
724 divisor *= etime;
726 if (divisor != 1) {
727 vals->cache_read /= divisor;
728 vals->disk_read /= divisor;
729 vals->total_reads /= divisor;
731 vals->cache_write /= divisor;
732 vals->disk_write /= divisor;
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dsched.c153 int divisor; local
338 divisor = 1;
341 divisor = 2;
345 needs = needs / divisor;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dserial.c46 /* The structure for speed vs. divisor. */ struct
47 struct divisor
57 static struct divisor divisor_tab[] =
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_cheetah.c545 * change cpu speed bits -- new speed will be normal-speed/divisor.
559 cpu_change_speed(uint64_t divisor, uint64_t arg2) argument
565 for (bceclk = bus_config_eclk; bceclk->divisor; bceclk++) {
566 if (bceclk->divisor != divisor)
572 CPU->cpu_m.divisor = (uchar_t)divisor;
574 divisor);
581 cmn_err(CE_WARN, "cpu_change_speed: bad divisor %" PRIu64, divisor);
[all...]
H A Dus3_jalapeno.c686 * change cpu speed bits -- new speed will be normal-speed/divisor.
700 cpu_change_speed(uint64_t divisor, uint64_t arg2) argument
729 (divisor != JBUS_CONFIG_ECLK_1_DIV)) {
744 (divisor == JBUS_CONFIG_ECLK_1_DIV);
761 for (bceclk = bus_config_eclk; bceclk->divisor; bceclk++) {
762 if (bceclk->divisor != divisor)
778 ((divisor == JBUS_CONFIG_ECLK_2_DIV) ||
779 (divisor == JBUS_CONFIG_ECLK_32_DIV))) {
787 } else if (divisor
[all...]
H A Dus3_cheetahplus.c749 * change cpu speed bits -- new speed will be normal-speed/divisor.
763 cpu_change_speed(uint64_t divisor, uint64_t arg2) argument
769 for (bceclk = bus_config_eclk; bceclk->divisor; bceclk++) {
770 if (bceclk->divisor != divisor)
776 CPU->cpu_m.divisor = (uchar_t)divisor;
778 divisor);
785 cmn_err(CE_WARN, "cpu_change_speed: bad divisor %" PRIu64, divisor);
[all...]
H A Dopl_olympus.c2300 cpu_change_speed(uint64_t divisor, uint64_t arg2) argument
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dssc050.c323 int divisor; local
465 divisor = control & SSC050_FAN_CONTROL_DIVISOR;
466 fan_speed = SSC050_FAN_SPEED(divisor, fan_count);
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dcomconsole.c36 #define COMC_BPS(x) (115200 / (x)) /* speed to DLAB divisor */
37 #define COMC_DIV2BPS(x) (115200 / (x)) /* DLAB divisor to speed */
588 u_int divisor; local
601 divisor = dlbh << 8 | dlbl;
604 if (divisor == 0)
606 return (COMC_DIV2BPS(divisor));
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dutil.c573 LONGDOUBLE_TYPE divisor = 1.0; local
577 divisor *= 10.0;
580 v1 /= divisor;
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachcpuvar.h103 uint16_t divisor; /* Estar %tick clock ratio */ member in struct:machcpu
H A Dus3_module.h469 uint_t divisor; member in struct:bus_config_eclk
/illumos-gate/usr/src/lib/libdtrace_jni/common/
H A Ddtj_consume.c1261 jobject divisor; local
1264 divisor = (*jenv)->CallStaticObjectMethod(jenv,
1268 g_bigint_div_jm, divisor);
1270 (*jenv)->DeleteLocalRef(jenv, divisor);
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnic.c1151 unsigned long divisor, tmo; local
1156 divisor = RAND_MAX/(base << exp);
1157 tmo = random()/divisor;
/illumos-gate/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c668 print_sum(tstat_sum_t *sum, int divisor) argument
677 sum[i].tsum_time /= divisor;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachcpuvar.h118 uint16_t divisor; /* Estar %tick clock ratio */ member in struct:machcpu
/illumos-gate/usr/src/uts/sun4/cpu/
H A Dcpu_module.c135 cpu_change_speed(uint64_t divisor, uint64_t arg2) argument
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgweb.c2527 ulong_t divisor; local
2534 divisor = MED_DIVISOR;
2537 divisor = LARGE_DIVISOR;
2539 divisor = SMALL_DIVISOR;
2542 const_divider = size_of_load / divisor;
2543 const_completed = 100 / divisor;
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c561 * Check for baudrate generator's "baud-divisor-factor" property setup
563 * generator divisor. e.g., in case of NSPG's Sputnik platform, the
564 * baud-divisor-factor is 13, it uses dedicated 16552 "DUART" chip
565 * instead of SuperIO. Since the baud-divisor-factor must be a positive
570 DDI_PROP_DONTPASS, "baud-divisor-factor", 1);
2606 * Get the divisor by calculating the rate
3026 * Get the divisor by calculating the rate
3028 unsigned int rate, divisor; local
3033 divisor = asyspdtab[rate] & 0xfff;
3060 drv_usecwait(32*divisor);
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c220 * We initialize subtrahend by shifting divisor left as far as possible. We
226 dt_divide_128(uint64_t *dividend, uint64_t divisor, uint64_t *quotient) argument
235 assert(divisor != 0);
237 divisor_128[0] = divisor;
243 subtrahend[0] = divisor;
246 while (divisor > 0) {
248 divisor >>= 1;
/illumos-gate/usr/src/common/mpi/
H A Dmpi.c563 single digit d. Respects the sign of its divisor (single digits are
3191 Normalize a and b for division, where b is the divisor. In order
4144 ** Divide 64-bit (Nhi,Nlo) by 32-bit divisor, which must be normalized
4147 mp_err s_mpv_div_2dx1d(mp_digit Nhi, mp_digit Nlo, mp_digit divisor, argument
4153 d1 = divisor >> MP_HALF_DIGIT_BIT;
4154 d0 = divisor & MP_HALF_DIGIT_MAX;
4160 q1--, r1 += divisor;
4161 if (r1 >= divisor && r1 < m) {
4162 q1--, r1 += divisor;
4171 q0--, r0 += divisor;
[all...]

Completed in 194 milliseconds

12