Searched refs:bit (Results 51 - 75 of 476) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/sio/
H A Dsiovar.h58 #define SET_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) | (bit))
59 #define CLR_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) & ~(bit))
/freebsd-11-stable/lib/libc/sparc64/fpu/
H A Dfpu_div.c69 * if X < Y. In that case, it will have to be shifted left one bit to
76 * The quotient mantissa X/Y can then be computed one bit at a time
83 * for (bit = FP_NMANT; --bit >= 0; R *= 2) {
85 * Q |= 1 << bit;
90 * The subtraction R -= Y always removes the uppermost bit from R (and
95 * included in the expanded internal representation. The sticky bit
101 * one bit at a time ``from the top down''. This means that we can
107 * is therefore at in [2.0,4.0).) Thus Q is sure to have bit FP_NMANT-1
114 * bit
159 u_int q, bit; local
[all...]
/freebsd-11-stable/sys/mips/include/
H A Dpte.h60 * entries, each consisting of two 32-bit or 64-bit values ("EntryHi" and
69 * reserved range, which runs from bit 55 ... 63. In other configurations
70 * (32-bit MIPS4k and compatible), shift them out to bits 29 ... 31.
72 * NOTE: This means that for 32-bit use of CP0, we aren't able to set the top
73 * bit of PFN to a non-zero value, as software is using it! This physical
96 * or kernel. Bits 61 to 40 copy bit 63. VPN2 is bits 39 and down to
97 * as low as 13, down to PAGE_SHIFT, to index 2 TLB pages*. From bit 12
98 * to bit 8 there is a 5-bit
[all...]
/freebsd-11-stable/contrib/xz/src/common/
H A Dsysdefs.h50 // We assume that int is 32-bit and that long is either 32-bit or 64-bit.
56 # error UINT32_C is not defined and unsigned int is not 32-bit.
113 // The code currently assumes that size_t is either 32-bit or 64-bit.
120 # error size_t is not 32-bit or 64-bit
124 # error size_t is not 32-bit or 64-bit
[all...]
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_subr.c139 int back, bit, end, forw, i, loc, start; local
145 bit = 1;
149 if ((bbp[loc] & bit) == 0)
158 bit <<= 1;
161 bit = 1;
181 bit = 1 << (start % NBBY);
183 if ((bbp[loc] & bit) != 0)
186 bit <<= 1;
189 bit = 1;
200 bit
[all...]
/freebsd-11-stable/sys/mips/mips/
H A Dminidump_machdep.c89 int idx, bit; local
93 bit = pa & 31;
94 atomic_set_int(&vm_page_dump[idx], 1ul << bit);
100 int idx, bit; local
104 bit = pa & 31;
105 atomic_clear_int(&vm_page_dump[idx], 1ul << bit);
168 int i, bit, error; local
208 bit = ffs(bits) - 1;
210 bit) * PAGE_SIZE;
216 bits &= ~(1ul << bit);
[all...]
/freebsd-11-stable/contrib/dialog/samples/
H A Dchecklist-8bit2 # $Id: checklist-8bit,v 1.8 2010/01/13 10:20:03 tom Exp $
8 . ./testdata-8bit
/freebsd-11-stable/contrib/xz/src/liblzma/rangecoder/
H A Drange_encoder.h67 rc_bit(lzma_range_encoder *rc, probability *prob, uint32_t bit) argument
69 rc->symbols[rc->count] = bit;
82 const uint32_t bit = (symbol >> --bit_count) & 1; local
83 rc_bit(rc, &probs[model_index], bit);
84 model_index = (model_index << 1) + bit;
96 const uint32_t bit = symbol & 1; local
98 rc_bit(rc, &probs[model_index], bit);
99 model_index = (model_index << 1) + bit;
164 // Encode a bit
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_regset.c110 ulong_t bit, bx; local
113 for (bit = 1, bx = 0; bx <= maxb; bx++, bit <<= 1) {
114 if ((word & bit) == 0) {
/freebsd-11-stable/lib/libc/mips/string/
H A Dffs.S47 /* bit = ffs(value) */
53 and v1, a0, 1 # bit set?
/freebsd-11-stable/release/packages/
H A DMakefile.package46 jail-lib32_DESCR= 32-bit Libraries
47 jail-lib32-debug_DESCR=32-bit Debugging Symbols
48 jail-lib32-development_DESCR=32-bit Development Files
49 jail-lib32-profile_DESCR=32-bit Profiling Libraries
63 runtime-lib32_DESCR= 32-bit Libraries
64 runtime-lib32-debug_DESCR=32-bit Debugging Symbols
65 runtime-lib32-development_DESCR=32-bit Development Files
66 runtime-lib32-profile_DESCR=32-bit Profiling Libraries
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Docteon-feature.c63 * Set the bit in octeon_feature_map for feature.
70 int bit, byte; local
73 bit = feature & 0x7;
74 octeon_feature_map[byte] |= (((uint8_t)1) << bit);
H A Dcvmx-interrupt.c316 * Map a ciu bit to an irq number. 0xff for invalid.
336 static void __cvmx_interrupt_set_mapping(int irq, unsigned int en, unsigned int bit) argument
338 cvmx_interrupt_state.handlers[irq].handler_data = (en << 6) | bit;
340 cvmx_ciu_to_irq[en][bit] = irq;
342 cvmx_ciu_61xx_timer_to_irq[bit] = irq;
344 cvmx_ciu2_mbox_to_irq[bit] = irq;
384 int bit; local
391 CVMX_DCLZ(bit, irq_mask);
392 bit = 63 - bit;
396 int bit; local
467 int bit; local
722 int bit = cvmx_interrupt_state.handlers[irq_number].handler_data; local
770 int bit = cvmx_interrupt_state.handlers[irq_number].handler_data; local
[all...]
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_context.c62 int bit; local
68 bit = find_first_zero_bit(dev->ctx_bitmap, DRM_MAX_CTXBITMAP);
69 if (bit >= DRM_MAX_CTXBITMAP) {
74 set_bit(bit, dev->ctx_bitmap);
75 DRM_DEBUG("bit : %d\n", bit);
76 if ((bit+1) > dev->max_context) {
78 int max_ctx = (bit+1);
84 clear_bit(bit, dev->ctx_bitmap);
85 DRM_DEBUG("failed to allocate bit
[all...]
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_context.c58 * Clears the bit specified by \p ctx_handle in drm_device::ctx_bitmap and the entry
88 int bit; local
94 bit = find_first_zero_bit(dev->ctx_bitmap, DRM_MAX_CTXBITMAP);
95 if (bit >= DRM_MAX_CTXBITMAP) {
100 set_bit(bit, dev->ctx_bitmap);
101 DRM_DEBUG("bit : %d\n", bit);
102 if ((bit+1) > dev->max_context) {
104 int max_ctx = (bit+1);
110 clear_bit(bit, de
[all...]
/freebsd-11-stable/sys/powerpc/fpu/
H A Dfpu_div.c69 * if X < Y. In that case, it will have to be shifted left one bit to
76 * The quotient mantissa X/Y can then be computed one bit at a time
83 * for (bit = FP_NMANT; --bit >= 0; R *= 2) {
85 * Q |= 1 << bit;
90 * The subtraction R -= Y always removes the uppermost bit from R (and
95 * included in the expanded internal representation. The sticky bit
101 * one bit at a time ``from the top down''. This means that we can
107 * is therefore at in [2.0,4.0).) Thus Q is sure to have bit FP_NMANT-1
114 * bit
158 u_int q, bit; local
[all...]
/freebsd-11-stable/sys/arm/altera/socfpga/
H A Dsocfpga_rstmgr.c127 int bit; local
133 bit = BRGMODRST_FPGA2HPS;
137 bit = BRGMODRST_LWHPS2FPGA;
141 bit = BRGMODRST_HPS2FPGA;
149 enable = reg & bit ? 0 : 1;
156 reg &= ~(bit);
158 reg |= (bit);
/freebsd-11-stable/stand/common/
H A Disapnp.c95 int i, bit, valid = 0, sum = 0x6a; local
100 bit = inb(isapnp_readport) == 0x55;
104 bit = (inb(isapnp_readport) == 0xaa) && bit;
107 valid = valid || bit;
111 (((sum ^ (sum >> 1) ^ bit) << 7) & 0xff);
113 data[i / 8] = (data[i / 8] >> 1) | (bit ? 0x80 : 0);
/freebsd-11-stable/usr.sbin/wlandebug/
H A Dwlandebug.c86 u_int bit; member in struct:__anon8920
128 return flags[i].bit;
199 u_int bit; local
211 bit = getflag(cp, tp-cp);
213 ndebug &= ~bit;
215 ndebug |= bit;
217 if (bit == 0) {
220 bit = strtoul(cp, NULL, 0);
225 ndebug = bit;
239 if (debug & flags[i].bit) {
[all...]
/freebsd-11-stable/sys/i386/i386/
H A Dminidump_machdep.c188 int i, j, k, bit; local
213 /* set bit for each valid page in this 2MB block */
234 bit = bsfl(bits);
235 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) + bit) * PAGE_SIZE;
242 bits &= ~(1ul << bit);
338 bit = bsfl(bits);
339 pa = (((uint64_t)i * sizeof(*vm_page_dump) * NBBY) + bit) * PAGE_SIZE;
343 bits &= ~(1ul << bit);
378 int idx, bit; local
382 bit
389 int idx, bit; local
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dminidump_machdep.c194 int i, bit, error; local
226 bit = ffs(bits) - 1;
228 bit) * PAGE_SIZE;
234 bits &= ~(1ul << bit);
317 bit = ffs(bits) - 1;
319 bit) * PAGE_SIZE;
335 bits &= ~(1ul << bit);
377 int idx, bit; local
381 bit = pa & 31;
382 atomic_set_int(&vm_page_dump[idx], 1ul << bit);
388 int idx, bit; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_rand.c121 int ret = 0, bit, bytes, mask; local
134 bit = (bits - 1) % 8;
135 mask = 0xff << (bit + 1);
174 if (bit == 0) {
178 buf[0] |= (3 << (bit - 1));
181 buf[0] |= (1 << bit);
185 if (bottom) /* set bottom bit if requested */
241 * range = 100..._2, so 3*range (= 11..._2) is exactly one bit longer
/freebsd-11-stable/sys/netgraph/
H A Dng_sppp.c115 int index, bit; local
137 for (bit = 0; (mask & 1) != 0; bit++)
139 KASSERT ((bit >= 0 && bit < NBBY),
140 ("%s: word=%d bit=%d", __func__, ng_sppp_units[index], bit));
141 ng_sppp_units[index] |= (1 << bit);
142 *unit = (index * NBBY) + bit;
152 int index, bit; local
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dlfsr.c89 unsigned int bit; local
101 for (bit = 0; bit < 7; bit++) {
/freebsd-11-stable/sys/dev/ow/
H A Dowc_gpiobus.c168 #define GETPIN(sc, bit) GPIOBUS_PIN_GET((sc)->sc_busdev, \
169 (sc)->sc_dev, OW_PIN, bit)
267 * r -- allowed to pull high via the resitor when slave writes a 1-bit
271 owc_gpiobus_read_data(device_t dev, struct ow_timing *t, int *bit) argument
302 *bit = 1;
304 *bit = 0;
332 owc_gpiobus_reset_and_presence(device_t dev, struct ow_timing *t, int *bit) argument
353 *bit = -1;
371 *bit = !!buf;
384 *bit
[all...]

Completed in 315 milliseconds

1234567891011>>