Searched refs:aMask (Results 1 – 10 of 10) sorted by relevance
91 explicit ChannelMask(uint32_t aMask) in ChannelMask() argument92 : mMask(aMask) in ChannelMask()113 void SetMask(uint32_t aMask) { mMask = aMask; } in SetMask() argument
656 explicit RadioTypes(uint8_t aMask) in RadioTypes() argument657 : mBitMask(aMask) in RadioTypes()
329 void SetSupportedChannelMask(const ChannelMask &aMask);
472 void Mac::SetSupportedChannelMask(const ChannelMask &aMask) in SetSupportedChannelMask() argument474 ChannelMask newMask = aMask; in SetSupportedChannelMask()
231 template <typename UintType> uint8_t CountBitsInMask(UintType aMask) in CountBitsInMask() argument239 while (aMask != 0) in CountBitsInMask()241 aMask &= aMask - 1; in CountBitsInMask()
199 Mac::ChannelMask ChannelMonitor::FindBestChannels(const Mac::ChannelMask &aMask, uint16_t &aOccupan… in FindBestChannels() argument209 while (aMask.GetNextChannel(channel) == kErrorNone) in FindBestChannels()
171 Mac::ChannelMask FindBestChannels(const Mac::ChannelMask &aMask, uint16_t &aOccupancy) const;
658 static bool IsRouterFlagSet(uint8_t aMask) { return (aMask & kRouterFlag) != 0; } in IsRouterFlagSet() argument668 static bool IsEndDeviceFlagSet(uint8_t aMask) { return (aMask & kEndDeviceFlag) != 0; } in IsEndDeviceFlagSet() argument
430 void VerifyChannelMaskContent(const Mac::ChannelMask &aMask, uint8_t *aChannels, uint8_t aLength) in VerifyChannelMaskContent() argument442 VerifyOrQuit(aMask.ContainsChannel(channel)); in VerifyChannelMaskContent()446 VerifyOrQuit(!aMask.ContainsChannel(channel)); in VerifyChannelMaskContent()454 while (aMask.GetNextChannel(channel) == kErrorNone) in VerifyChannelMaskContent()463 VerifyOrQuit(aMask.IsSingleChannel()); in VerifyChannelMaskContent()467 VerifyOrQuit(!aMask.IsSingleChannel()); in VerifyChannelMaskContent()470 VerifyOrQuit(aLength == aMask.GetNumberOfChannels()); in VerifyChannelMaskContent()
674 void SetMask(uint32_t aMask) { mMask = BigEndian::HostSwap32(Reverse32(aMask)); } in SetMask() argument