/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | des_soft.c | 67 * Won't work without 8 bit chars and 32 bit longs 81 * Table giving odd parity in the low bit for ASCII characters 105 * Add odd parity to low bit of 8 byte key 181 * the key. The low order bit of each 182 * 8-bit char is not used, so C and D are only 28 186 short bit; local 193 bit = *pcc++; 194 if (btst(userkey, bit)) 196 bit 208 short j, k, bit; local [all...] |
/illumos-gate/usr/src/lib/libnsl/des/ |
H A D | des_soft.c | 62 * Won't work without 8 bit chars and 32 bit longs 73 * Table giving odd parity in the low bit for ASCII characters 95 * Add odd parity to low bit of 8 byte key 217 * the key. The low order bit of each 218 * 8-bit char is not used, so C and D are only 28 222 short bit; local 229 bit = *pcc++; 230 if (btst(userkey, bit)) 232 bit 244 short j, k, bit; local [all...] |
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | dbm.c | 471 long bit; local 474 bit = hmask+1; 476 bit >>= 1; 477 if (bit == 0) 479 if ((hash&bit) == 0) 480 return (hash|bit); 481 hash &= ~bit;
|
/illumos-gate/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 87 char bit[CFG_MAX_BUF]; /* a bitmap */ local 118 rc = sscanf(buf, "%s %s %s %s %s", mas, sha, bit, mod, ovr); 130 (strcmp(bmp, bit) == 0) || 152 (void) sscanf(buf, "%s %s %s %s %s %s", host, pri, bit, 157 (strcmp(bmp, bit) == 0)) { 188 (strcmp(bmp, bit) == 0)) { 226 (strcmp(bmp, bit) == 0)) {
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | 3c595.c | 38 int bit; member in struct:connector_entry 360 if (vx_connectors & conn_tab[k].bit) { 400 if ((vx_connectors & conn_tab[vx_connector].bit) == 0) {
|
/illumos-gate/usr/src/cmd/sf880drd/ |
H A D | sf880drd.c | 356 i2c_set_bit(int fp, int bit, uint8_t value) argument 361 passin.bit_num = (uchar_t)bit;
|
/illumos-gate/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 478 long bit; local 481 bit = hmask+1; 483 bit >>= 1; 484 if (bit == 0) 486 if ((hash&bit) == 0) 487 return (hash|bit); 488 hash &= ~bit;
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_power.c | 60 u32_t bit = 0 ; local 140 //word 0 |Pattern 7 bit 0 | Pattern 6 bit 0 |....|Pattern 0 bit 0|..... |Pattern 7 bit 7 | Pattern 6 bit 7 |....|Pattern 0 bit 7 | 142 //word 1 |Pattern 7 bit 8 | Pattern 6 bit 8 |....|Pattern 0 bit [all...] |
H A D | lm_util.c | 261 u32_t bit = 0 ; local 275 for (bit = 0; bit < 8; bit = bit + 1) 279 if ( msb != ( 0x1 & (current_byte>>bit)) ) // (msb != current_byte[bit]) 286 // Last step is to "mirror" every bit, swap the 4 bytes, and then complement each bit. 298 //temp[31-bit] [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | errorq.c | 478 ulong_t bit, maxbit, bx; local 494 for (bx = 0, bit = 1; bx <= maxbit; bx++, bit <<= 1) 495 if (bx >= nextbitindex && !(bitmap[nextword] & bit))
|
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/ |
H A D | evtchn.c | 142 ulong_t bit = 1UL << (ev & ((1UL << EVTCHN_SHIFT) - 1)); local 147 * index,bit contain the event number as an index into the 151 atomic_and_ulong(maskp, ~bit); 159 /* Set a bit in an evtchan mask word */ 164 ulong_t bit = 1UL << (ev & ((1UL << EVTCHN_SHIFT) - 1)); local 168 atomic_or_ulong(maskp, bit); 175 ulong_t bit = 1UL << (ev & ((1UL << EVTCHN_SHIFT) - 1)); local 179 atomic_and_ulong(maskp, ~bit);
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fflp_hash.c | 115 uint32_t index, bit, byte, crc; local 120 for (bit = 0; bit < 8; bit++) { 141 uint16_t index, bit, byte; local 146 for (bit = 0; bit < 8; bit++) { 203 * Lookup the crc32c for a 32 bit word stream 281 uint32_t crc, bit, byt local 305 int bit, byte; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/ |
H A D | usbser_keyspan.c | 519 keyspan_set_reg(keyspan_pipe_t *pipe, uchar_t bit) argument 527 rval = keyspan_write_memory(pipe, 0x7f92, &bit, 1, KEYSPAN_REQ_SET); 604 /* Set bit 1 before downloading firmware. */ 626 * Set bit 0, device will be enumerated again after a while,
|
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd_hw.c | 65 * Read a 32-bit I/O register. 101 * Write a 32-bit I/O register. 124 * Read a 16-bit I/O register. 161 * Write a 16-bit I/O register. 182 * Write an array of 16-bit registers. 263 int bit; local 276 bit = (val & (1 << (bits - i - 1))) != 0; 277 tmp = LE_16(cr203) | (bit ? LE_16(ZYD_RF_DATA) : 0); 278 req.bit[i] = tmp;
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | mem_cache.h | 87 uint16_t bit; member in struct:cache_info
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | adm1026.c | 47 * the 16 GPIO pins. When a Polarity bit is set to 0, the GPIO pin is 48 * active low, otherwise, it is active high. When a Direction bit is set 52 * When a GPIO pin is configured as an input, the bit is set when its GPIO 53 * pin is asserted. When a GPIO pin is configured as an output, the bit 510 * Each GPIO pin has 2 bits of configuration - 1 polarity bit and 1 511 * direction bit. Traverse the mask 4 bits at a time to determine 528 uint8_t bit = (cmd == GPIO_SET_CONFIG) ? local 533 mm |= (bit << (j * BITSPERCFG)); 536 vv |= (bit << (j * BITSPERCFG)); 555 * Each GPIO pin has 2 bits of configuration - 1 polarity bit an 573 uint8_t bit = (cmd == GPIO_GET_CONFIG) ? local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/px/ |
H A D | px_err_impl.h | 37 * bit Bit Number 38 * counter Counter for number of errors countered for this bit 41 * class_name Class Name used for sending ereports for this bit. 44 uint_t bit; member in struct:px_err_bit_desc 60 * *err_bit_tbl error bit table 61 * err_bit_keys number of entries in the error bit table. 106 ddi_fm_error_t *derr, uint_t bit, char *class_name) 112 #define PX_ERR_IS_PRI(bit) (bit < 32)
|
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_regops.c | 279 int bit = ((0x1 << (X2APIC_ENABLE_BIT + 1)) | local 284 if ((apic_base_msr & bit) == bit) 389 * is simplified. A single MSR write to the 64-bit ICR is required 390 * for dispatching an interrupt. Specifically with the 64-bit MSR 392 * status of the delivery status bit prior to writing to the ICR 393 * to send an IPI. With the removal of the Delivery Status bit,
|
H A D | apic_introp.c | 274 * This function will return the pending bit of the irqp. 282 int bit, index, irr, pending; local 295 bit = irqp->airq_vector % 32; 301 pending = (irr & (1 << bit)) ? 1 : 0;
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_nic.c | 648 unsigned int bit; local 658 /* bit sweep on and off */ 661 for (bit = 0; bit < 128; bit++) { 662 /* Is this bit in the mask? */ 663 if (~(rsp->mask.eo_u32[bit >> 5]) & (1 << bit)) 666 /* Test this bit can be set in isolation */ 669 EFX_SET_OWORD_BIT(reg, bit); [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | ndbm.c | 327 long bit; local 330 bit = db->dbm_hmask+1; 332 bit >>= 1; 333 if(bit == 0) 335 if((hash&bit) == 0) 336 return(hash|bit); 337 hash &= ~bit;
|
/illumos-gate/usr/src/cmd/unpack/ |
H A D | unpack.c | 494 int tp, bit; local 538 bit = tp = 0; 540 if (bit <= 0) { 551 bit = 16; 555 bit--;
|
/illumos-gate/usr/src/cmd/ctrun/ |
H A D | ctrun.c | 110 * Convert a bit into its string representation. 113 bit2str(optvect_t *options, uint_t bit) argument 116 if (options->opt_value == bit) 124 * Convert a string into its bit representation. If match is set, only 125 * look at those options with the match bit set in its opt_flags 153 uint_t bit; local 169 bit = 0; 171 bit = str2bit(options, match, str, len); 172 if (bit == 0 && strncmp(str, "none", len) == 0) { 176 } else if (bit [all...] |
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/ |
H A D | usbvc_v4l2.c | 1281 uchar_t bit; local 1299 bit = usbvc_v4l2_ctrls[4].bit; 1304 bit = usbvc_v4l2_ctrls[idx].bit; 1320 if (bit >= 1325 * than bit, then next 1337 if ((bit < 8) && 1338 unit->bmControls[0] & (0x1 << bit)) { 1342 if ((bit > [all...] |
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_debug.h | 117 px_debug_bit_t bit; member in struct:px_dbg_msg 128 extern void px_dbg(px_debug_bit_t bit, dev_info_t *dip, char *fmt, ...);
|