Home
last modified time | relevance | path

Searched refs:Flag (Results 1 – 25 of 137) sorted by relevance

123456

/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/
DWinNtGopScreen.c60 IN BOOLEAN Flag in WinNtGopConvertParamToEfiKeyShiftState() argument
72 Private->RightShift = Flag; in WinNtGopConvertParamToEfiKeyShiftState()
74 Private->LeftShift = Flag; in WinNtGopConvertParamToEfiKeyShiftState()
79 Private->LeftShift = Flag; in WinNtGopConvertParamToEfiKeyShiftState()
83 Private->RightShift = Flag; in WinNtGopConvertParamToEfiKeyShiftState()
88 Private->RightCtrl= Flag; in WinNtGopConvertParamToEfiKeyShiftState()
90 Private->LeftCtrl = Flag; in WinNtGopConvertParamToEfiKeyShiftState()
95 Private->LeftCtrl = Flag; in WinNtGopConvertParamToEfiKeyShiftState()
99 Private->RightCtrl = Flag; in WinNtGopConvertParamToEfiKeyShiftState()
103 Private->LeftLogo = Flag; in WinNtGopConvertParamToEfiKeyShiftState()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpProto.h182 #define TCP_FLG_ON(Value, Flag) ((BOOLEAN) (((Value) & (Flag)) != 0)) argument
186 #define TCP_SET_FLG(Value, Flag) ((Value) |= (Flag)) argument
187 #define TCP_CLEAR_FLG(Value, Flag) ((Value) &= ~(Flag)) argument
205 #define TCP_TIMER_ON(Flag, Timer) ((Flag) & (1 << (Timer))) argument
206 #define TCP_SET_TIMER(Flag, Timer) ((Flag) = (UINT16) ((Flag) | (1 << (Timer)))) argument
207 #define TCP_CLEAR_TIMER(Flag, Timer) ((Flag) = (UINT16) ((Flag) & (~(1 << (Timer))))) argument
223 UINT8 Flag; ///< TCP header flags. member
DTcpOutput.c300 Syn = TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN); in TcpTransmitSegment()
336 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_PSH); in TcpTransmitSegment()
343 TCP_SET_FLG (Seg->Flag, TCP_FLG_PSH); in TcpTransmitSegment()
348 TCP_SET_FLG (Seg->Flag, TCP_FLG_PSH); in TcpTransmitSegment()
355 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_URG); in TcpTransmitSegment()
359 TCP_SET_FLG (Seg->Flag, TCP_FLG_URG); in TcpTransmitSegment()
374 Head->Flag = Seg->Flag; in TcpTransmitSegment()
418 UINT8 Flag; in TcpGetSegmentSndQue() local
470 Flag = Seg->Flag; in TcpGetSegmentSndQue()
486 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN)) { in TcpGetSegmentSndQue()
[all …]
DTcpOption.c128 (!TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_ACK) || in TcpSynBuildOption()
152 (!TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_ACK) || in TcpSynBuildOption()
205 !TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_RST) in TcpBuildOption()
250 Option->Flag = 0; in TcpParseOption()
266 Option->Flag = TCP_OPTION_RCVD_TS; in TcpParseOption()
288 TCP_SET_FLG (Option->Flag, TCP_OPTION_RCVD_MSS); in TcpParseOption()
302 TCP_SET_FLG (Option->Flag, TCP_OPTION_RCVD_WS); in TcpParseOption()
317 TCP_SET_FLG (Option->Flag, TCP_OPTION_RCVD_TS); in TcpParseOption()
DTcpInput.c304 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_SYN); in TcpTrimSegment()
305 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_FIN); in TcpTrimSegment()
321 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN)) { in TcpTrimSegment()
322 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_SYN); in TcpTrimSegment()
329 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_URG)) { in TcpTrimSegment()
333 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_URG); in TcpTrimSegment()
352 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_FIN)) { in TcpTrimSegment()
353 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_FIN); in TcpTrimSegment()
440 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_FIN)) { in TcpDeliverData()
525 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_PSH)) { in TcpDeliverData()
[all …]
DTcpMisc.c111 ASSERT (TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN)); in TcpInitTcbPeer()
117 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_ACK)) { in TcpInitTcbPeer()
123 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_MSS)) { in TcpInitTcbPeer()
145 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_WS) && !TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_WS)) { in TcpInitTcbPeer()
159 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_TS) && !TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_TS)) { in TcpInitTcbPeer()
709 Seg->Flag = Head->Flag; in TcpFormatNetbuf()
714 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN)) { in TcpFormatNetbuf()
722 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_FIN)) { in TcpFormatNetbuf()
953 Nhead->Flag = TCP_FLG_RST; in TcpResetConnection()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Proto.h148 UINT8 Flag; ///< TCP header flags member
313 #define TCP_FLG_ON(Value, Flag) ((BOOLEAN) (((Value) & (Flag)) != 0)) argument
318 #define TCP_SET_FLG(Value, Flag) ((Value) |= (Flag)) argument
319 #define TCP_CLEAR_FLG(Value, Flag) ((Value) &= ~(Flag)) argument
335 #define TCP_TIMER_ON(Flag, Timer) ((Flag) & (1 << (Timer))) argument
336 #define TCP_SET_TIMER(Flag, Timer) ((Flag) = (UINT16) ((Flag) | (1 << (Timer)))) argument
337 #define TCP_CLEAR_TIMER(Flag, Timer) ((Flag) = (UINT16) ((Flag) & (~(1 << (Timer))))) argument
DTcp4Output.c306 Syn = TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN); in TcpTransmitSegment()
342 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_PSH); in TcpTransmitSegment()
348 TCP_SET_FLG (Seg->Flag, TCP_FLG_PSH); in TcpTransmitSegment()
354 TCP_SET_FLG (Seg->Flag, TCP_FLG_PSH); in TcpTransmitSegment()
361 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_URG); in TcpTransmitSegment()
366 TCP_SET_FLG (Seg->Flag, TCP_FLG_URG); in TcpTransmitSegment()
381 Head->Flag = Seg->Flag; in TcpTransmitSegment()
426 UINT8 Flag; in TcpGetSegmentSndQue() local
477 Flag = Seg->Flag; in TcpGetSegmentSndQue()
493 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN)) { in TcpGetSegmentSndQue()
[all …]
DTcp4Option.c130 (!TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_ACK) || in TcpSynBuildOption()
153 (!TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_ACK) || in TcpSynBuildOption()
206 !TCP_FLG_ON (TCPSEG_NETBUF (Nbuf)->Flag, TCP_FLG_RST)) { in TcpBuildOption()
251 Option->Flag = 0; in TcpParseOption()
268 Option->Flag = TCP_OPTION_RCVD_TS; in TcpParseOption()
292 TCP_SET_FLG (Option->Flag, TCP_OPTION_RCVD_MSS); in TcpParseOption()
307 TCP_SET_FLG (Option->Flag, TCP_OPTION_RCVD_WS); in TcpParseOption()
323 TCP_SET_FLG (Option->Flag, TCP_OPTION_RCVD_TS); in TcpParseOption()
DTcp4Input.c280 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_SYN); in TcpTrimSegment()
281 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_FIN); in TcpTrimSegment()
297 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN)) { in TcpTrimSegment()
298 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_SYN); in TcpTrimSegment()
305 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_URG)) { in TcpTrimSegment()
309 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_URG); in TcpTrimSegment()
328 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_FIN)) { in TcpTrimSegment()
329 TCP_CLEAR_FLG (Seg->Flag, TCP_FLG_FIN); in TcpTrimSegment()
418 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_FIN)) { in TcpDeliverData()
493 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_PSH)) { in TcpDeliverData()
[all …]
DTcp4Misc.c105 ASSERT (TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN)); in TcpInitTcbPeer()
111 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_ACK)) { in TcpInitTcbPeer()
117 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_MSS)) { in TcpInitTcbPeer()
139 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_WS) && in TcpInitTcbPeer()
154 if (TCP_FLG_ON (Opt->Flag, TCP_OPTION_RCVD_TS) && in TcpInitTcbPeer()
602 Seg->Flag = Head->Flag; in TcpFormatNetbuf()
607 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_SYN)) { in TcpFormatNetbuf()
615 if (TCP_FLG_ON (Seg->Flag, TCP_FLG_FIN)) { in TcpFormatNetbuf()
654 Nhead->Flag = TCP_FLG_RST; in TcpResetConnection()
/device/linaro/bootloader/OpenPlatformPkg/Applications/SpiTool/
DSpiFlashCmd.c220 UINT8 Flag = 0, CheckFlag = 0; in ShellCommandRunSpiFlash() local
262 Flag |= (ShellCommandLineGetFlag (CheckPackage, L"probe") << 0); in ShellCommandRunSpiFlash()
263 Flag |= (ShellCommandLineGetFlag (CheckPackage, L"read") << 1); in ShellCommandRunSpiFlash()
264 Flag |= (ShellCommandLineGetFlag (CheckPackage, L"readfile") << 2); in ShellCommandRunSpiFlash()
265 Flag |= (ShellCommandLineGetFlag (CheckPackage, L"write") << 3); in ShellCommandRunSpiFlash()
266 Flag |= (ShellCommandLineGetFlag (CheckPackage, L"writefile") << 4); in ShellCommandRunSpiFlash()
267 Flag |= (ShellCommandLineGetFlag (CheckPackage, L"erase") << 5); in ShellCommandRunSpiFlash()
268 Flag |= (ShellCommandLineGetFlag (CheckPackage, L"update") << 6); in ShellCommandRunSpiFlash()
269 Flag |= (ShellCommandLineGetFlag (CheckPackage, L"updatefile") << 7); in ShellCommandRunSpiFlash()
271 if (InitFlag && !(Flag & PROBE)) { in ShellCommandRunSpiFlash()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Protocol/
DEbcVmTest.h57 #define VMFLAG_SET(pVM, Flag) (pVM->Flags |= (Flag)) argument
58 #define VMFLAG_ISSET(pVM, Flag) ((pVM->Flags & (Flag)) ? 1 : 0) argument
59 #define VMFLAG_CLEAR(pVM, Flag) (pVM->Flags &= ~(Flag)) argument
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/NorFlashDxe/
DNorFlashHw.c101 UINT8 Flag = 1; in GetCommandIndex() local
108 Flag = 0; in GetCommandIndex()
114 if(Flag) in GetCommandIndex()
121 for(Flag = 1,i = 0;i < CommandCount; i ++ ) in GetCommandIndex()
125 Flag = 0; in GetCommandIndex()
131 if(Flag) in GetCommandIndex()
138 for(Flag = 1, i = 0;i < CommandCount; i ++ ) in GetCommandIndex()
142 Flag = 0; in GetCommandIndex()
148 if(Flag) in GetCommandIndex()
155 for(Flag = 1, i = 0;i < CommandCount; i ++ ) in GetCommandIndex()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Icmp.c254 RouteEntry->Flag = IP6_DIRECT_ROUTE | IP6_PACKET_TOO_BIG; in Ip6ProcessPacketTooBig()
264 RouteEntry->Flag = RouteEntry->Flag | IP6_PACKET_TOO_BIG; in Ip6ProcessPacketTooBig()
520 BOOLEAN Flag; in Ip6IsAnycast() local
524 Flag = FALSE; in Ip6IsAnycast()
531 PrefixEntry = Ip6FindPrefixListEntry (IpSb, Flag, 255, DestinationAddress); in Ip6IsAnycast()
540 Flag = (BOOLEAN) !Flag; in Ip6IsAnycast()
541 } while (Flag); in Ip6IsAnycast()
DIp6Option.c278 BOOLEAN Flag; in Ip6IsExtsValid() local
309 Flag = FALSE; in Ip6IsExtsValid()
346 Flag = TRUE; in Ip6IsExtsValid()
375 if (Flag) { in Ip6IsExtsValid()
380 Flag = FALSE; in Ip6IsExtsValid()
/device/linaro/bootloader/edk2/Nt32Pkg/RealTimeClockRuntimeDxe/
DRealTimeClock.c147 BOOL Flag; in WinNtSetTime() local
165 Flag = gWinNt->SetTimeZoneInformation (&TimeZone); in WinNtSetTime()
166 if (!Flag) { in WinNtSetTime()
178 Flag = gWinNt->SetLocalTime (&SystemTime); in WinNtSetTime()
180 if (!Flag) { in WinNtSetTime()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
DGloblNvs.asl141 I409, 8, // (182) IGD 0409 Modified Settings Flag
142 I509, 8, // (183) IGD 0509 Modified Settings Flag
143 I609, 8, // (184) IGD 0609 Modified Settings Flag
144 I709, 8, // (185) IGD 0709 Modified Settings Flag
163 DSEN, 8, // (235) _DOS Display Support Flag.
164 ECON, 8, // (236) Embedded Controller Availability Flag.
165 GPIC, 8, // (237) Global IOAPIC/8259 Interrupt Mode Flag.
166 CTYP, 8, // (238) Global Cooling Type Flag.
351 BATT, 8, //(795) The Flag of RTC Battery Prensent.
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/
DEdbHook.c28 IN UINT32 Flag in EbcDebuggerCheckHookFlag() argument
31 if ((mDebuggerPrivate.FeatureFlags & Flag) == Flag) { in EbcDebuggerCheckHookFlag()
32 mDebuggerPrivate.StatusFlags = Flag; in EbcDebuggerCheckHookFlag()
261 IN UINT32 Flag in EbcDebuggerPushStepEntry() argument
267 if ((Flag == EFI_DEBUG_FLAG_EBC_STEPOVER) && in EbcDebuggerPushStepEntry()
276 if ((Flag == EFI_DEBUG_FLAG_EBC_STEPOUT) && in EbcDebuggerPushStepEntry()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfParserMisc.py75 def InfExpandMacro(Content, LineInfo, GlobalMacros=None, SectionMacros=None, Flag=False): argument
99 Flag)
108 Flag)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DExpressionValidate.py507 def IsValidStringTest(Token, Flag=False): argument
511 if not Flag:
521 def IsValidLogicalExpr(Token, Flag=False): argument
525 if not Flag:
550 def IsValidFeatureFlagExp(Token, Flag=False): argument
554 if not Flag:
560 Valid, Cause = IsValidStringTest(Token, Flag)
562 Valid, Cause = IsValidLogicalExpr(Token, Flag)
/device/linaro/bootloader/edk2/MdePkg/Library/BasePcdLibNull/
DBasePcdLibNull.uni4 // PCD Library that only provides access to Feature Flag, Fixed At Build,
21 … #language en-US "PCD Library that only provides access to Feature Flag, Fixed At Build, an…
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DPlatformVarCleanupLib.h56 IN VAR_ERROR_FLAG Flag,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiProto.h105 #define ISCSI_SET_FLAG(PduHdr, Flag) (((ISCSI_BASIC_HEADER *) (PduHdr))->Flags |= (BOOLEAN)( argument
106 #define ISCSI_CLEAR_FLAG(PduHdr, Flag) (((ISCSI_BASIC_HEADER *) (PduHdr))->Flags &= ~(Flag)) argument
107 #define ISCSI_FLAG_ON(PduHdr, Flag) ((((ISCSI_BASIC_HEADER *) (PduHdr))->Flags & (Flag)) ==… argument
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/
DEbcExecute.c3181 UINT32 Flag; in ExecuteCMP() local
3227 Flag = 0; in ExecuteCMP()
3235 Flag = 1; in ExecuteCMP()
3241 Flag = 1; in ExecuteCMP()
3247 Flag = 1; in ExecuteCMP()
3253 Flag = 1; in ExecuteCMP()
3259 Flag = 1; in ExecuteCMP()
3273 Flag = 1; in ExecuteCMP()
3279 Flag = 1; in ExecuteCMP()
3285 Flag = 1; in ExecuteCMP()
[all …]

123456