MCPcopy Create free account
hub / github.com/acidanthera/BrcmPatchRAM / getState

Method getState

BrcmPatchRAM/BrcmPatchRAM.cpp:1403–1422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1401
1402#ifdef DEBUG
1403const char* BrcmPatchRAM::getState(DeviceState deviceState)
1404{
1405 static const IONamedValue state_values[] = {
1406 {kUnknown, "Unknown" },
1407 {kPreInitialize, "PreInitialize" },
1408 {kInitialize, "Initialize" },
1409 {kFirmwareVersion, "Firmware version" },
1410 {kMiniDriverComplete, "Mini-driver complete" },
1411 {kInstructionWrite, "Instruction write" },
1412 {kInstructionWritten, "Instruction written" },
1413 {kFirmwareWritten, "Firmware written" },
1414 {kResetWrite, "Perform reset" },
1415 {kResetComplete, "Reset complete" },
1416 {kUpdateComplete, "Update complete" },
1417 {kUpdateNotNeeded, "Update not needed" },
1418 {0, NULL }
1419 };
1420
1421 return IOFindNameForValue(deviceState, state_values);
1422}
1423#endif //DEBUG
1424
1425#ifndef kIOUSBClearPipeStallNotRecursive

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected