Searched refs:mask (Results 276 - 300 of 446) sorted by relevance

<<1112131415161718

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp159 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 DBMPTranslator.cpp1336 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 Dbwiphy.c228 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 Dif_nfe.c466 /* 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 Dif_wpireg.h476 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 Dar5210_reset.c586 * 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 Dar5210_misc.c33 #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/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_nvm.c159 u32 mask; local
163 mask = 0x01 << (count - 1);
173 if (data & mask)
184 mask >>= 1;
185 } while (mask);
H A De1000_phy.c2176 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/add-ons/kernel/busses/ata/silicon_image_3112/
H A Dsilicon_image_3112.c536 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 Data_adapter.cpp55 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 Digc_i225.c267 * @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 Dagg_rasterizer_compound_aa.h462 unsigned mask = 1 << (style_id & 7); local
465 if((m_asm[nbyte] & mask) == 0)
468 m_asm[nbyte] |= mask;
/haiku/src/servers/app/
H A DDelayedMessage.cpp136 void SetMerge(DMMergeMode mode, uint32 mask);
502 DelayedMessageData::SetMerge(DMMergeMode mode, uint32 mask) argument
505 fMergeMask = mask;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_misc.c33 #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 Dnfs_add_on.c1655 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...]
/haiku/src/system/boot/loader/file_systems/fat/
H A DDirectory.cpp552 Directory::GetNextEntry(void *cookie, uint8 mask, uint8 match) argument
554 TRACE(("FASFS::Directory::%s(, %02x, %02x)\n", __FUNCTION__, mask, match));
592 if ((c->entry.Flags() & mask) == match) {
/haiku/src/add-ons/kernel/busses/mmc/
H A Dsdhci.cpp132 SdhciBus::EnableInterrupts(uint32_t mask) argument
134 fRegisters->interrupt_status_enable |= mask;
135 fRegisters->interrupt_signal_enable |= mask;
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A Dkernel_interface.cpp161 uint32 mask)
165 mask));
166 status_t error = volume->WriteFSInfo(info, mask);
452 const struct stat* st, uint32 mask)
456 fsNode->private_node, st, mask));
457 status_t error = volume->WriteStat(fsNode->private_node, st, mask);
160 userlandfs_write_fs_info(fs_volume* fsVolume, const struct fs_info* info, uint32 mask) argument
451 userlandfs_write_stat(fs_volume* fsVolume, fs_vnode* fsNode, const struct stat* st, uint32 mask) argument
H A DVolume.h92 uint32 mask);
137 uint32 mask);
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp538 sockaddr* mask = NULL; local
540 mask = (sockaddr*)buffer->interface_address->mask;
542 TRACE_DOMAIN("_DemuxBroadcast(%p): mask %p\n", buffer, mask);
569 if (endpoint->LocalAddress().MatchMasked(broadcastAddr, mask)
570 || mask == NULL || endpoint->LocalAddress().IsEmpty(false)) {
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DVolume.cpp79 Volume::WriteFSInfo(const struct fs_info* info, uint32 mask) argument
321 Volume::WriteStat(void* node, const struct stat *st, uint32 mask) argument
/haiku/src/bin/unzip/
H A Dexplode.c205 #define DECODEHUFT(htab, bits, mask) {\
207 t = (htab) + ((~(unsigned)b)&(mask));\
264 unsigned mdl; /* mask for bdl (distance lower) bits */
382 unsigned mdl; /* mask for bdl (distance lower) bits */
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DDevice.cpp529 uint32 mask = device->ReadPCI32(RegMiscINT); local
530 if (mask & 0x00000020) {
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.h79 uint32_t mh_imask; /* interrupt mask */
151 void mwl_hal_intrset(struct mwl_hal *mh, uint32_t mask);
522 void mwl_hal_setbastreams(struct mwl_hal *mh, int mask);

Completed in 289 milliseconds

<<1112131415161718