/haiku/src/system/kernel/platform/atari_m68k/ |
H A D | platform.cpp | 211 uint8 bit = 1 << (irq % 8); local 215 if (val & bit == 0) { 216 val |= bit; 225 uint8 bit = 1 << (irq % 8); local 229 if (val & bit) { 230 val &= ~bit; 239 uint8 bit = 1 << (irq % 8); local 243 if (val & bit) { 244 val &= ~bit;
|
/haiku/src/system/kernel/arch/arm/ |
H A D | soc_omap3.cpp | 32 uint32 bit = irq % 32, bank = irq / 32; local 33 fRegBase[INTCPS_MIR_CLEARn + (8 * bank)] = 1 << bit; 40 uint32 bit = irq % 32, bank = irq / 32; local 41 fRegBase[INTCPS_MIR_SETn + (8 * bank)] = 1 << bit;
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | pci.cpp | 182 pci_set_command_bit(device_t dev, uint16_t bit) argument 185 pci_write_config(dev, PCI_command, command | bit, 2); 192 // We do this a bit later than FreeBSD does. 205 int bit = 0; local 209 bit = PCI_command_io; 212 bit = PCI_command_memory; 218 pci_set_command_bit(dev, bit); 219 if (pci_read_config(dev, PCI_command, 2) & bit)
|
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/ |
H A D | intel_extreme.cpp | 331 const uint32 bit = intel_get_interrupt_mask(info, pipe, false); local 333 write32(info, regIdentity, identity | bit);
|
/haiku/src/bin/network/ping/ |
H A D | ping6.c | 158 #define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */ 159 #define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */ 160 #define SET(bit) (A(bit) |= B(bit)) 161 #define CLR(bit) (A(bit) [all...] |
H A D | ping.c | 113 #define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */ 114 #define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */ 115 #define SET(bit) (A(bit) |= B(bit)) 116 #define CLR(bit) (A(bit) [all...] |
/haiku/src/add-ons/kernel/generic/tty/ |
H A D | tty.cpp | 992 } else if ((flags & ISTRIP) != 0) // strip off eighth bit 2095 int bit = 0; local 2099 bit = TCGB_DCD; 2102 bit = TCGB_CTS; 2105 bit = TCGB_DSR; 2108 bit = TCGB_RI; 2116 cookie->tty->hardware_bits |= bit; 2118 cookie->tty->hardware_bits &= ~bit;
|
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/ |
H A D | actypes.h | 159 * header and must be either 32 or 64. 16-bit ACPICA is no longer 169 * working around problems that some 32-bit compilers have with 64-bit 183 * 16-bit, 32-bit, and 64-bit targets. 189 * UINT8 8-bit (1 byte) unsigned value 190 * UINT16 16-bit (2 byte) unsigned value 191 * UINT32 32-bit (4 byte) unsigned value 192 * UINT64 64-bit ( [all...] |
/haiku/ |
H A D | configure | 87 --use-32bit Use -m32 flag on 64bit host gcc compiler. 325 # Boot loader is 32-bit, need the 32-bit libs and c++ config 822 --use-32bit) HAIKU_HOST_USE_32BIT=1; shift 1;;
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | BitmapBlock.cpp | 147 TRACE("BitmapBlock::_Update(): start index: %" B_PRIu32 ", start bit: %" 259 uint32 bit = pos & 0x1F; local 262 uint32 mask = ~((1 << bit) - 1); 265 TRACE("BitmapBlock::_FindNext(): index: %" B_PRIu32 ", bit: %" B_PRIu32 266 ", mask: %" B_PRIx32 ", bits: %" B_PRIx32 "\n", index, bit, mask, 271 // Find a 32 bits block that has a marked bit 275 bit = 0; 301 for (; bit < maxBit; ++bit) { 302 // Find the marked bit 329 int32 bit = pos & 0x1F; local [all...] |
/haiku/src/servers/app/ |
H A D | ServerFont.cpp | 541 for (int bit = 0; bit < BITS_PER_BLOCK; ++bit) { 547 rangeStart = bit; 555 // when we find an empty bit, that's the end of the range 556 uint32 endPoint = currentCodePoint + (bit - 1);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | BlockAllocator.cpp | 268 // the block bitmap is accessed in 32-bit blocks 656 int32 numBits = groups[i].fNumBits, bit = 0; 660 for (int32 j = 0; j < 32 && bit < numBits; j++, bit++) { 669 start = bit; 807 for (uint32 bit = start % bitsPerFullBlock; 808 bit < cached.NumBlockBits(); bit++) { 809 if (!cached.IsUsed(bit)) { 1112 for (uint32 bit [all...] |
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | SerialDevice.cpp | 264 uint8 bit = op == TTYSETDTR ? USB_CDC_CONTROL_SIGNAL_STATE_DTR local 267 fControlOut |= bit; 269 fControlOut &= ~bit;
|
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | SerialDevice.cpp | 331 uint8 bit = op == TTYSETDTR ? MCR_DTR : MCR_RTS; local 333 OrReg8(MCR, bit); 335 MaskReg8(MCR, bit); 344 // XXX: toggle the bit to make VirtualBox happy !?
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | mft.c | 506 * ntfs_ffz - Find the first unset (zero) bit in a word 550 s64 pass_end, ll, data_pos, pass_start, ofs, bit; local 616 /* If we read at least one byte, search @buf for a zero bit. */ 619 bit = data_pos & 7; 622 "data_pos 0x%llx, bit 0x%llx, " 624 (long long)data_pos, (long long)bit, 626 for (; bit < size && data_pos + bit < pass_end; 627 bit &= ~7ull, bit 1428 s64 ll, bit; local 1713 s64 ll, bit; local [all...] |
/haiku/src/servers/app/font/ |
H A D | FontEngine.cpp | 308 if (bits.bit()) 342 if (bits.bit()) 390 if (bits.bit()) {
|
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | devices.cpp | 259 #define SET_BIT(field, bit) field[(bit) >> 3] |= 1 << ((bit) & 7)
|
/haiku/headers/private/interface/ |
H A D | ViewPrivate.h | 97 inline bool IsValid(uint32 bit) const; 169 ViewState::IsValid(uint32 bit) const 171 return valid_flags & bit;
|
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | encoder.cpp | 702 int bit; local 703 for (bit = 0; bit < 6; bit++) 704 id[bit] = dpcd_reg_read(dp->auxPin, 0x503 + bit);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | utils.c | 720 * The metadata file $Bitmap has one binary bit representing each cluster on 721 * disk. The bit will be set for each cluster that is in use. The function 722 * reads the relevant part of $Bitmap into a buffer and tests the bit. 726 * refreshed. @bmplcn stores offset to the first bit (in bits) stored in the 739 int byte, bit; local 772 bit = 1 << (lcn & 7); 774 ntfs_log_debug("cluster = %lld, bmplcn = %lld, byte = %d, bit = %d, " 775 "in use %d\n", lcn, bmplcn, byte, bit, buffer[byte] & 776 bit); 778 return (buffer[byte] & bit); 802 int byte, bit; local [all...] |
/haiku/src/add-ons/print/drivers/pcl6/ |
H A D | PCL6Rasterizer.cpp | 201 uchar outMask = 0x80; // current bit mask (1 << (8 - bit)) in output buffer 262 // for each bit in the current byte of each plane 361 for (int bit = 0; bit < 8; bit ++) { 362 if (value & (1 << bit)) {
|
/haiku/src/system/libroot/posix/glibc/ctype/ |
H A D | ctype.h | 37 endian). We define the bit value interpretations here dependent on the 42 # define _ISbit(bit) (1 << (bit)) 44 # define _ISbit(bit) ((bit) < 8 ? ((1 << (bit)) << 8) : ((1 << (bit)) >> 8)) 87 #define __isascii(c) (((c) & ~0x7f) == 0) /* If C is a 7 bit value. */
|
/haiku/src/libs/compat/freebsd_network/compat/net/ |
H A D | if_media.h | 377 #define IFM_AVALID 0x00000001 /* Active bit valid */ 925 #define IFM_STATUS_DESC(ifms, bit) \ 926 (ifms)->ifms_string[((ifms)->ifms_bit & (bit)) ? 1 : 0]
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | ASIXDevice.cpp | 229 // the device pushes packets 16bit aligned 626 for (int bit = 0; bit < 8; bit++, data >>= 1) {
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | mode.cpp | 397 // (use AUX VDD enable bit) 450 iv. Read PCH FDI Receiver ISR ([DevIBX-B+] IIR) for bit lock in bit 8 (retry at least once if no lock) 453 vii. Read PCH FDI Receiver ISR ([DevIBX-B+] IIR) for symbol lock in bit 9 (retry at least once if no 619 // at least a little bit on for now. 650 // The low bit must be masked out because
|