Searched refs:bit (Results 176 - 200 of 481) sorted by relevance

1234567891011>>

/freebsd-current/sys/arm/include/
H A Datomic.h860 atomic_testandclear_32(volatile uint32_t *ptr, u_int bit) argument
866 " lsl ip, ip, %[bit] \n"
867 /* Done with %[bit] as input, reuse below as output. */
871 " strex %[bit], %[newv], [%[ptr]] \n"
872 " teq %[bit], #0 \n"
875 " ands %[bit], %[oldv], ip \n"
877 " movne %[bit], #1 \n"
878 : [bit] "=&r" (result),
882 "[bit]" (bit
920 atomic_testandset_32(volatile uint32_t *ptr, u_int bit) argument
[all...]
/freebsd-current/tools/tools/netmap/
H A Dpkt_hash.c76 uint32_t bit; local
79 bit = ((key[(idx/8) & 1] << shift) & 0x80) ? 1 : 0;
80 result = ((result << 1) | bit);
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_sis.c62 DBG_ERR("Failed to wait for enable intx db bit to clear\n");
507 pqisrc_sis_wait_for_db_bit_to_clear(pqisrc_softstate_t *softs, uint32_t bit) argument
518 if ((db_reg & bit) == 0)
526 DBG_ERR("door-bell reg bit 0x%x not cleared\n", bit);
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DARMUtils.h14 #include "llvm/ADT/bit.h"
270 static inline uint32_t bit(const uint32_t val, const uint32_t msbit) { function in namespace:lldb_private
307 const uint32_t i = bit(opcode, 26);
352 const uint32_t i = bit(opcode, 26);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/
H A Ddivsi3.S30 * one bit at a time.
39 * We add a new bit to $2 and either recurse or insert the bits in the quotient.
99 ! This means that %o3 has the high-order bit set.
101 sll %g1,4 ,%g1 ! high order bit
115 ! do single-bit divide steps
120 ! order bit set in the first step, just falling into the regular
H A Dmodsi3.S30 * one bit at a time.
39 * We add a new bit to $2 and either recurse or insert the bits in the quotient.
99 ! This means that %o3 has the high-order bit set.
101 sll %g1,4 ,%g1 ! high order bit
115 ! do single-bit divide steps
120 ! order bit set in the first step, just falling into the regular
/freebsd-current/tools/test/stress2/misc/
H A Dradix.sh81 different on amd64.) I could work around the 32-bit address space
H A Dcollapse.sh83 /* Pick a random bit of address space to change inherit on. */
H A Df_offset.sh50 1. you use 32bit host, i.e. i386
/freebsd-current/sys/arm/mv/
H A Dmv_ap806_sei.c114 int bit; local
116 bit = GICP_SEMR_BIT(sisrc->irq);
120 tmp |= 1 << bit;
122 tmp &= ~(1 << bit);
419 * Find first available MSI vector represented by first set bit
/freebsd-current/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.h27 #error Only 64-bit allocator supported
/freebsd-current/sys/arm/allwinner/
H A Da10_dmac.c178 uint32_t sta, bit, mask; local
184 while ((bit = ffs(sta & AWIN_DMA_IRQ_END_MASK)) != 0) {
185 mask = (1U << (bit - 1));
188 * Map status bit to channel number. The status register is
189 * encoded with two bits of status per channel (lowest bit
190 * is half transfer pending, highest bit is end transfer
195 index = ((bit - 1) / 2) & 7;
/freebsd-current/sys/netpfil/ipfw/nat64/
H A Dnat64lsn.c225 #define FREEMASK_BTR(pg, faddr, bit) \
226 ck_pr_btr_64(FREEMASK_CHUNK((pg), (faddr)), (bit))
227 #define FREEMASK_BTS(pg, faddr, bit) \
228 ck_pr_bts_64(FREEMASK_CHUNK((pg), (faddr)), (bit))
229 #define FREEMASK_ISSET(pg, faddr, bit) \
230 ISSET64(*FREEMASK_CHUNK((pg), (faddr)), (bit))
247 #define FREEMASK_BTR(pg, faddr, bit) \
248 ck_pr_btr_32(FREEMASK_CHUNK((pg), (faddr)) + (bit) / 32, (bit) % 32)
249 #define FREEMASK_BTS(pg, faddr, bit) \
[all...]
/freebsd-current/sys/kern/
H A Dsys_generic.c1192 * Assign pointers into the bit buffers and fetch the input bits.
1222 * we are running under 32-bit emulation. This should be more
1235 /* Make sure the bit order makes it through an ABI transition */
1289 /* swizzle bit order back, if necessary */
1312 * Convert a select bit set to poll flags.
1315 * return this as a set bit in any set.
1325 * bit position in the fd_mask array.
1328 selflags(fd_mask **ibits, int idx, fd_mask bit) argument
1337 if ((ibits[msk][idx] & bit) == 0)
1349 selsetbits(fd_mask **ibits, fd_mask **obits, int idx, fd_mask bit, in argument
1390 fd_mask bit; local
1436 fd_mask bit; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_mul_impl.inc73 // Set the implicit significand bit. If we fell through from the
109 // bit is the high bit of productLo.
H A Dfp_add_impl.inc86 // implicit significand bit. If we fell through from the denormal path it
93 // bottom bit to get rounding correct.
100 bSignificand = 1; // Set the sticky bit. b is known to be non-zero.
144 // Shift the significand into place, and mask off the implicit bit.
/freebsd-current/contrib/ntp/sntp/unity/
H A Dunity.h96 #define TEST_ASSERT_BIT_HIGH(bit, actual) UNITY_TEST_ASSERT_BITS(((_UU32)1 << bit), (_UU32)(-1), (actual), __LINE__, NULL)
97 #define TEST_ASSERT_BIT_LOW(bit, actual) UNITY_TEST_ASSERT_BITS(((_UU32)1 << bit), (_UU32)(0), (actual), __LINE__, NULL)
200 #define TEST_ASSERT_BIT_HIGH_MESSAGE(bit, actual, message) UNITY_TEST_ASSERT_BITS(((_UU32)1 << bit), (_UU32)(-1), (actual), __LINE__, message)
201 #define TEST_ASSERT_BIT_LOW_MESSAGE(bit, actual, message) UNITY_TEST_ASSERT_BITS(((_UU32)1 << bit), (_UU32)(0), (actual), __LINE__, message)
/freebsd-current/sys/dev/amdgpio/
H A Damdgpio.h111 #define BIT(bit) (1 << bit)
/freebsd-current/lib/libgssapi/
H A Dgss_mech_switch.c112 * bit set.
125 * The number is encoded in seven bit chunks.
136 int bit = 7*(bytes-1); local
138 *res = (number >> bit) & 0x7f;
/freebsd-current/tools/ifnet/
H A Dconvert_ifapi.sh114 new=`echo if_set${word}bit"($__ifp__,$value, 0);"`
131 new=`echo if_set${word}bit"\($__ifp__, 0,$value);"`
/freebsd-current/usr.sbin/ppp/
H A Dncpaddr.c83 u_int32_t bit = 0x80000000; local
88 result.s_addr |= bit;
89 bit >>= 1;
120 u_int32_t bit = 0x80; local
126 if (bit == 0) {
127 bit = 0x80;
130 *c |= bit;
131 bit >>= 1;
/freebsd-current/sbin/ifconfig/
H A Daf_inet6.c573 int byte, bit, plen = 0; local
580 for (bit = 7; bit != 0; bit--, plen++)
581 if (!(name[byte] & (1 << bit)))
583 for (; bit != 0; bit--)
584 if (name[byte] & (1 << bit))
/freebsd-current/sys/dev/iicbus/controller/opencores/
H A Diicoc.c71 iicoc_wait_on_status(device_t dev, uint8_t bit) argument
78 } while ((status & bit) != 0 && --tries > 0);
/freebsd-current/sys/arm/ti/
H A Dti_wdt.c111 ti_wdt_reg_wait(struct ti_wdt_softc *sc, uint32_t bit) argument
114 while (ti_wdt_reg_read(sc, TI_WDT_WWPS) & bit)
/freebsd-current/crypto/openssl/test/recipes/
H A D20-test_dhparam.t73 if (defined $textdata[0] && $textdata[0] =~ /DH Parameters: \((\d+) bit\)/) {
90 subtest "Read: 1024 bit PKCS3 params, generator 2, PEM file" => sub {
94 subtest "Read: 1024 bit PKCS3 params, generator 5, PEM file" => sub {
98 subtest "Read: 2048 bit PKCS3 params, generator 2, PEM file" => sub {
102 subtest "Read: 1024 bit X9.42 params, PEM file" => sub {
106 subtest "Read: 1024 bit PKCS3 params, generator 2, DER file" => sub {
110 subtest "Read: 1024 bit PKCS3 params, generator 5, DER file" => sub {
114 subtest "Read: 2048 bit PKCS3 params, generator 2, DER file" => sub {
118 subtest "Read: 1024 bit X9.42 params, DER file" => sub {
124 subtest "Generate: 512 bit PKCS
[all...]

Completed in 464 milliseconds

1234567891011>>