/haiku/src/build/libgnuregex/ |
H A D | regex.c | 259 are ordered low-bit-first. A character is in the set if its 260 bit is 1. A character too large to have a bit in the map is 581 unsigned bit; 586 for (bit = 0; bit < BYTEWIDTH; bit++) 587 if (map_byte & (1 << bit)) 588 printchar (c * BYTEWIDTH + bit); 804 The argument SYNTAX is a bit mas 576 unsigned bit; local [all...] |
/haiku/src/add-ons/accelerants/common/ |
H A D | i2c.c | 170 //! Send one bit 172 send_bit(const i2c_bus *bus, uint8 bit, int timeout) argument 176 //TRACE("send_bit(bit = %d)\n", bit & 1); 178 bus->set_signals(bus->cookie, 0, bit & 1); 180 bus->set_signals(bus->cookie, 1, bit & 1); 184 TRACE("%s: Timeout when sending next bit\n", __func__); 189 bus->set_signals(bus->cookie, 0, bit & 1); 269 //! Send slave address, obeying 10-bit addresses and general call addresses 288 // - 1111 0xxx - 10 bit addres 301 receive_bit(const i2c_bus *bus, bool *bit, int timeout) argument 348 bool bit; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | if_em.c | 1424 * Starting with the 82571 chip, bit 31 should be used to 1841 /* Check if we must disable SPEED_MODE bit on PCI-E */ 1990 /* check for 64bit BAR */ 2045 * Set the bit to enable interrupt 2072 * Set the bit to enable interrupt 2616 * drained a bit. Here we use an arbitrary value of 1500 which will 3082 txdctl |= 1 << 22; /* Reserved bit 22 must always be 1 */ 3428 u32 index, bit; local 3431 bit = vtag & 0x1F; 3432 sc->shadow_vfta[index] |= (1 << bit); 3441 u32 index, bit; local [all...] |
H A D | e1000_82575.c | 930 * Set the EEPROM access request bit and wait for EEPROM access grant bit. 931 * Return successful if access grant bit set, else clear the request for 955 DEBUGOUT("Nvm bit banging access error detected and cleared.\n"); 965 DEBUGOUT("Nvm bit banging access error detected and cleared.\n"); 981 * Stop any current commands to the EEPROM and clear the EEPROM request bit, 994 * e1000_get_cfg_done_82575 - Read config done bit 997 * Read the management control register for the config done bit for 999 * to read the config done bit, so an error is *ONLY* logged and returns 1217 * The link up bit determine 3251 bool bit = 0; local 3274 bool bit = 0; local [all...] |
/haiku/src/libs/compat/freebsd_network/compat/machine/generic/ |
H A D | cpufunc.h | 13 int bit; local 16 for (bit = 1; mask != 1; bit++) 18 return bit; 26 int bit; local 30 for (bit = 1; !(mask & 1); bit++) 32 return (bit);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | lcnalloc.c | 148 int bit = *buf & (1 << j); local 150 if (bit) { 240 LCN bmp_pos; /* current bit position inside the bitmap */ 244 u8 *buf, *byte, bit, writeback; local 340 bit = 1 << (lcn & 7); 342 if (*byte & bit) { 354 /* First free bit is at lcn + bmp_pos. */ 368 /* Allocate the bitmap bit. */ 369 *byte |= bit;
|
H A D | index.c | 1002 u32 bit = 1 << (pos % 8); local 1029 byte |= bit; 1031 byte &= ~bit; 1058 int bit; local 1073 for (bit = 0; bit < 8; bit++) { 1074 if (!(bm[byte] & (1 << bit))) { 1075 vcn = ntfs_ibm_pos_to_vcn(icx, byte * 8 + bit);
|
/haiku/src/build/libbe/interface/ |
H A D | Bitmap.cpp | 301 bit_mask(int32 bit) argument 303 return 1 << bit; 308 inverse_bit_mask(int32 bit) argument 310 return ~bit_mask(bit); 872 Gray1Reader(const void *data) : BaseReader<uint8>(data), bit(7) {} 877 bit = 7; 882 if (bit == 7) 886 bit = 7; 892 if (*pixels & bit_mask(bit)) 897 bit 917 int32 bit; member in struct:Gray1Reader 1112 int32 bit; member in struct:Gray1Writer [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/ |
H A D | DavicomDevice.cpp | 745 for (int bit = 0; bit < 8; bit++, data >>= 1) { 796 // clear/set pass all multicast bit as required
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis900/dev/sis/ |
H A D | if_sis.c | 54 * 128-bit multicast hash table. The SiS 900 has a built-in MII-based 56 * Both chips offer the standard bit-bang MII interface as well as 169 * MII bit-bang glue 266 * Feed in each bit and stobe the clock. 435 * Read the MII serial port for the MII bit-bang module. 452 * Write the MII serial port for the MII bit-bang module. 482 * confuse the miibus code a bit during the probe 668 * return the filter bit position 670 * The NatSemi chip has a 512-bit filter, which is 700 int bit, inde local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/de/ |
H A D | if_de.c | 1692 bit longer anyways) */ 1862 * Code the read the SROM and MII bit streams (I2C) 1869 unsigned bit, csr; local 1879 for (bit = 3 + SROM_BITWIDTH + 16; bit > 0; bit--) { 1900 unsigned lastbit, data, bits, bit, csr; local 1907 for (bits = idx|cmdmask, bit = bitwidth + 3; bit > 0; bit [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/ |
H A D | if_bge.c | 55 * function in a 32-bit/64-bit 33/66Mhz bus, or a 64-bit/133Mhz bus. 642 uint32_t bit, regbase; local 657 bit = BGE_APE_LOCK_GRANT_DRIVER0; 661 bit = BGE_APE_LOCK_GRANT_DRIVER0; 663 bit = (1 << sc->bge_func_addr); 665 APE_WRITE_4(sc, regbase + 4 * i, bit); 738 uint32_t bit, gnt, req, status; local 761 bit 818 uint32_t bit, gnt; local 5965 bge_stop_block(struct bge_softc *sc, bus_size_t reg, uint32_t bit) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/dev/bfe/ |
H A D | if_bfe.c | 977 /* Reset or clear powerdown control bit */ 1170 bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit, argument 1178 if (clear && !(val & bit)) 1180 if (!clear && (val & bit)) 1186 "BUG! Timeout waiting for bit %08x of register " 1187 "%x to %s.\n", bit, reg, (clear ? "clear" : "set"));
|
/haiku/src/add-ons/input_server/devices/virtio/ |
H A D | VirtioInputDevice.cpp | 35 inline static void SetBit(Type &val, int bit) {val |= Type(1) << bit;} argument 38 inline static void ClearBit(Type &val, int bit) {val &= ~(Type(1) << bit);} argument 41 inline static void InvertBit(Type &val, int bit) {val ^= Type(1) << bit;} argument 44 inline static void SetBitTo(Type &val, int bit, bool isSet) { argument 45 val ^= ((isSet? -1: 0) ^ val) & (Type(1) << bit);} 48 inline static bool IsBitSet(Type val, int bit) { argument 49 return (val & (Type(1) << bit)) ! [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/ |
H A D | if_iwn.c | 1645 /* Set auto clock gate disable bit for HW with OTP shadow RAM. */ 1716 /* Correctable ECC error, clear bit. */ 2763 * The '2 stream' setup is a bit .. odd. 3766 int bit, shift; local 3768 bit = idx - start; 3770 if (bit >= 64) { 3771 shift = 0x100 - bit; 3772 bit = 0; 3773 } else if (bit <= -64) 3774 bit 3883 int bit, i, idx, shift, start, tx_err; local [all...] |
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_var.h | 191 * ic_chan_avail is a bit vector of these channels used to check 662 #define IEEE80211_ATH_CAP(vap, ni, bit) \ 663 ((vap)->iv_flags & (ni)->ni_ath_flags & (bit))
|
H A D | ieee80211.c | 80 /* map ieee80211_opmode to the corresponding capability bit */ 852 * Synchronize flag bit state in the com structure 860 int bit; local 864 bit = 0; 867 bit = 1; 870 if (bit) 892 * Synchronize flags_ht bit state in the com structure 900 int bit; local 904 bit = 0; 907 bit 940 int bit; local 980 int bit; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ |
H A D | ah_regdomain.c | 51 * Enumerated Regulatory Domain Information 8 bit values indicate that 52 * the regdomain is really a pair of unitary regdomains. 12 bit values 63 * an 8 bit regdomain value to the individual unitary reg domains 253 IS_BIT_SET(int bit, const uint64_t bitmask[]) argument 258 byteOffset = bit/64; 259 bitnum = bit - byteOffset*64;
|
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_i2c.c | 20 //4 - SDA not released for master to generate STOP bit 311 uint8 cnt, bit, byte = 0; local 319 bit = RXBit (BusNR); 320 byte += bit; 334 bool bit; local 342 bit = (tmp & 0x80); 343 TXBit (BusNR, bit); 347 bit = RXBit (BusNR); 348 if (bit) i2c_flag_error (3); 353 return bit; [all...] |
/haiku/src/apps/bootmanager/ |
H A D | bootman.S | 77 ; cx - support bit mask 159 ; 16 bit code 232 ; 64 bit value
|
/haiku/src/servers/app/ |
H A D | CursorSet.cpp | 383 // to RGBA32. Eventually, there will be support for 16 and 8-bit depths 412 uint16 bit = 1 << (15 - x); local 413 bitmapPosition[x] = ((cursorFlip & bit) != 0 ? black : white) 414 & ((maskFlip & bit) != 0 ? 0xffffffff : 0x00ffffff);
|
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6_address.cpp | 236 /*! Routing utility function: determines the least significant bit that is set 238 \return the number of the first bit that is set (0-32, where 32 means 239 that there's no bit set in the mask). 252 for (uint8 bit = 0; bit < 8; bit++) { 253 if ((pmask[i] & (1 << (7 - bit))) == 0) 254 return i * 8 + bit; 282 for (int8 bit = 7; bit > [all...] |
/haiku/src/add-ons/kernel/network/protocols/ipv4/ |
H A D | ipv4_address.cpp | 208 /*! Routing utility function: determines the least significant bit that is set 210 \return the number of the first bit that is set (0-32, where 32 means 211 that there's no bit set in the mask). 223 int8 bit = 0; local 224 for (uint32 bitMask = 1; bit < 32; bitMask <<= 1, bit++) { 226 return bit; 249 int8 bit = 0; local 250 for (uint32 bitMask = 1; bit < 32; bitMask <<= 1, bit [all...] |
/haiku/src/system/libroot/posix/musl/math/x86_64/ |
H A D | expl.s | 2 # where hi+lo = log2e*x with 128bit precision
|
/haiku/src/system/libroot/posix/musl/math/x86/ |
H A D | expl.s | 2 # where hi+lo = log2e*x with 128bit precision
|