Searched defs:bit (Results 26 - 50 of 147) sorted by relevance

123456

/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes_soft.c67 * 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 Ddes_soft.c62 * 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 Ddbm.c471 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 Drdcrules.c87 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 D3c595.c38 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 Dsf880drd.c356 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 Ddbm.c478 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 Dlm_power.c60 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 Dlm_util.c261 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 Derrorq.c478 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 Devtchn.c142 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 Dnxge_fflp_hash.c115 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 Dusbser_keyspan.c519 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 Dzyd_hw.c65 * 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 Dmem_cache.h87 uint16_t bit; member in struct:cache_info
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dadm1026.c47 * 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 Dpx_err_impl.h37 * 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 Dapic_regops.c279 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 Dapic_introp.c274 * 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 Defx_nic.c648 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 Dndbm.c327 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 Dunpack.c494 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 Dctrun.c110 * 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 Dusbvc_v4l2.c1281 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 Dpx_debug.h117 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, ...);

Completed in 91 milliseconds

123456