/haiku/src/add-ons/accelerants/ati/ |
H A D | rage128.h | 296 SetPLLReg(uint8 index, uint32 value, uint32 mask) argument 298 // Write a value to a PLL reg using a mask. The mask selects the 301 SetPLLReg(index, (GetPLLReg(index) & ~mask) | (value & mask));
|
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | accelerant.h | 115 uint32 hwMask; // GPIO pin mask 285 Write32Mask(uint32 subsystem, uint32 offset, uint32 value, uint32 mask) argument 304 // only effect mask 305 temp &= ~mask; 306 temp |= value & mask;
|
/haiku/src/add-ons/kernel/drivers/sensor/acpi_als/ |
H A D | acpi_als.cpp | 262 uint64 mask = ACPI_STA_DEVICE_PRESENT | ACPI_STA_DEVICE_ENABLED local 264 if (status == B_OK && (sta & mask) != mask) {
|
/haiku/src/bin/network/ifconfig/ |
H A D | ifconfig.cpp | 76 printf("usage: %s [<interface> [<address family>] [<address> [<mask>] | " 82 " netmask <addr> - networking subnet mask\n" 83 " prefixlen <number> - subnet mask length in bits\n" 177 prefix_length_to_mask(int family, const char* argument, BNetworkAddress& mask) argument 184 return mask.SetToMask(family, prefixLength) == B_OK; 713 BNetworkAddress mask; local 718 if (parse_address(family, args[i], mask)) 752 if (!mask.IsEmpty()) { 757 if (!parse_address(family, args[i + 1], mask)) { 765 if (!mask [all...] |
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerOutput.cpp | 132 uint32 mask = fOutput.format.u.raw_audio.channel_mask; local 137 if (count == 1 && mask & (B_CHANNEL_LEFT | B_CHANNEL_RIGHT)) { 160 } else if (count == 2 && mask == (B_CHANNEL_LEFT | B_CHANNEL_RIGHT)) { 191 } else if (count == 4 && mask == (B_CHANNEL_LEFT | B_CHANNEL_RIGHT | B_CHANNEL_REARLEFT | B_CHANNEL_REARRIGHT)) { 237 } else if (count == 5 && mask == (B_CHANNEL_LEFT | B_CHANNEL_RIGHT | B_CHANNEL_REARLEFT | B_CHANNEL_REARRIGHT | B_CHANNEL_CENTER)) {
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_nvm.c | 120 u32 mask; local 124 mask = 0x01 << (count - 1); 131 if (data & mask) 142 mask >>= 1; 143 } while (mask);
|
/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 263 uchar mask = 0x80; local 267 if (red & mask) 269 if (green & mask) 271 if (blue & mask) 279 // increment output mask 289 mask >>= 1;
|
/haiku/src/apps/haikudepot/ui/ |
H A D | UserLoginWindow.cpp | 106 uint32 mask; member in struct:CreateAccountSetupThreadData 694 \param mask describes what data is required to be fetched. 698 UserLoginWindow::_CreateAccountSetup(uint32 mask) argument 700 if (mask == 0) 713 if ((mask & CREATE_CAPTCHA) != 0) 715 if ((mask & FETCH_USER_USAGE_CONDITIONS) != 0) 717 if ((mask & FETCH_PASSWORD_REQUIREMENTS) != 0) 724 threadData->mask = mask; 748 bool shouldCreateCaptcha = (threadData->mask [all...] |
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 185 btrfs_write_fs_info(fs_volume* _volume, const struct fs_info* info, uint32 mask) argument 191 if (mask & ~FS_WRITE_FSINFO_NAME != 0) 197 if (mask & FS_WRITE_FSINFO_NAME) { 442 uint32 mask) 461 if ((mask & B_STAT_SIZE) != 0 && inode->Size() != stat->st_size) { 473 if ((mask & B_STAT_UID) != 0) { 480 if ((mask & B_STAT_GID) != 0) { 487 if ((mask & B_STAT_MODE) != 0) { 497 if ((mask & B_STAT_CREATION_TIME) != 0) { 503 if ((mask 441 btrfs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat* stat, uint32 mask) argument 1057 btrfs_get_supported_operations(partition_data* partition, uint32 mask) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9285_reset.c | 359 * The mask/shift/multiply hackery is done so place the same 367 uint32_t pwrctrl, mask, clr; local 370 mask = (1<<0) | (1<<5) | (1<<10) | (1<<15) | (1<<20) | (1<<25); 371 pwrctrl = mask * bb_desired_scale; 372 clr = mask * 0x1f; 377 mask = (1<<0) | (1<<5) | (1<<15); 378 pwrctrl = mask * bb_desired_scale; 379 clr = mask * 0x1f; 382 mask = (1<<0) | (1<<5); 383 pwrctrl = mask * bb_desired_scal [all...] |
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | state.c | 140 unsigned char mask = 1 << (col & 7); local 141 state->tabstops[col >> 3] |= mask; 146 unsigned char mask = 1 << (col & 7); local 147 state->tabstops[col >> 3] &= ~mask; 152 unsigned char mask = 1 << (col & 7); local 153 return state->tabstops[col >> 3] & mask; 1533 unsigned char mask = 1 << (col & 7); local 1534 if(state->tabstops[col >> 3] & mask) 1535 newtabstops[col >> 3] |= mask; 1537 newtabstops[col >> 3] &= ~mask; 1541 unsigned char mask = 1 << (col & 7); local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_mbx.c | 340 * @mask: bitmask for bits to be tested and cleared 345 static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) argument 350 if (v2p_mailbox & mask) 353 hw->dev_spec.vf.v2p_mailbox &= ~mask; 564 static s32 e1000_check_for_bit_pf(struct e1000_hw *hw, u32 mask) argument 569 if (mbvficr & mask) { 571 E1000_WRITE_REG(hw, E1000_MBVFICR, mask);
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | Radeon.h | 347 int Register(radeon_register index, int mask) const; 349 void SetRegister(radeon_register index, int mask, int value); 385 status_t WaitInterrupt(int * mask, int * sequence, bigtime_t * time, bigtime_t timeout);
|
H A D | Radeon.cpp | 209 int CRadeon::Register(radeon_register index, int mask) const 211 return fRegister[index >> 2] & mask; 214 void CRadeon::SetRegister(radeon_register index, int mask, int value) argument 217 if ((value & ~mask) != 0) 218 PRINT(("CRadeon::SetRegister(0x%04x, 0x%08x, 0x%08x)\n", index, mask, value)); 221 fRegister[index >> 2] = (fRegister[index >> 2] & ~mask) | (value & mask); 603 status_t CRadeon::WaitInterrupt(int * mask, int * sequence, bigtime_t * time, bigtime_t timeout) argument 614 *mask = wvc.int_status;
|
/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | PhysicalMemoryAllocator.cpp | 130 uint64 mask = 1LL << i; local 131 if ((fDebugUseMap & mask) == 0) { 132 fDebugUseMap |= mask;
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | NFS4Server.cpp | 366 int mask; local 368 status_t result = request->GetAttr(&handle, &mask); 397 reply->GetAttr(B_OK, mask, st.st_size, change);
|
H A D | Inode.cpp | 595 Inode::WriteStat(const struct stat* st, uint32 mask, OpenAttrCookie* cookie) argument 603 if ((mask & B_STAT_SIZE) != 0) { 613 if ((mask & B_STAT_MODE) != 0) { 620 if ((mask & B_STAT_UID) != 0) { 627 if ((mask & B_STAT_GID) != 0) { 634 if ((mask & B_STAT_ACCESS_TIME) != 0) { 642 if ((mask & B_STAT_MODIFICATION_TIME) != 0) { 652 ASSERT(fOpenState != NULL || !(mask & B_STAT_SIZE)); 660 if ((mask & kAccessMask) != 0)
|
/haiku/src/servers/app/ |
H A D | ServerPicture.cpp | 635 BReference<AlphaMask> mask(new(std::nothrow) PictureAlphaMask(canvas->GetAlphaMask(), 637 canvas->SetAlphaMask(mask); 1223 ServerPicture::WriteFontState(const ServerFont& font, uint16 mask) argument 1227 if (mask & B_FONT_FAMILY_AND_STYLE) { 1232 if (mask & B_FONT_SIZE) { 1236 if (mask & B_FONT_SHEAR) { 1240 if (mask & B_FONT_ROTATION) { 1244 if (mask & B_FONT_FALSE_BOLD_WIDTH) { 1249 if (mask & B_FONT_SPACING) { 1253 if (mask [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 290 fs_write_fs_info(fs_volume* _volume, const struct fs_info* info, uint32 mask) argument 301 if ((mask & FS_WRITE_FSINFO_NAME) != 0) { 629 fs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat* stat, uint32 mask) argument 650 if ((mask & B_STAT_SIZE) != 0 && node->size != stat->st_size) { 669 if ((mask & B_STAT_UID) != 0) { 679 if ((mask & B_STAT_GID) != 0) { 689 if ((mask & B_STAT_MODE) != 0) { 699 if ((mask & B_STAT_CREATION_TIME) != 0) { 707 if ((mask & B_STAT_MODIFICATION_TIME) != 0) { 715 if ((mask [all...] |
/haiku/src/add-ons/kernel/network/protocols/l2cap/ |
H A D | l2cap_address.cpp | 27 bool replaceWithZeros = false, const sockaddr *mask = NULL) 119 const sockaddr *mask) 221 l2cap_mask_address(const sockaddr *address, const sockaddr *mask, argument 118 l2cap_equal_masked_addresses(const sockaddr *a, const sockaddr *b, const sockaddr *mask) argument
|
/haiku/headers/private/libroot/ |
H A D | signal_private.h | 97 int __sigsuspend(const sigset_t* mask);
|
/haiku/headers/private/userlandfs/legacy/ |
H A D | cache.h | 29 int mask; /* == max - 1 */ member in struct:hash_table
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | file.h | 33 uint32 mask);
|
/haiku/headers/os/net/ |
H A D | NetworkInterface.h | 29 void SetMask(const BNetworkAddress& mask);
|
/haiku/headers/os/interface/ |
H A D | StringView.h | 65 uint32 mask = B_FONT_ALL);
|