/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_bitmap.c | 300 cmn_err(CE_NOTE, "!sndr: old style (V4) bit map header"); 2338 * make sure that this bit is set. if it isn't, set it 2341 * clear the bit that has not been replicated. when the queue 2424 rdc_std_bit_isset(rdc_k_info_t *krdc, const int bit) argument 2426 return (BMAP_BIT_ISSET(krdc->dcio_bitmap, bit));
|
/illumos-gate/usr/src/uts/common/io/afe/ |
H A D | afe.c | 759 uint32_t bit; local 765 /* bit within a 32-bit word */ 767 bit = (1 << (crc % 32)); 776 newval |= bit; 780 newval &= ~bit; 1160 afe_miiwritebit(afe_t *afep, uint8_t bit) argument 1162 uint32_t val = bit ? SPR_MII_DOUT : 0; 1174 uint8_t bit; local 1178 bit [all...] |
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_main.c | 123 * The descriptor table should have 32-bit physical address limit due to 125 * TX/RX buffers can be 64-bit. 315 * DMA device attributes. Buffer can be 64-bit. 1009 * DMA allocation for L1 and L1E is bit different since L1E uses RX pages 1652 int bit; local 1662 bit = (crc >> 26); 1663 atgep->atge_mchash_ref_cnt[bit]++; 1666 ATGE_DB(("%s: %s() mchash :%llx, bit : %d," 1667 " atge_mchash_ref_cnt[bit] :%d", 1668 atgep->atge_name, __func__, atgep->atge_mchash, bit, 1676 int bit; local 2522 int bit; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 564 int bit, index, irr; local 573 bit = vecp->v_vector % 32; 575 if ((irr & (1 << bit)) != 0) 1332 * bound to a specific CPU. If so, return the cpu id with high bit set.
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 383 /* convert bit pos to request value */ 403 /* convert bit pos to request value */ 631 * Always enable 64bit addressing, except SBUS cards. 815 * nv_cmd = Bit 26= start bit 1273 /* if nvram busy bit is reset, acquire sema */ 4086 uint8_t bit; local 4104 bit = (uint8_t)(ha->vp_index - 1); 4105 pkt->vpc.vp_index[bit / 8] = (uint8_t) 4106 (pkt->vpc.vp_index[bit / 8] | BIT_0 << bit [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.c | 265 uint32_t bit; local 274 bit = 1 << slot; 275 config.bits.mac_addr_en_l = config.bits.mac_addr_en_l | bit; 277 bit = 1 << (slot - 24); 278 config.bits.mac_addr_en = config.bits.mac_addr_en | bit; 288 uint32_t bit; local 297 bit = 1 << slot; 298 config.bits.mac_addr_en_l = config.bits.mac_addr_en_l & ~bit; 300 bit = 1 << (slot - 24); 301 config.bits.mac_addr_en = config.bits.mac_addr_en & ~bit; 345 uint64_t bit; local 368 uint64_t bit; local [all...] |
/illumos-gate/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 591 uint16_t bit; local 596 * to index into a 64bit mask 601 bit = (1U << (crc % 16)); 610 newval |= bit; 614 newval &= ~bit; 1018 * 16-bit or 32-bit mode at this point, so we attempt 1027 /* Select 32-bit (DWIO) mode */ 1074 * bit. This will avoid transmit underruns in ceratin 1735 * Note: we can *NOT* put the chip into 32-bit mod [all...] |
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 874 * Compute the index of the required bit in the multicast hash map. 886 int bit; local 890 for (bit = 0; bit < 8; bit++) {
|
/illumos-gate/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 770 int bit; local 774 for (bit = 0; bit < 8; bit++) {
|
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd.h | 194 uint16_t bit[32]; member in struct:zyd_rfwrite 197 /* 16-bit I/O register write request */
|
/illumos-gate/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalppm.c | 627 "bit 0x%x changed from 0x%x to 0x%x\n", 664 * Switch the DC/DC converter. Clearing the GPIO bit in SuperI/O puts 665 * the converter in low power mode and setting the bit puts it back in 810 * mode bit in GPIO to make power supply efficient 819 * set BBC Estar mode bit in RIO AUXIO register 886 * clear CPU Estar Mode bit in the gpio register 1684 uint8_t bit; local 1686 bit = xcppm_gpio_port2(XCPPM_GETBIT, DRVON); 1687 return ((bit == DRVON) ? PPM_IDEV_POWER_ON : PPM_IDEV_POWER_OFF);
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | evtchn.c | 160 * When an event channel is bound to a CPU, we set a bit in a mask present 313 /* unmask an evtchn and send upcall to appropriate vcpu if pending bit is set */ 1247 * cause a level bit to be recorded in the pending interrupts word. When 1274 * corresponding bit in evtchn_pending_sel to be set. 1275 * Each bit in the selector covers a 32-bit word in 1504 * Set a bit in an evtchan mask word, return true if we are the cpu that 1505 * set the bit. 1511 ulong_t new, old, bit; local 1519 bit 1582 uint_t evtchn, evi, bit; local [all...] |
/illumos-gate/usr/src/cmd/localedef/ |
H A D | collate.c | 42 * The design for the collation code is a bit complex. The goal is a 48 * substitution table if it has a high bit (COLLATE_SUBST_PRIORITY) 49 * set. (The bit is cleared and the result is the index into the 69 * f) Priorities with the sign bit set are verboten. This works out 70 * because no active character set needs that bit to carry significant 803 uint8_t bit = DIRECTIVE_UNDEF; local 807 bit = DIRECTIVE_FORWARD; 810 bit = DIRECTIVE_BACKWARD; 813 bit = DIRECTIVE_POSITION; 819 collinfo.directive[collinfo.directive_count] |= bit; [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.c | 333 mdb_one_bit(int width, int bit, int on) argument 340 for (i = --width; i > bit; i--) 345 for (i = bit - 1; i >= 0; i--)
|
/illumos-gate/usr/src/uts/common/sys/usb/clients/video/usbvc/ |
H A D | usbvc_var.h | 48 uint8_t usbvc_pwr_states; /* bit mask of device pwr states */ 135 uchar_t fid; /* the MJPEG FID bit */ 201 * buf is filled to full but no EOF bit is found at the end 216 /* The xth bit in bmControls bitmap of processing unit descriptor */ 217 uint8_t bit; member in struct:usbvc_v4l2_ctrl_map
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_phy.c | 93 * Returns one's complement 8-bit sum. 418 * ixgbe_check_reset_blocked - check status of MNG FW veto bit 421 * This function checks the MMNGC.MNG_VETO bit to see if there are 423 * have this bit just return faluse since the link can not be blocked 432 /* If we don't have this bit, it can't be blocking */ 439 "MNG_VETO bit detected.\n"); 571 * Poll for reset bit to self-clear indicating reset is complete. 599 * @reg_addr: 32 bit address of PHY register to read 617 * The MDI Command bit will clear when the operation is 647 * completed. The MDI Command bit wil 2354 bool bit = 0; local 2379 bool bit; local [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82575.c | 982 * Set the EEPROM access request bit and wait for EEPROM access grant bit. 983 * Return successful if access grant bit set, else clear the request for 1007 DEBUGOUT("Nvm bit banging access error detected and cleared.\n"); 1017 DEBUGOUT("Nvm bit banging access error detected and cleared.\n"); 1033 * Stop any current commands to the EEPROM and clear the EEPROM request bit, 1122 * e1000_get_cfg_done_82575 - Read config done bit 1125 * Read the management control register for the config done bit for 1127 * to read the config done bit, so an error is *ONLY* logged and returns 1345 * The link up bit determine 3491 bool bit = 0; local 3516 bool bit = 0; local [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 1612 core_content_t mask, bit; local 1649 bit = mask ^ (mask & (mask - 1)); 1653 *buf = (bit & content) ? '+' : '-'; 1660 index = popc(bit - 1); 1667 mask ^= bit;
|
/illumos-gate/usr/src/common/bignum/ |
H A D | bignumimpl.c | 58 * of a 32 x 32 --> 64 bit unsigned multiply. If this is not defined, 60 * because it must fall back to using 16 x 16 --> 32 bit multiplication. 94 #ifdef _LP64 /* truncate 64-bit size_t to 32-bits */ 222 * size Minimum size, in BIG_CHUNK_SIZE-bit words, required for BIGNUM 254 * size Minimum size, in BIG_CHUNK_SIZE-bit words, required for BIGNUM 829 * (BIG_CHUNK_SIZE / 2)-bit integer 902 * result = aa * b where b is a max. (BIG_CHUNK_SIZE / 2)-bit positive integer. 932 * (BIG_CHUNK_SIZE / 2)-bit positive integer. 1180 * bit unsigned multiply, but otherwise is not specific to any 1185 * 32 x 32 --> 64 bit multipl 1899 uint32_t bit, bitind, bitcount, groupbits, apowerssize; local 2049 uint32_t bit, bitind, bitcount, nlen; local 2696 BIG_CHUNK_TYPE bit; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 86 * There are two kinds of aggregations. First, two routes of the same bit 87 * mask and differing only in the least significant bit of the network 127 uint32_t bit; local 162 bit = (-ag->ag_mask) >> 1; 163 ag->ag_dst_h |= bit; 164 ag->ag_mask |= bit; 168 bit = (-ag->ag_mask) >> 1; 169 ag->ag_mask |= bit; 337 * (X & -X) contains a single bit if and only if X is a power of 2. 421 * last bit [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.h | 81 * tchar (Tagged CHARacter) is a place holder to keep a QUOTE bit and 86 * Following typedef's assume short int is a 16-bit entity and long int is 87 * a 32-bit entity. 88 * The QUOTE bit tells whether the character is subject to further 90 * subsitution. TRIM is a mask to strip off the QUOTE bit. 543 * of the variable path, you look at the bit in xhash indexed by 565 #define bit(h, b) ((h)[(b) >> 3] & 1 << ((b) & 7)) /* bit test */ macro 566 #define bis(h, b) ((h)[(b) >> 3] |= 1 << ((b) & 7)) /* bit set */
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 1251 int i, bit; local 1259 while ((bit = mdb_ffs(val)) != 0) { 1260 bit--; 1261 val &= ~(1 << bit); 1262 bit += i * sizeof (*vlans) * NBBY; 1263 if (bit != rnext) { 1268 mdb_printf("%d", bit); 1269 rstart = bit; 1271 rnext = bit + 1; 1621 * This could be a bit mor [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 712 int bit; local 716 bit = CHAP_PEER; 719 bit = PAP_PEER; 739 if ((auth_pending[unit] &= ~bit) == 0) 770 int bit; local 774 bit = CHAP_WITHPEER; 779 bit = PAP_WITHPEER; 783 bit = 0; 790 if ((auth_pending[unit] &= ~bit) == 0)
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 1729 uint32_t val, index, bit; local 1735 /* calculate XOR of eight 6bit values */ 1742 bit = 1 << (pos % 32); 1746 mfilt[index] |= bit; 1749 mfilt[index] &= ~bit;
|
/illumos-gate/usr/src/uts/common/io/audio/ac97/ |
H A D | ac97.c | 214 * bit: 15 8 7 0 304 * registers (if implemented) will have at least one bit that acts 767 ac_gpr_toggle(ac97_ctrl_t *ctrl, int bit, uint64_t onoff) argument 774 v |= bit; 776 v &= ~bit; 857 /* now set the mute bit, and volume bits */ 1046 /* a bit of quick checking */ 1892 /* detect the bit width of the master volume controls */
|