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

123456

/illumos-gate/usr/src/uts/common/io/urtw/
H A Durtw.c675 int16_t bit; local
702 bit = ((d2w & mask) != 0) ? 1 : 0;
705 bit | o1, 0))
709 bit | o1 | URTW_BB_HOST_BANG_CLK, 0))
713 bit | o1 | URTW_BB_HOST_BANG_CLK, 0))
719 bit = ((d2w & mask) != 0) ? 1 : 0;
721 bit | o1 | URTW_BB_HOST_BANG_CLK, 0))
725 bit | o1 | URTW_BB_HOST_BANG_CLK, 0))
729 bit | o1, 0))
734 bit | o
1155 urtw_eprom_writebit(struct urtw_softc *sc, int16_t bit) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror.c1149 * MD_INACCESSIBLE bit in this case. This bit is also cleared for the
1496 * This routine is used to set a bit in the writable_bm bitmap
1514 /* set bit of all writable units */
1626 * Given a 32-bit bitmap, this routine will return the bit number
1627 * of the nth bit set. The nth bit set is passed via the index integer.
1637 int bit, nfound; local
1639 for (bit
[all...]
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c1063 * be set explicitly in the 512 bit hash table. Hence the index into
1064 * the hash table is calculated and the bit set to enable reception
1074 * worst that could happen is that we'd leave on a bit for an old
1136 int32_t bit; local
1141 for (bit = 0; bit < 8; bit++) {
1152 for (index = 0, bit = 23, shift = 8; shift >= 0; bit++, shift--) {
1153 index |= (((crc >> bit)
2866 uint8_t bit; local
3059 int word, bit; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c345 uintmax_t bit = bit_arg; local
347 if (bit != 0 && !ISP2(bit))
350 if ((bit == 0 && eiip->e_zero) ||
351 (bit != 0 && (eiip->e_bits & bit) != 0)) {
355 if (bit == 0)
358 eiip->e_bits |= bit;
360 if (eiip->e_buf != NULL && (eiip->e_value & bit) != 0) {
1116 * If the pointer itself is a char *, we attempt to read a bit o
[all...]
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c173 int bit; local
180 for (data = *addr++, bit = 0; bit < 8; bit++, data >>= 1) {
2288 /* Timer expired, ensure reset bit is not set */
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_cots.c55 * threads don't mess with it. Went ahead and bit the bullet by keeping
263 } bit; unsigned int word; member in union:cm_xprt::__anon174
265 #define x_closing x_state.bit.b_closing
266 #define x_dead x_state.bit.b_dead
267 #define x_doomed x_state.bit.b_doomed
268 #define x_connected x_state.bit.b_connected
270 #define x_ordrel x_state.bit.b_ordrel
271 #define x_thread x_state.bit.b_thread
272 #define x_waitdis x_state.bit.b_waitdis
273 #define x_needdis x_state.bit
[all...]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_chip2.c41 #define BGE_CFG_IO8 1 /* 8/16-bit cfg space BIS/BIC */
420 * Note: internally, the chip is 64-bit and BIG-endian, but
432 * MHCR_ENABLE_REGISTER_WORD_SWAP bit because then 4-byte
438 * Note: the meaning of the 'MASK_INTERRUPT_MODE' bit isn't
441 * more (under "Broadcom Mask Mode"). The bit changes the way
442 * the MASK_PCI_INT_OUTPUT bit works: with MASK_INTERRUPT_MODE
445 * the MASK_INTERRUPT_MODE bit makes the MASK_PCI_INT_OUTPUT
446 * bit do just what its name says -- MASK the PCI #INTA output
582 * If CPU runs on Intel EM64T mode,the 64bit operation cannot works fine
748 * The DDI doesn't provide get/put functions for 128 bit dat
2101 uint32_t bit; local
2137 uint32_t bit; local
2198 uint32_t bit; local
[all...]
/illumos-gate/usr/src/common/lzma/
H A DLzmaEnc.c692 UInt32 bit; local
694 bit = (symbol >> i) & 1;
695 RangeEnc_EncodeBit(rc, probs + m, bit);
696 m = (m << 1) | bit;
706 UInt32 bit = symbol & 1; local
707 RangeEnc_EncodeBit(rc, probs + m, bit);
708 m = (m << 1) | bit;
732 UInt32 bit = symbol & 1; local
734 price += GET_PRICEa(probs[m], bit);
735 m = (m << 1) | bit;
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c185 * Read 32 bit atomically
198 * Set 32 bit atomically
332 * This function waits for a specific bit to come ready
338 ql_wait_reg_rdy(qlge_t *qlge, uint32_t reg, uint32_t bit, uint32_t err_bit) argument
349 } else if ((temp & bit) != 0)
368 ql_wait_cfg(qlge_t *qlge, uint32_t bit) argument
370 return (ql_wait_reg_bit(qlge, REG_CONFIGURATION, bit, BIT_RESET, 0));
379 ql_write_cfg(qlge_t *qlge, uint32_t bit, uint64_t phy_addr, uint16_t q_id) argument
389 status = ql_wait_cfg(qlge, bit);
397 mask = CFG_Q_MASK | (bit << 1
[all...]
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c935 /* 32 bit addressing */
1977 * The interrupt routing bit should not be set.
1981 "ohci_take_control: Routing bit set");
3514 /* Add bit-stuffing overhead */
4196 * Modify the sKip bit on the Host Controller (HC) Endpoint Descriptor (ED).
4215 * If the skip bit is to be cleared, just clear it.
4217 * If the host controller reads the bit before the
4218 * driver has a chance to set the bit, the bit will
4228 /* Check Halt or Skip bit i
10286 uint_t bit = 0; local
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dscsb.c516 * 2. set SCB_INITIALIZED bit in SysCommand registers (SYS_CMD_BASE)
532 * 10. enable PSM Interrupt by writing '1' to PSM_INT_EN bit at
777 * 2. Set the SCB_INIT bit in the System Command register
2109 * Discover the register and bit-offset for LEDs and Reset registers,
2274 /* HSC slotnum (Positional SLotnum) to SCB CFG bit-offset */
2278 * MAP Positional (HSC) slot number to SCB CFG register bit-offset
2394 * and ONLY for the register sets in bit-offset groups 1,2:
2789 * Set OK (green) LED register bit
2796 * Turn off BLINK register bit.
3016 * slot bit
6127 uchar_t reg, bit; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c81 * attribute bitmask. map[N] = value of bit N in a bitmap4.
2210 int bit; local
2214 for (bit = 7; bit >= 0; bit--) {
2215 if (val & (1 << bit)) {
2218 attr_name(attrnum + bit));
2220 unpacked->map[attrnum + bit] =
4193 int bit; local
4200 for (bit
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c348 * This looks a bit odd (since the values are actually
1132 uint_t bit; member in struct:audio_stuff
1183 for (; audio_porttab->bit != 0; ++audio_porttab) {
1184 if (features & audio_porttab->bit) {
1186 features &= ~audio_porttab->bit;
1211 for (; audio_porttab->bit != 0; ++audio_porttab) {
1212 if (ports & audio_porttab->bit) {
1214 ports &= ~audio_porttab->bit;
5150 /* We are a 32-bit truss; we can't grok a 64-bit proces
[all...]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c784 * Check a bit in a mode_t: if on is B_TRUE, that bit should be on; if
788 bad_mode_bit(mode_t mode, mode_t bit, boolean_t on, char *file) argument
792 assert(bit == S_IRUSR || bit == S_IWUSR || bit == S_IXUSR ||
793 bit == S_IRGRP || bit == S_IWGRP || bit == S_IXGRP ||
794 bit
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c187 "variable to an unsigned 32-bit integer value\n");
3316 int bit = flagbits[(uchar_t)flagstr[i]]; local
3318 if (bit == 0) {
3323 flags |= bit;
3326 if ((bit & (ZDB_FLAG_CHECKSUM |
3331 if (bit == ZDB_FLAG_PRINT_BLKPTR)
/illumos-gate/usr/src/uts/common/io/usbgem/
H A Dusbgem.c216 int bit; local
222 for (data = *addr++, bit = 0; bit < 8; bit++, data >>= 1) {
235 int bit; local
241 for (data = *addr++, bit = 0; bit < 8; bit++, data >>= 1) {
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c1085 " system running a 32-bit kernel. This file system will not be\n"
1086 " accessible until the system is rebooted with a 64-bit kernel.\n"));
2445 * In the vtoc struct, p_size is a 32-bit signed quantity.
2447 * is an unsigned 64-bit quantity. By casting the vtoc's
2448 * psize to an unsigned 32-bit quantity, it will be copied
2449 * to 'slicesize' (an unsigned 64-bit diskaddr_t) without
4904 * it's free (i.e., its bit is set in the free frag bit map). If so,
4989 long bit; local
4998 bit
5072 long bit; local
5099 long bit; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dsadb.c148 * the 32-bit time_t overflows (a dangerous assumption, mind you..).
3309 * is 64 bit aligned so it can be incremented as a
4235 /* Double by shifting by one bit. */
4252 /* Halve by shifting one bit. */
4914 * make sure the high bit on the sequence number is set.)
6039 * the ipsa->ipsa_replay_arr is an array of uint64_t, and that the bit vector
6045 * Is the replay bit set?
6050 uint64_t bit = (uint64_t)1 << (uint64_t)(offset & 63); local
6052 return ((bit & ipsa->ipsa_replay_arr[offset >> 6]) ? B_TRUE : B_FALSE);
6077 * Set a bit i
6082 uint64_t bit = (uint64_t)1 << (uint64_t)(offset & 63); local
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c168 #define ECORE_TEST_BIT(bit, var) test_bit(bit, var)
169 #define ECORE_TEST_AND_CLEAR_BIT(bit, var) test_and_clear_bit(bit, var)
218 static __inline BOOL ECORE_TEST_AND_CLEAR_BIT(int bit, unsigned long *vec) argument
220 BOOL set = ECORE_TEST_BIT(bit, vec);
221 ECORE_CLEAR_BIT(bit, vec);
409 * unless a DRV_CLEAR_ONLY bit is set. In this case we just want to
514 * ecore_state_wait - wait until the given bit(state) is cleared
1512 * from command parameters only RAMROD_COMP_WAIT bit i
3599 int bit; local
3619 int bit; local
4840 enum ecore_queue_cmd cmd = params->cmd, bit; local
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_mddb.c533 int bit, byte; local
537 bit = 1 << (blk & 7);
538 ASSERT(! (s->s_freebitmap[byte] & bit));
539 s->s_freebitmap[byte] |= bit;
548 int bit, byte; local
552 bit = 1 << (blk & 7);
553 ASSERT(s->s_freebitmap[byte] & bit);
554 s->s_freebitmap[byte] &= ~bit;
563 int bit, byte; local
566 bit
[all...]
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c1068 "32-bit Memory Space",
1069 "64-bit Memory Space"
1682 int bit = b*8+s+j; local
1683 bit = 0x1 & (key[bit / 8] >> (7 -(bit & 0x7)));
1684 k[s] |= bit << (31 - j);
2704 /* low bit indicates receives are present */
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c1039 * Set SCSI_HBA_SCSA_FM bit to mark us as using the common
3014 * tran_open_flag bit field:
3016 * 1: shared open by minor at bit position
3017 * 1 at 31st bit: exclusive open
7654 * SCSI_OPTIONS_ILUN0 bit.
9443 * Future: This bit of code only works if the
9800 * callback which will then take the resultant bit mask of phys (phymask) in
9863 uint_t bit; local
9865 bit = roundup(SAS_PHY_NPHY, 4);
9870 bit
[all...]

Completed in 282 milliseconds

123456