/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 | 57 mState(State::Init), in DhcpClient() 109 case State::Init: in run() 113 setNextState(State::Selecting); in run() 115 case State::Selecting: in run() 122 case State::Requesting: in run() 128 setNextState(State::Init); in run() 134 case State::Bound: in run() 141 setNextState(State::Renewing); in run() 152 case State::Renewing: in run() 159 setNextState(State::Rebinding); in run() [all …]
|
D | dhcpclient.h | 45 enum class State { enum 53 const char* stateToStr(State state); 63 void setNextState(State state); 102 State mState;
|
/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/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 …]
|
/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/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/generic/goldfish-opengl/android-emu/android/base/threads/ |
D | AndroidWorkPool.cpp | 197 enum State { enum in android::base::guest::WorkPoolThread 216 case State::Unacquired: in acquire() 217 mState = State::Acquired; in acquire() 219 case State::Acquired: in acquire() 220 case State::Scheduled: in acquire() 221 case State::Exiting: in acquire() 229 case State::Unacquired: in run() 231 case State::Acquired: { in run() 232 mState = State::Scheduled; in run() 244 case State::Scheduled: in run() [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/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/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/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/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/google/barbet/vibrator/drv2624/bench/ |
D | benchmark.cpp | 51 void SetUp(::benchmark::State &state) override { in SetUp() 82 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig() 86 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg() 98 (benchmark::State & state){code} BENCHMARK_REGISTER_F(fixt, test) \ 158 auto getEffect(const ::benchmark::State &state) const { in getEffect() 162 auto getStrength(const ::benchmark::State &state) const { in getStrength()
|
/device/google/bramble/vibrator/drv2624/bench/ |
D | benchmark.cpp | 51 void SetUp(::benchmark::State &state) override { in SetUp() 82 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig() 86 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg() 98 (benchmark::State & state){code} BENCHMARK_REGISTER_F(fixt, test) \ 158 auto getEffect(const ::benchmark::State &state) const { in getEffect() 162 auto getStrength(const ::benchmark::State &state) const { in getStrength()
|
/device/google/redfin/vibrator/drv2624/bench/ |
D | benchmark.cpp | 51 void SetUp(::benchmark::State &state) override { in SetUp() 82 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig() 86 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg() 98 (benchmark::State & state){code} BENCHMARK_REGISTER_F(fixt, test) \ 158 auto getEffect(const ::benchmark::State &state) const { in getEffect() 162 auto getStrength(const ::benchmark::State &state) const { in getStrength()
|
/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/google/sunfish/vibrator/drv2624/bench/ |
D | benchmark.cpp | 57 void SetUp(::benchmark::State &state) override { in SetUp() 88 std::string getDynamicConfig(const ::benchmark::State &state) const { in getDynamicConfig() 92 auto getOtherArg(const ::benchmark::State &state, std::size_t index) const { in getOtherArg() 104 (benchmark::State & state){code} BENCHMARK_REGISTER_F(fixt, test) \ 168 auto getEffect(const ::benchmark::State &state) const { in getEffect() 172 auto getStrength(const ::benchmark::State &state) const { in getStrength()
|