/haiku/src/apps/diskprobe/ |
H A D | DataView.cpp | 61 uint8 mask = 0x80; local 64 while (result & mask) { 65 if (mask == 0x02) { 70 result &= ~mask; 71 mask >>= 1; 78 mask <<= 1; 79 if (mask == 0x40) 83 if (mask != 0x40) { 1322 // mask out region to be cleared 1350 // mask ou [all...] |
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_lowlevel_compat.h | 61 void (*access) (fuse_req_t req, fuse_ino_t ino, int mask); 128 void (*access) (fuse_req_t req, fuse_ino_t ino, int mask);
|
/haiku/src/build/libroot/ |
H A D | fs.cpp | 1273 uint32 mask = 0; local 1290 mask |= B_STAT_ACCESS_TIME; 1302 mask |= B_STAT_MODIFICATION_TIME; 1312 mask |= B_STAT_ACCESS_TIME | B_STAT_MODIFICATION_TIME; 1317 &stat, sizeof(struct stat), mask); 1539 mode_t mask = umask(0); local 1540 umask(mask); 1541 permissions &= ~mask;
|
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_debug.c | 146 u_long mask; local 149 for (mask = 1; mask != 0U; mask <<= 1) 150 if (statp->options & mask) 151 fprintf(file, " %s", p_option(mask));
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_82543.c | 634 u32 ctrl, mask; local 642 mask = 0x01; 643 mask <<= (count - 1); 650 while (mask) { 657 if (data & mask) 670 mask >>= 1;
|
H A D | e1000_nvm.c | 159 u32 mask; local 163 mask = 0x01 << (count - 1); 173 if (data & mask) 184 mask >>= 1; 185 } while (mask);
|
H A D | e1000_phy.c | 2176 u16 phy_data, offset, mask; local 2187 mask = M88E1000_PSSR_DOWNSHIFT; 2193 mask = IGP01E1000_PLHR_SS_DOWNGRADE; 2204 phy->speed_downgraded = !!(phy_data & mask); 2248 u16 data, offset, mask; local 2262 mask = IGP01E1000_PHY_POLARITY_MASK; 2268 mask = IGP01E1000_PSSR_POLARITY_REVERSED; 2274 phy->cable_polarity = ((data & mask) 2291 u16 phy_data, offset, mask; local 2299 mask [all...] |
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211.c | 1382 uint64_t mask; local 1385 mask = rate & IEEE80211_RATE_VAL; 1388 mask |= IFM_IEEE80211_11A; 1391 mask |= IFM_IEEE80211_11B; 1397 mask |= IFM_IEEE80211_11G; 1406 if (rates[i].m == mask)
|
/haiku/src/servers/app/ |
H A D | DesktopSettings.cpp | 340 DesktopSettingsPrivate::Save(uint32 mask) argument 351 if (mask & kWorkspacesSettings) { 371 if (mask & kFontSettings) { 399 if (mask & kMouseSettings) { 417 if (mask & kDraggerSettings) { 432 if (mask & kAppearanceSettings) {
|
H A D | DelayedMessage.cpp | 136 void SetMerge(DMMergeMode mode, uint32 mask); 502 DelayedMessageData::SetMerge(DMMergeMode mode, uint32 mask) argument 505 fMergeMask = mask;
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/ |
H A D | ac97.c | 116 uint32 mask; member in struct:__anon1 233 if ((codec->id & codec->mask) == (codecid & codec->mask)) 406 ac97_reg_update_bits(ac97_dev *dev, uint8 reg, uint16 mask, uint16 value) argument 412 value &= mask; 413 value |= (old & ~mask);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | kernel_interface.cpp | 242 bfs_write_fs_stat(fs_volume* _volume, const struct fs_info* info, uint32 mask) argument 244 FUNCTION_START(("mask = %" B_PRId32 "\n", mask)); 254 if (mask & FS_WRITE_FSINFO_NAME) { 867 uint32 mask) 890 if ((mask & B_STAT_SIZE) != 0 && inode->Size() != stat->st_size) { 908 if ((mask & B_STAT_SIZE_INSECURE) == 0) { 924 if ((mask & B_STAT_UID) != 0) { 932 if ((mask & B_STAT_GID) != 0) { 940 if ((mask 866 bfs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat* stat, uint32 mask) argument 2352 bfs_get_supported_operations(partition_data* partition, uint32 mask) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | kernel_interface.cpp | 159 ramfs_write_fs_info(fs_volume* _volume, const struct fs_info *info, uint32 mask) argument 165 if (mask & FS_WRITE_FSINFO_NAME) 710 uint32 mask) 715 FUNCTION(("mask: %lx\n", mask)); 722 if (error == B_OK && (mask & B_STAT_SIZE)) 726 if (mask & B_STAT_MODE) { 731 if (mask & B_STAT_UID) 734 if (mask & B_STAT_GID) 737 if (mask 709 ramfs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat *st, uint32 mask) argument [all...] |
/haiku/src/add-ons/translators/bmp/ |
H A D | BMPTranslator.cpp | 1336 uint8 mask = 1; local 1337 mask = (mask << bitsPerPixel) - 1; 1373 (i % pixelsPerByte)))) & mask; 1459 uint8 mask = (1 << bitsPerPixel) - 1; local 1507 (i % pixelsPerByte)))) & mask; 1635 (i % pixelsPerByte)))) & mask;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | bwiphy.c | 228 uint16_t mask = __BITS(3, 0); local 231 CSR_FILT_SETBITS_2(mac->mac_sc, BWI_BBP_ATTEN, ~mask, 232 __SHIFTIN(bbp_atten, mask)); 235 mask <<= 2; 237 mask <<= 3; 238 PHY_FILT_SETBITS(mac, BWI_PHYR_BBP_ATTEN, ~mask, 239 __SHIFTIN(bbp_atten, mask));
|
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/ |
H A D | if_nfe.c | 466 /* Set IRQ status/mask register. */ 1685 /* In MSIX, a write to mask reegisters behaves as XOR. */ 1718 int error, init, mask; local 1781 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); 1783 if ((mask & IFCAP_POLLING) != 0) { 1802 if ((mask & IFCAP_WOL_MAGIC) != 0 && 1805 if ((mask & IFCAP_TXCSUM) != 0 && 1813 if ((mask & IFCAP_RXCSUM) != 0 && 1818 if ((mask & IFCAP_TSO4) != 0 && 1826 if ((mask 2564 uint8_t addr[ETHER_ADDR_LEN], mask[ETHER_ADDR_LEN]; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpireg.h | 476 uint32_t mask; member in struct:wpi_node_info 1026 #define WPI_SETBITS(sc, reg, mask) \ 1027 WPI_WRITE(sc, reg, WPI_READ(sc, reg) | (mask)) 1029 #define WPI_CLRBITS(sc, reg, mask) \ 1030 WPI_WRITE(sc, reg, WPI_READ(sc, reg) & ~(mask))
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_reset.c | 586 * Writes the given reset bit mask into the reset register 591 uint32_t mask = resetMask ? resetMask : ~0; local 599 mask &= AR_RC_RPCU | AR_RC_RDMA | AR_RC_RPHY | AR_RC_RMAC; 600 rt = ath_hal_wait(ah, AR_RC, mask, resetMask); 606 mask = INIT_CONFIG_STATUS | AR_CFG_SWTD | AR_CFG_SWRD; 607 OS_REG_WRITE(ah, AR_CFG, mask);
|
H A D | ar5210_misc.c | 33 #define AR_GPIOD_MASK 0x2f /* 6-bit mask */ 53 ar5210GetBssIdMask(struct ath_hal *ah, uint8_t *mask) argument 57 OS_MEMCPY(mask, ones, IEEE80211_ADDR_LEN); 61 ar5210SetBssIdMask(struct ath_hal *ah, const uint8_t *mask) argument 241 /* Change the interrupt mask. */
|
/haiku/src/add-ons/kernel/busses/ata/silicon_image_3112/ |
H A D | silicon_image_3112.c | 536 task_file_write(void *channelCookie, ata_task_file *tf, ata_reg_mask mask) argument 547 if( ((1 << (i+7)) & mask) != 0 ) { 552 if (((1 << i) & mask) != 0) { 564 task_file_read(void *channelCookie, ata_task_file *tf, ata_reg_mask mask) argument 575 if (((1 << i) & mask) != 0) {
|
/haiku/src/add-ons/kernel/generic/ata_adapter/ |
H A D | ata_adapter.cpp | 55 ata_task_file *tf, ata_reg_mask mask) 68 if (((1 << (i + 7)) & mask) != 0) { 73 if (((1 << i) & mask) != 0) { 85 ata_task_file *tf, ata_reg_mask mask) 97 if (((1 << i) & mask) != 0) { 54 ata_adapter_write_command_block_regs(ata_adapter_channel_info *channel, ata_task_file *tf, ata_reg_mask mask) argument 84 ata_adapter_read_command_block_regs(ata_adapter_channel_info *channel, ata_task_file *tf, ata_reg_mask mask) argument
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_i225.c | 267 * @mask: specifies which semaphore to acquire 269 * Acquire the SW/FW semaphore to access the PHY or NVM. The mask 272 s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask) argument 275 u32 swmask = mask; 276 u32 fwmask = mask << 16; 317 * @mask: specifies which semaphore to acquire 319 * Release the SW/FW semaphore used to access the PHY or NVM. The mask 322 void igc_release_swfw_sync_i225(struct igc_hw *hw, u16 mask) argument 332 swfw_sync &= ~mask;
|
/haiku/headers/libs/agg/ |
H A D | agg_rasterizer_compound_aa.h | 462 unsigned mask = 1 << (style_id & 7); local 465 if((m_asm[nbyte] & mask) == 0) 468 m_asm[nbyte] |= mask;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_misc.c | 33 #define AR_GPIOD_MASK 0x2f /* 6-bit mask */ 53 ar5211GetBssIdMask(struct ath_hal *ah, uint8_t *mask) argument 57 OS_MEMCPY(mask, ones, IEEE80211_ADDR_LEN); 61 ar5211SetBssIdMask(struct ath_hal *ah, const uint8_t *mask) argument 281 /* Change the interrupt mask. */
|
/haiku/src/add-ons/kernel/file_systems/nfs/ |
H A D | nfs_add_on.c | 1655 fs_wstat(fs_volume *_volume, fs_vnode *_node, const struct stat *st, uint32 mask) argument 1673 XDROutPacketAddInt32(&call, (mask & WSTAT_MODE) ? st->st_mode : UINT32_MAX); 1674 XDROutPacketAddInt32(&call, (mask & WSTAT_UID) ? st->st_uid : UINT32_MAX); 1675 XDROutPacketAddInt32(&call, (mask & WSTAT_GID) ? st->st_gid : UINT32_MAX); 1676 XDROutPacketAddInt32(&call, (mask & WSTAT_SIZE) ? st->st_size : UINT32_MAX); 1677 XDROutPacketAddInt32(&call, (mask & WSTAT_ATIME) ? st->st_atime : -1); 1678 XDROutPacketAddInt32(&call, (mask & WSTAT_ATIME) ? 0 : UINT32_MAX); 1679 XDROutPacketAddInt32(&call, (mask & WSTAT_MTIME) ? st->st_mtime : -1); 1680 XDROutPacketAddInt32(&call, (mask & WSTAT_MTIME) ? 0 : UINT32_MAX); 1707 return notify_stat_changed(_volume->id, -1, node->vnid, mask); 1711 fs_wfsstat(fs_volume *_volume, const struct fs_info *info, uint32 mask) argument [all...] |