/device/generic/goldfish/wifi/wifi_hal/ |
D | halstate.cpp | 19 HalState::HalState() : mState(State::Constructed) { in HalState() 26 if (mState != State::Stopped && mState != State::Constructed) { in init() 41 mState = State::Initialized; in init() 53 if (mState == State::Stopping || mState == State::Stopped) { in stop() 57 if (mState != State::Running) { in stop() 67 mState = State::Stopped; in stop() 70 mState = State::Stopping; in stop() 82 if (mState != State::Initialized || !mInfo) { in eventLoop() 85 mState = State::Running; in eventLoop() 100 mState = State::Stopped; in onStop()
|
/device/generic/goldfish/dhcp/client/ |
D | dhcpclient.cpp | 56 mState(State::Init), in DhcpClient() 108 case State::Init: in run() 112 setNextState(State::Selecting); in run() 114 case State::Selecting: in run() 121 case State::Requesting: in run() 127 setNextState(State::Init); in run() 133 case State::Bound: in run() 140 setNextState(State::Renewing); in run() 151 case State::Renewing: in run() 158 setNextState(State::Rebinding); in run() [all …]
|
D | dhcpclient.h | 39 enum class State { enum 47 const char* stateToStr(State state); 57 void setNextState(State state); 95 State mState;
|
/device/generic/goldfish/wifi/ipv6proxy/ |
D | socket.cpp | 32 Socket::Socket() : mState(State::New), mSocket(-1) { in Socket() 37 other.mState = State::Moved; in Socket() 45 mState = State::Destructed; in ~Socket() 55 other.mState = State::Moved; in operator =() 61 if (mState != State::New) { in open() 68 mState = State::Open; in open() 73 if (mState != State::Open) { in setInterface() 83 if (mState != State::Open) { in setMulticastHopLimit() 93 if (mState != State::Open) { in setUnicastHopLimit() 103 if (mState != State::Open) { in setTransparent() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
D | EhcPeim.c | 710 UINT32 State; in EhcClearRootHubPortFeature() local 725 State = EhcReadOpReg (Ehc, Offset); in EhcClearRootHubPortFeature() 726 State &= ~PORTSC_CHANGE_MASK; in EhcClearRootHubPortFeature() 733 State &= ~PORTSC_ENABLED; in EhcClearRootHubPortFeature() 734 EhcWriteOpReg (Ehc, Offset, State); in EhcClearRootHubPortFeature() 745 State &= ~PORSTSC_RESUME; in EhcClearRootHubPortFeature() 746 EhcWriteOpReg (Ehc, Offset, State); in EhcClearRootHubPortFeature() 753 State &= ~PORTSC_RESET; in EhcClearRootHubPortFeature() 754 EhcWriteOpReg (Ehc, Offset, State); in EhcClearRootHubPortFeature() 761 State &= ~PORTSC_OWNER; in EhcClearRootHubPortFeature() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
D | XhcPeim.c | 527 UINT32 State; in XhcPeiControlTransfer() local 775 State = *(UINT32 *) Data; in XhcPeiControlTransfer() 783 if ((State & XHC_PORTSC_PS) >> 10 == 0) { in XhcPeiControlTransfer() 790 if (XHC_BIT_IS_SET (State, BIT9)) { in XhcPeiControlTransfer() 792 } else if (XHC_BIT_IS_SET (State, BIT10)) { in XhcPeiControlTransfer() 802 if (XHC_BIT_IS_SET (State, mUsbHubPortStateMap[Index].HwState)) { in XhcPeiControlTransfer() 809 if (XHC_BIT_IS_SET (State, mUsbHubPortChangeMap[Index].HwState)) { in XhcPeiControlTransfer() 817 if (XHC_BIT_IS_SET (State, mUsbHubClearPortChangeMap[Index].HwState)) { in XhcPeiControlTransfer() 1069 UINT32 State; in XhcPeiClearRootHubPortFeature() local 1081 State = XhcPeiReadOpReg (Xhc, Offset); in XhcPeiClearRootHubPortFeature() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/ |
D | DxeHttpLib.c | 92 IN HTTP_URL_PARSE_STATE State, in NetHttpParseAuthorityChar() argument 110 switch (State) { in NetHttpParseAuthorityChar() 147 return State; in NetHttpParseAuthorityChar() 171 HTTP_URL_PARSE_STATE State; in NetHttpParseAuthority() local 182 State = UrlParserUserInfo; in NetHttpParseAuthority() 184 State = UrlParserHost; in NetHttpParseAuthority() 193 State = NetHttpParseAuthorityChar (*Char, State, &IsrightBracket); in NetHttpParseAuthority() 194 switch (State) { in NetHttpParseAuthority() 255 IN HTTP_URL_PARSE_STATE State in NetHttpParseUrlChar() argument 271 switch (State) { in NetHttpParseUrlChar() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | TcpProto.h | 139 #define TCP_FIN_RCVD(State) \ argument 141 ((State) == TCP_CLOSE_WAIT) || \ 142 ((State) == TCP_LAST_ACK) || \ 143 ((State) == TCP_CLOSING) || \ 144 ((State) == TCP_TIME_WAIT) \ 147 #define TCP_LOCAL_CLOSED(State) \ argument 149 ((State) == TCP_FIN_WAIT_1) || \ 150 ((State) == TCP_FIN_WAIT_2) || \ 151 ((State) == TCP_CLOSING) || \ 152 ((State) == TCP_TIME_WAIT) || \ [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
D | Tcp4Proto.h | 180 UINT8 State; ///< TCP state, such as SYN_SENT, LISTEN member 274 #define TCP_FIN_RCVD(State) \ argument 275 (((State) == TCP_CLOSE_WAIT) || \ 276 ((State) == TCP_LAST_ACK) || \ 277 ((State) == TCP_CLOSING) || \ 278 ((State) == TCP_TIME_WAIT)) 280 #define TCP_LOCAL_CLOSED(State) \ argument 281 (((State) == TCP_FIN_WAIT_1) || \ 282 ((State) == TCP_FIN_WAIT_2) || \ 283 ((State) == TCP_CLOSING) || \ [all …]
|
D | Tcp4Misc.c | 364 ((Tcb->State == TCP_LISTEN) || in TcpInsertTcb() 365 (Tcb->State == TCP_SYN_SENT) || in TcpInsertTcb() 366 (Tcb->State == TCP_SYN_RCVD) || in TcpInsertTcb() 367 (Tcb->State == TCP_CLOSED)) in TcpInsertTcb() 376 if (Tcb->State == TCP_LISTEN) { in TcpInsertTcb() 500 IN UINT8 State in TcpSetState() argument 503 ASSERT (Tcb->State < (sizeof (mTcpStateName) / sizeof (CHAR16 *))); in TcpSetState() 504 ASSERT (State < (sizeof (mTcpStateName) / sizeof (CHAR16 *))); in TcpSetState() 510 mTcpStateName[Tcb->State], in TcpSetState() 511 mTcpStateName[State]) in TcpSetState() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
D | Ehci.c | 217 OUT EFI_USB_HC_STATE *State in EhcGetState() argument 223 if (State == NULL) { in EhcGetState() 231 *State = EfiUsbHcStateHalt; in EhcGetState() 233 *State = EfiUsbHcStateOperational; in EhcGetState() 238 DEBUG ((EFI_D_INFO, "EhcGetState: current state %d\n", *State)); in EhcGetState() 259 IN EFI_USB_HC_STATE State in EhcSetState() argument 273 if (CurState == State) { in EhcSetState() 280 switch (State) { in EhcSetState() 343 UINT32 State; in EhcGetRootHubPortStatus() local 377 State = EhcReadOpReg (Ehc, Offset); in EhcGetRootHubPortStatus() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
D | Dhcp4Io.h | 61 #define DHCP_CONNECTED(State) \ argument 62 (((State) == Dhcp4Bound) || ((State) == (Dhcp4Renewing)) || ((State) == Dhcp4Rebinding)) 82 IN INTN State,
|
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/ |
D | INTELGFX.ASL | 228 // Query Graphics State (active or inactive). 235 // Device Set State. 250 // State change was performed by the 252 // New State. 289 // Query Graphics State (active or inactive). 293 // Return the Next State. 297 // Device Set State. (See table above.) 304 // State change was performed by the 306 // New State. 350 // Query Graphics State (active or inactive). [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
D | Dimm.c | 55 OUT PEI_PLATFORM_DIMM_STATE *State 64 IN PEI_PLATFORM_DIMM_STATE *State 118 OUT PEI_PLATFORM_DIMM_STATE *State in GetDimmState() 140 State->Present = 0; in GetDimmState() 142 State->Present = 1; in GetDimmState() 148 State->Disabled = 0; in GetDimmState() 149 State->Reserved = 0; in GetDimmState() 173 IN PEI_PLATFORM_DIMM_STATE *State in SetDimmState()
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
D | Exchange.c | 85 SessionCommon->State = IkeStateInit; in Ikev2NegotiateSa() 104 IKEV2_DUMP_STATE (SessionCommon->State, IkeStateInit); in Ikev2NegotiateSa() 118 Handler = mIkev2Initial[IkeSaSession->Pad->Data->AuthMethod][SessionCommon->State]; in Ikev2NegotiateSa() 204 ChildSaCommon->State = IkeStateCreateChild; in Ikev2NegotiateChildSa() 206 IKEV2_DUMP_STATE (ChildSaCommon->State, IkeStateCreateChild); in Ikev2NegotiateChildSa() 319 if (Ikev2SaSession->SessionCommon.State == IkeStateSaDeleting && Context == NULL) { in Ikev2NegotiateInfo() 346 ChildSaSession->SessionCommon.State = IkeStateSaDeleting; in Ikev2NegotiateInfo() 448 IkeSaCommon->State = IkeStateInit; in Ikev2HandleSa() 450 IKEV2_DUMP_STATE (IkeSaCommon->State, IkeStateInit); in Ikev2HandleSa() 490 if (IkeSaCommon->State == IkeStateAuth && IsListEmpty(&IkeSaSession->ChildSaSessionList)) { in Ikev2HandleSa() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2MouseDxe/ |
D | CommPs2.c | 339 UINTN State; in PS2MouseGetPacket() local 346 State = PS2_READ_BYTE_ONE; in PS2MouseGetPacket() 353 switch (State) { in PS2MouseGetPacket() 360 Status = PS2MouseRead (&Data, &Count, State); in PS2MouseGetPacket() 373 State = PS2_READ_DATA_BYTE; in PS2MouseGetPacket() 383 Status = PS2MouseRead ((Packet + 1), &Count, State); in PS2MouseGetPacket() 400 State = PS2_PROCESS_PACKET; in PS2MouseGetPacket() 443 MouseDev->State.RelativeMovementX += RelativeMovementX; in PS2MouseGetPacket() 444 MouseDev->State.RelativeMovementY -= RelativeMovementY; in PS2MouseGetPacket() 445 MouseDev->State.RightButton = (UINT8) (RButton ? TRUE : FALSE); in PS2MouseGetPacket() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
D | Xhci.c | 249 OUT EFI_USB_HC_STATE *State in XhcGetState() argument 255 if (State == NULL) { in XhcGetState() 264 *State = EfiUsbHcStateHalt; in XhcGetState() 266 *State = EfiUsbHcStateOperational; in XhcGetState() 269 DEBUG ((EFI_D_INFO, "XhcGetState: current state %d\n", *State)); in XhcGetState() 291 IN EFI_USB_HC_STATE State in XhcSetState() argument 305 if (CurState == State) { in XhcSetState() 313 switch (State) { in XhcSetState() 375 UINT32 State; in XhcGetRootHubPortStatus() local 403 State = XhcReadOpReg (Xhc, Offset); in XhcGetRootHubPortStatus() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
D | Mtftp4Impl.c | 121 MTFTP4_GETINFO_STATE *State; in Mtftp4GetInfoCheckPacket() local 126 State = (MTFTP4_GETINFO_STATE *) Token->Context; in Mtftp4GetInfoCheckPacket() 140 State->Status = EFI_TFTP_ERROR; in Mtftp4GetInfoCheckPacket() 144 State->Status = EFI_SUCCESS; in Mtftp4GetInfoCheckPacket() 148 State->Status = EFI_PROTOCOL_ERROR; in Mtftp4GetInfoCheckPacket() 155 Status = gBS->AllocatePool (EfiBootServicesData, PacketLen, (VOID **) State->Packet); in Mtftp4GetInfoCheckPacket() 158 State->Status = EFI_OUT_OF_RESOURCES; in Mtftp4GetInfoCheckPacket() 162 *(State->PacketLen) = PacketLen; in Mtftp4GetInfoCheckPacket() 163 CopyMem (*(State->Packet), Packet, PacketLen); in Mtftp4GetInfoCheckPacket() 399 if (Instance->State != MTFTP4_STATE_CONFIGED) { in Mtftp4Start() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/ |
D | FSVariable.c | 140 (VarStoreHeader->State == mStoreHeaderTemplate.State) in GetVariableStoreStatus() 149 VarStoreHeader->State == VAR_DEFAULT_VALUE in GetVariableStoreStatus() 269 …if ((NextVariable->State == VAR_ADDED) || (NextVariable->State == (VAR_ADDED & VAR_IN_DELETED_TRAN… in ExistNewerVariable() 366 if (Variable->State == VAR_ADDED) { in Reclaim() 376 } else if (Variable->State == (VAR_ADDED & VAR_IN_DELETED_TRANSITION)) { in Reclaim() 388 ((VARIABLE_HEADER *)CurrPtr)->State = VAR_ADDED; in Reclaim() 493 if (Variable->State == VAR_ADDED) { in FindVariable() 509 } else if (Variable->State == (VAR_ADDED & VAR_IN_DELETED_TRANSITION)) { in FindVariable() 1087 UINT8 State; in UpdateVariable() local 1123 State = Variable->CurrPtr->State; in UpdateVariable() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/ |
D | Lan9118Dxe.c | 94 SnpMode->State = EfiSimpleNetworkStopped; in Lan9118DxeEntry() 195 if ((Snp->Mode->State == EfiSimpleNetworkStarted) || in SnpStart() 196 (Snp->Mode->State == EfiSimpleNetworkInitialized) ) { in SnpStart() 201 Snp->Mode->State = EfiSimpleNetworkStarted; in SnpStart() 221 if (Snp->Mode->State == EfiSimpleNetworkStopped) { in SnpStop() 230 switch (Snp->Mode->State) { in SnpStop() 233 Snp->Mode->State = EfiSimpleNetworkStopped; in SnpStop() 275 if (Snp->Mode->State == EfiSimpleNetworkInitialized) { in SnpInitialize() 279 if (Snp->Mode->State == EfiSimpleNetworkStopped) { in SnpInitialize() 287 Snp->Mode->State = EfiSimpleNetworkStopped; in SnpInitialize() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/ |
D | Ffs.c | 30 IN UINT8 State, in SetFileState() argument 37 FfsHeader->State = (EFI_FFS_FILE_STATE) (FfsHeader->State ^ State); in SetFileState() 59 FileState = FfsHeader->State; in GetFileState() 247 …HeaderChecksum = (UINT8) (HeaderChecksum - FfsHeader->State - FfsHeader->IntegrityCheck.Checksum.F… in VerifyHeaderChecksum() 493 IN EFI_FFS_FILE_STATE State in UpdateHeaderBit() argument 504 SetFileState (State, FfsHeader); in UpdateHeaderBit() 508 (EFI_PHYSICAL_ADDRESS) (UINTN) (&FfsHeader->State), in UpdateHeaderBit() 521 &FfsHeader->State in UpdateHeaderBit()
|
/device/linaro/bootloader/edk2/EmulatorPkg/CpuRuntimeDxe/ |
D | MpService.c | 102 ProcessorState = Data->State; in GetNextBlockedNumber() 435 if (ProcessorData->State != CPU_STATE_IDLE) { in CpuMpServicesStartupAllAps() 482 ASSERT (ProcessorData->State == CPU_STATE_IDLE); in CpuMpServicesStartupAllAps() 483 ProcessorData->State = APInitialState; in CpuMpServicesStartupAllAps() 506 ProcessorState = ProcessorData->State; in CpuMpServicesStartupAllAps() 545 ProcessorState = ProcessorData->State; in CpuMpServicesStartupAllAps() 559 gMPSystem.ProcessorData[NextNumber].State = CPU_STATE_READY; in CpuMpServicesStartupAllAps() 565 ProcessorData->State = CPU_STATE_IDLE; in CpuMpServicesStartupAllAps() 721 if (gMPSystem.ProcessorData[ProcessorNumber].State != CPU_STATE_IDLE) { in CpuMpServicesStartupThisAP() 752 if (gMPSystem.ProcessorData[ProcessorNumber].State == CPU_STATE_FINISHED) { in CpuMpServicesStartupThisAP() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/ |
D | CommPs2.c | 361 UINTN State; in PS2MouseGetPacket() local 369 State = PS2_READ_BYTE_ONE; in PS2MouseGetPacket() 376 switch (State) { in PS2MouseGetPacket() 382 Status = PS2MouseRead (MouseDev->IsaIo, &Data, &Count, State); in PS2MouseGetPacket() 395 State = PS2_READ_DATA_BYTE; in PS2MouseGetPacket() 405 Status = PS2MouseRead (MouseDev->IsaIo, (Packet + 1), &Count, State); in PS2MouseGetPacket() 422 State = PS2_PROCESS_PACKET; in PS2MouseGetPacket() 465 MouseDev->State.RelativeMovementX += RelativeMovementX; in PS2MouseGetPacket() 466 MouseDev->State.RelativeMovementY -= RelativeMovementY; in PS2MouseGetPacket() 467 MouseDev->State.RightButton = (UINT8) (RButton ? TRUE : FALSE); in PS2MouseGetPacket() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/ |
D | CommPs2.c | 361 UINTN State; in PS2MouseGetPacket() local 369 State = PS2_READ_BYTE_ONE; in PS2MouseGetPacket() 376 switch (State) { in PS2MouseGetPacket() 382 Status = PS2MouseRead (MouseAbsolutePointerDev->IsaIo, &Data, &Count, State); in PS2MouseGetPacket() 395 State = PS2_READ_DATA_BYTE; in PS2MouseGetPacket() 405 Status = PS2MouseRead (MouseAbsolutePointerDev->IsaIo, (Packet + 1), &Count, State); in PS2MouseGetPacket() 422 State = PS2_PROCESS_PACKET; in PS2MouseGetPacket() 465 MouseAbsolutePointerDev->State.CurrentX += RelativeMovementX; in PS2MouseGetPacket() 466 MouseAbsolutePointerDev->State.CurrentY -= RelativeMovementY; in PS2MouseGetPacket() 467 MouseAbsolutePointerDev->State.CurrentZ = 0; in PS2MouseGetPacket() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | Variable.c | 442 VarStoreHeader->State == VARIABLE_STORE_HEALTHY in GetVariableStoreStatus() 452 VarStoreHeader->State == 0xff in GetVariableStoreStatus() 501 if (AuthVariable->State == (UINT8) (-1) || in NameSizeOfVariable() 509 if (Variable->State == (UINT8) (-1) || in NameSizeOfVariable() 560 if (AuthVariable->State == (UINT8) (-1) || in DataSizeOfVariable() 568 if (Variable->State == (UINT8) (-1) || in DataSizeOfVariable() 1050 …if ((Variable->State == VAR_ADDED || Variable->State == (VAR_IN_DELETED_TRANSITION & VAR_ADDED)) && in Reclaim() 1100 if (Variable != UpdatingVariable && Variable->State == VAR_ADDED) { in Reclaim() 1122 …if (Variable != UpdatingVariable && Variable != UpdatingInDeletedTransition && Variable->State == … in Reclaim() 1153 ((VARIABLE_HEADER *) CurrPtr)->State = VAR_ADDED; in Reclaim() [all …]
|