/haiku/src/apps/serialconnect/ |
H A D | SerialApp.cpp | 29 { "bits", 32 "get or set the number of data bits (7 or 8)", 38 "get or set the number of stop bits (1 or 2)", 254 case 1: // data bits 261 int32 bits = message->FindInt32("data"); local 263 settings.AddInt32("databits", bits - 7); 266 case 2: // stop bits 273 int32 bits = message->FindInt32("data"); local 275 settings.AddInt32("stopbits", bits - 1); 288 BString bits local 313 BString bits = message->FindString("data"); local [all...] |
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | Settings.cpp | 73 void usb_audio_trace(uint32 bits, const char* func, const char* fmt, ...) argument 75 if ((gTraceMask & bits) == 0)
|
/haiku/src/kits/device/ |
H A D | SerialPort.cpp | 253 /*! \brief Set the data bits (7 or 8) 263 /*! \brief Get the current data bits. 264 \return The current data bits. 273 /*! \brief Set the stop bits. 274 \param numBits The number of stop bits 287 /*! \brief Get the current stop bits. 288 \return The current stop bits. 410 unsigned int bits = ioctl(ffd, TCGETBITS, 0); local 412 if (bits & TCGB_CTS) 425 unsigned int bits local 440 unsigned int bits = ioctl(ffd, TCGETBITS, 0); local 455 unsigned int bits = ioctl(ffd, TCGETBITS, 0); local [all...] |
/haiku/src/add-ons/kernel/cpu/x86/ |
H A D | generic_x86.cpp | 208 uint32 bits = 36; local 214 bits = cpuInfo.regs.eax & 0xff; 216 // Obviously, the bits are not always reported correctly 217 if (bits < 36) 218 bits = 36; 221 gPhysicalMask = ((1ULL << bits) - 1) & ~(B_PAGE_SIZE - 1); 223 TRACE("CPU %ld has %ld physical address bits, physical mask is %016Lx\n", 224 smp_get_current_cpu(), bits, gPhysicalMask);
|
/haiku/src/add-ons/screen_savers/ifs/ |
H A D | IFSSaver.cpp | 54 fDirectInfo.bits = NULL; 184 fDirectInfo.bits = info->bits; 192 fDirectInfo.bits = NULL; 208 if ((fIsPreview || fDirectInfo.bits == NULL) && fLocker.Lock()) { 223 if (!fIsPreview && fDirectInfo.bits != NULL) {
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_gpio.c | 54 * 5 bits per GPIO pin. Bits 0..4 for 1st pin in that mux, 55 * bits 5..9 for 2nd pin, etc. 122 /* 2 bits per output mode */ 186 uint32_t bits; local 195 bits = MS(OS_REG_READ(ah, AR_GPIO_IN_OUT), AR9287_GPIO_IN_VAL); 197 bits = MS(OS_REG_READ(ah, AR_GPIO_IN_OUT), AR9285_GPIO_IN_VAL); 199 bits = MS(OS_REG_READ(ah, AR_GPIO_IN_OUT), AR928X_GPIO_IN_VAL); 201 bits = MS(OS_REG_READ(ah, AR_GPIO_IN_OUT), AR_GPIO_IN_VAL); 202 return ((bits & AR_GPIO_BIT(gpio)) != 0);
|
/haiku/headers/private/audio/ |
H A D | hmulti_audio.h | 364 inline void B_SET_CHANNEL(void * bits, int channel, bool value) 367 (((uchar *)(bits))[((channel)&0x7fff)>>3] = 368 (((uchar *)(bits))[((channel)&0x7fff)>>3] & ~(1<<((channel)&0x7))) | 371 inline bool B_TEST_CHANNEL(const void * bits, int channel) 373 return ((((uchar *)(bits))[((channel)&0x7fff)>>3] >> ((channel)&0x7)) & 1); 376 #define B_SET_CHANNEL(bits, channel, value) \ 378 (((uchar *)(bits))[((channel)&0x7fff)>>3] = \ 379 (((uchar *)(bits))[((channel)&0x7fff)>>3] & ~(1<<((channel)&0x7))) | \ 381 #define B_TEST_CHANNEL(bits, channel) \ 382 ((((uchar *)(bits))[((channe [all...] |
/haiku/src/add-ons/translators/webp/ |
H A D | WebPTranslator.cpp | 167 // if stream is in bits format 170 // if stream is NOT in bits format 174 // bits or not bits 278 uint8* bits = (uint8*)malloc(bitsSize); local 279 if (bits == NULL) 282 if (stream->Read(bits, bitsSize) != bitsSize) { 283 free(bits); 287 if (!WebPPictureImportBGRA(&picture, bits, stride)) { 289 free(bits); [all...] |
/haiku/src/add-ons/translators/icns/ |
H A D | ICNSLoader.cpp | 195 uint8 *bits = new uint8[iconWidth * iconHeight * sizeof(uint32)]; local 197 uint8 *rowPtr = bits; 218 icnsImage.imageData = bits; 231 delete[] bits; 289 delete[] bits;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_recv.c | 54 * Set Receive Enable bits. 105 * Set multicast filter 0 (lower 32-bits) 106 * filter 1 (upper 32-bits) 166 * Turn off/on bits in the receive packet filter. 169 ar5210SetRxFilter(struct ath_hal *ah, uint32_t bits) argument 171 if (bits & HAL_RX_FILTER_PHYRADAR) { 173 bits = (bits &~ HAL_RX_FILTER_PHYRADAR) | AR_RX_FILTER_PROMISCUOUS; 175 OS_REG_WRITE(ah, AR_RX_FILTER, bits); 236 * descriptor is bits [1 [all...] |
/haiku/src/add-ons/kernel/busses/scsi/ahci/ |
H A D | ahci_defs.h | 278 // 4 - Sector Number (LBA Low, bits 0-7) 279 // 5 - Cylinder Low (LBA Mid, bits 8-15) 280 // 6 - Cylinder High (LBA High, bits 16-23) 281 // 7 - Device / Head (for 28-bit LBA commands, bits 24-27) 282 // 8 - Sector Number expanded (LBA Low-previous, bits 24-31) 283 // 9 - Cylinder Low expanded (LBA Mid-previous, bits 32-39) 284 // 10 - Cylinder High expanded (LBA High-previous, bits 40-47) 286 // 12 - Sector Count (Sector count, bits 0-7) 287 // 13 - Sector Count expanded (Sector count, bits 8-15) 359 wait_until_set(volatile uint32 *reg, uint32 bits, bigtime_ argument 372 wait_until_clear(volatile uint32 *reg, uint32 bits, bigtime_t timeout) argument [all...] |
/haiku/src/add-ons/translators/wonderbrush/ |
H A D | Canvas.cpp | 158 uint8* bits = (uint8*)bitmap->Bits(); local 163 uint8* bitsHandle = bits; 172 bits += bpr;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | if_bwivar.h | 87 #define CSR_SETBITS_4(sc, reg, bits) \ 88 CSR_WRITE_4((sc), (reg), CSR_READ_4((sc), (reg)) | (bits)) 89 #define CSR_SETBITS_2(sc, reg, bits) \ 90 CSR_WRITE_2((sc), (reg), CSR_READ_2((sc), (reg)) | (bits)) 92 #define CSR_FILT_SETBITS_4(sc, reg, filt, bits) \ 93 CSR_WRITE_4((sc), (reg), (CSR_READ_4((sc), (reg)) & (filt)) | (bits)) 94 #define CSR_FILT_SETBITS_2(sc, reg, filt, bits) \ 95 CSR_WRITE_2((sc), (reg), (CSR_READ_2((sc), (reg)) & (filt)) | (bits)) 97 #define CSR_CLRBITS_4(sc, reg, bits) \ 98 CSR_WRITE_4((sc), (reg), CSR_READ_4((sc), (reg)) & ~(bits)) [all...] |
/haiku/src/kits/app/ |
H A D | Cursor.cpp | 101 void* bits = bitmap->Bits(); local 103 if (bits == NULL || size <= 0) 114 link.Attach(bits, size);
|
/haiku/src/tests/servers/app/painter/ |
H A D | main.cpp | 303 uint8* bits = (uint8*)testBitmap->Bits(); local 308 uint8* h = bits; 316 bits += bpr; 319 bits = (uint8*)testBitmap->Bits(); 320 *(uint32*)(&bits[0]) = 0; 321 *(uint32*)(&bits[(bitmapWidth - 1) * 4]) = 0; 322 *(uint32*)(&bits[(bitmapHeight - 1) * bpr]) = 0; 323 *(uint32*)(&bits[(bitmapHeight - 1) * bpr + (bitmapWidth - 1) * 4]) = 0;
|
/haiku/src/kits/debugger/util/ |
H A D | BitBuffer.cpp | 107 // handle special case first: no more bits than missing 111 uint8 bits = reader.ReadBits(bitSize) << fMissingBits; local 112 fBytes[oldSize - 1] |= bits; 120 // fill in missing bits 133 // If we have left-over bits, write a partial byte. 149 // handle special case first: no more bits than missing 160 // fill in missing bits
|
/haiku/src/kits/shared/ |
H A D | BitmapButton.cpp | 27 BBitmapButton::BBitmapButton(const uint8* bits, uint32 width, uint32 height, argument 34 memcpy(fBitmap->Bits(), bits, fBitmap->BitsLength());
|
/haiku/src/servers/app/ |
H A D | ServerBitmap.h | 75 status_t ImportBits(const void *bits, int32 bitsLength, 77 status_t ImportBits(const void *bits, int32 bitsLength,
|
H A D | DirectWindowInfo.cpp | 47 fBufferInfo->bits = NULL; 96 fBufferInfo->bits = buffer->Bits();
|
/haiku/src/add-ons/kernel/drivers/disk/mmc/ |
H A D | mmc_disk.cpp | 53 uint64 bits[2]; member in struct:mmc_disk_csd 55 uint8 structure_version() { return bits[1] >> 54; } 56 uint8 read_bl_len() { return (bits[1] >> 8) & 0xF; } 60 return ((bits[0] >> 54) & 0x3FF) | ((bits[1] & 0x3) << 10); 62 return (bits[0] >> 40) & 0x3FFFFF; 63 return ((bits[0] >> 40) & 0xFFFFFF) | ((bits[1] & 0xF) << 24); 69 return (bits[0] >> 39) & 0x7; 162 TRACE("CSD: %" PRIx64 " %" PRIx64 "\n", csd.bits[ [all...] |
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfStructures.h | 85 } bits; member in union:timestamp::type_and_timezone_accessor 99 return t.bits.type; 104 int16 result = t.bits.timezone; 105 // Fill the lefmost bits with ones if timezone is negative 126 t.bits.type = type; 132 t.bits.timezone = tz; 432 } bits; member in union:short_address::type_and_length_accessor 441 return t.bits.type; 446 return t.bits.length; 453 t.bits 483 } bits; member in union:long_address::type_and_length_accessor 951 } bits; member in union:partition_descriptor::partition_flags_accessor 1779 } bits; member in union:file_id_descriptor::characteristics_accessor [all...] |
/haiku/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | ac97.h | 95 uint8 bits:3; member in struct:_ac97_source_info
|
/haiku/src/add-ons/kernel/drivers/audio/null/ |
H A D | driver.h | 25 int bits; member in struct:__anon1557
|
/haiku/src/add-ons/media/media-add-ons/esound_sink/ |
H A D | ESDEndpoint.h | 58 status_t SetFormat(int bits, int channels, float rate=ESD_DEFAULT_RATE);
|
/haiku/src/system/libroot/posix/glibc/locale/ |
H A D | locale.h | 30 #include <bits/locale.h>
|