33#ifdef SA_ENABLE_TRACE_FUNCTIONS
37#define siTraceFileID 'I'
69 ret =
mpiEchoCmd(agRoot, queueNum, agContext, echoPayload);
119 SA_DBG1((
"mpiBuildCmd, set OBQ to %d\n",outq));
123#ifdef SA_LL_IBQ_PROTECT
133#ifdef SA_LL_IBQ_PROTECT
137 SA_DBG1((
"mpiBuildCmd, failure\n"));
146 SA_DBG1((
"mpiBuildCmd, no more IOMB\n"));
164#ifdef SA_LL_IBQ_PROTECT
211 SA_DBG1((
"mpiEchoCmd, No request from free list\n" ));
235 SA_DBG3((
"mpiEchoCmd, return value = %d\n", ret));
249 SA_DBG1((
"mpiEchoCmd, sending IOMB failed\n" ));
254 saRoot->LLCounters.IOCounter.numEchoSent++;
302 SA_DBG1((
"mpiGetPhyProfileCmd, Operation 0x%x PhyId %d \n",Operation ,PhyId ));
308 SA_DBG1((
"mpiGetPhyProfileCmd, No request from free list\n" ));
347 SA_DBG1((
"mpiGetPhyProfileCmd, sending IOMB failed\n" ));
349 SA_DBG3((
"mpiGetPhyProfileCmd, return value = %d\n", ret));
384 SA_DBG1((
", No request from free list\n" ));
429 SA_DBG1((
"mpiVHistCapCmd, sending IOMB failed\n" ));
431 SA_DBG3((
"mpiVHistCapCmd, return value = %d\n", ret));
462 SA_DBG1((
"mpiSetPhyProfileCmd, Operation 0x%x PhyId %d \n",Operation ,PhyId ));
468 SA_DBG1((
"mpiSetPhyProfileCmd, No request from free list\n" ));
494 for(i=0; i < (length /
sizeof(
bit32)); i++)
513 SA_DBG1((
"mpiSetPhyProfileCmd, sending IOMB failed\n" ));
515 SA_DBG3((
"mpiGetPhyProfileCmd, return value = %d\n", ret));
557 SA_DBG1((
"mpiGetDeviceInfoCmd: saRoot == agNULL\n"));
569 SA_DBG1((
"mpiGetDeviceInfoCmd, No request from free list\n" ));
615 SA_DBG1((
"mpiGetDeviceInfoCmd, sending IOMB failed\n" ));
617 SA_DBG3((
"mpiGetDeviceInfoCmd, return value = %d\n", ret));
668 SA_DBG2((
"mpiSetDeviceInfoCmd, param 0x%08X option 0x%08X\n",param,option ));
673 SA_DBG1((
"mpiSetDeviceInfoCmd, No request from free list\n" ));
726 SA_DBG1((
"mpiSetDeviceInfoCmd, sending IOMB failed\n" ));
728 SA_DBG3((
"mpiSetDeviceInfoCmd, return value = %d\n", ret));
771#if defined(SALLSDK_DEBUG)
779 pValue = (
bit32 *)agSASIdentify;
783#if defined(SALLSDK_DEBUG)
790 SA_DBG2((
"mpiPhyStartCmd,phyId 0x%x phyProperties 0x%x index 0x%x Sscd 0x%x\n",phyId, agPhyConfig->
phyProperties,
index,Sscd));
807 SA_DBG1((
"mpiPhyStartCmd,dw2 0x%08x\n",dw2));
813 SA_DBG1((
"mpiPhyStartCmd,SAS addr Hi 0x%02X%02X%02X%02X Lo 0x%02X%02X%02X%02X\n",
832 SA_DBG3((
"mpiPhyStartCmd, return value = %d\n", ret));
875 SA_DBG3((
"mpiPhyStopCmd, return value = %d\n", ret));
913#if defined(SALLSDK_DEBUG)
919 SA_DBG6((
"mpiSMPCmd: start\n"));
921#if defined(SALLSDK_DEBUG)
925 SA_DBG6((
"mpiSMPCmd: before msgHeader bc %d\n", bc));
933 SA_DBG6((
"mpiSMPCmd: after msgHeader bc %d\n", bc));
940 SA_DBG3((
"mpiSMPCmd, return value = %d\n", ret));
988 SA_DBG1((
"mpiDeregDevHandleCmd, No request from free list\n" ));
1027 SA_DBG1((
"mpiSetVPDCmd, sending IOMB failed\n" ));
1029 SA_DBG3((
"mpiDeregDevHandleCmd, return value = %d\n", ret));
1081 if (
agNULL == pRequest )
1087 SA_DBG1((
"mpiGetDeviceHandleCmd, using saRoot->freeReservedRequests\n"));
1091 SA_DBG1((
"mpiGetDeviceHandleCmd, No request from free list Not using saRoot->freeReservedRequests\n"));
1099 if( using_reserved )
1136 SA_DBG1((
"mpiGetDeviceHandleCmd: saving pRequest (%p) for later use\n", pRequest));
1146 SA_DBG1((
"mpiGetDeviceHandleCmd, sending IOMB failed\n" ));
1148 SA_DBG3((
"mpiGetDeviceHandleCmd, return value = %d\n", ret));
1196 SA_DBG3((
"mpiLocalPhyControlCmd, return value = %d\n", ret));
1244 if(deviceId & 0xFFFF0000)
1252 SA_DBG2((
"mpiDevHandleAcceptCmd, deviceId 0x%x action 0x%x flag 0x%x itlnx 0x%x\n",deviceId,action,flag,itlnx ));
1255 if (
agNULL == pRequest )
1258 SA_DBG1((
"mpiDevHandleAcceptCmd, No request from free list\n" ));
1282 mcn = (flag & 0xF0000) >>
SHIFT16;
1283 awt = (flag & 2)>>
SHIFT1;
1289 SA_DBG2((
"mpiDevHandleAcceptCmd,DW4 0x%x\n",DW4 ));
1297 SA_DBG1((
"mpiDevHandleAcceptCmd, sending IOMB failed\n" ));
1301 SA_DBG1((
"mpiDevHandleAcceptCmd, sending IOMB succeeded\n" ));
1313 SA_DBG1((
"mpiDevHandleAcceptCmd: saving pRequest (%p) for later use\n", pRequest));
1374 if (
agNULL == pRequest )
1376 SA_DBG1((
"mpiNVMReadRegDumpCmd, No request from free list\n" ));
1417 SA_DBG1((
"mpiNVMReadRegDumpCmd, Wrong device type\n" ));
1433 SA_DBG1((
"mpiNVMReadRegDumpCmd, sending IOMB failed\n" ));
1437 SA_DBG3((
"mpiNVMReadRegDumpCmd, return value = %d\n", ret));
1481 if (
agNULL == pRequest )
1483 SA_DBG1((
"mpiGetNVMDCmd, No request from free list\n" ));
1491 SA_DBG3((
"mpiGetNVMDCmd, Build IOMB NVMDDevice= 0x%x\n", NVMDInfo->
NVMDevice));
1563 SA_DBG1((
"mpiGetNVMDCmd, (IP=1)wrong device type = 0x%x\n", NVMDInfo->
NVMDevice));
1591 SA_DBG1((
"mpiGetNVMDCmd, (IP=0)wrong device type = 0x%x\n", NVMDInfo->
NVMDevice));
1611 SA_DBG1((
"mpiGetNVMDCmd, sending IOMB failed\n" ));
1613 SA_DBG3((
"mpiGetNVMDCmd, return value = %d\n", ret));
1659 if (
agNULL == pRequest )
1661 SA_DBG1((
"mpiSetNVMDCmd, No request from free list\n" ));
1669 SA_DBG3((
"mpiSetNVMDCmd, Build IOMB NVMDDevice= 0x%x\n", NVMDInfo->
NVMDevice));
1721 SA_DBG1((
"mpiSetNVMDCmd, (IP=1)wrong device type = 0x%x\n", NVMDInfo->
NVMDevice));
1754 SA_DBG1((
"mpiSetNVMDCmd, (IP=0)wrong device type = 0x%x\n", NVMDInfo->
NVMDevice));
1772 SA_DBG1((
"mpiSetVPDCmd, sending IOMB failed\n" ));
1774 SA_DBG3((
"mpiSetNVMDCmd, return value = %d\n", ret));
1820 if (
agNULL == pRequest )
1822 SA_DBG1((
"mpiSetDeviceStateCmd, No request from free list\n" ));
1830 SA_DBG3((
"mpiSetDeviceStateCmd, Build IOMB DeviceId= 0x%x\n", deviceId));
1862 SA_DBG1((
"mpiSetNexusStateCmd, sending IOMB failed\n" ));
1864 SA_DBG3((
"mpiSetDeviceStateCmd, return value = %d\n", ret));
1910 if (
agNULL == pRequest )
1917 SA_DBG1((
"mpiGetDeviceStateCmd, using saRoot->freeReservedRequests\n"));
1921 SA_DBG1((
"mpiGetDeviceStateCmd, No request from free list Not using saRoot->freeReservedRequests\n"));
1929 SA_DBG3((
"mpiGetDeviceStateCmd, Build IOMB DeviceId= 0x%x\n", deviceId));
1931 if( using_reserved )
1966 SA_DBG1((
"mpiGetDeviceStateCmd: saving pRequest (%p) for later use\n", pRequest));
1976 SA_DBG1((
"mpiGetDeviceStateCmd, sending IOMB failed\n" ));
1978 SA_DBG3((
"mpiGetDeviceStateCmd, return value = %d\n", ret));
2022 if (
agNULL == pRequest )
2024 SA_DBG1((
"mpiSasReinitializeCmd, No request from free list\n" ));
2032 SA_DBG3((
"mpiSasReinitializeCmd, Build IOMB SAS_RE_INITIALIZE\n"));
2070 SA_DBG1((
"mpiSasReinitializeCmd, sending IOMB failed\n" ));
2072 SA_DBG3((
"mpiSasReinitializeCmd, return value = %d\n", ret));
2104 bit8 modePageContext
2113 SA_DBG2((
"mpiSetControllerConfigCmd: agControllerConfig 0x%08x 0x%08x 0x%08x 0x%08x\n",
2116 SA_DBG2((
"mpiSetControllerConfigCmd: agControllerConfig 0x%08x 0x%08x 0x%08x 0x%08x\n",
2119 SA_DBG2((
"mpiSetControllerConfigCmd: agControllerConfig 0x%08x 0x%08x 0x%08x 0x%08x\n",
2122 SA_DBG2((
"mpiSetControllerConfigCmd: agControllerConfig 0x%08x 0x%08x\n",
2130 if (
agNULL == pRequest )
2132 SA_DBG1((
"mpiSetControllerConfigCmd, No request from free list\n" ));
2140 SA_DBG2((
"mpiSetControllerConfigCmd, Build IOMB pageCode 0x%x configPage[0] 0x%x\n",agControllerConfig->
pageCode,agControllerConfig->
configPage[0]));
2152 agControllerConfig->
tag = pRequest->
HTag;
2170 SA_DBG1((
"mpiSetControllerConfigCmd, sending IOMB failed\n" ));
2172 SA_DBG3((
"mpiSetControllerConfigCmd, return value = %d\n", ret));
2211 SA_DBG1((
"mpiGetControllerConfigCmd: Tag 0x%0X Page Code %0X\n",agControllerConfig->
tag,agControllerConfig->
pageCode ));
2217 if (
agNULL == pRequest )
2219 SA_DBG1((
"mpiGetControllerConfigCmd, No request from free list\n" ));
2227 SA_DBG3((
"mpiGetControllerConfig, Build IOMB mpiGetControllerConfigCmd\n"));
2238 agControllerConfig->
tag = pRequest->
HTag;
2257 SA_DBG1((
"mpiGetControllerConfigCmd, sending IOMB failed\n" ));
2261 SA_DBG3((
"mpiGetControllerConfigCmd, set OK\n"));
2263 SA_DBG3((
"mpiGetControllerConfigCmd, return value = %d\n", ret));
2307 if (
agNULL == pRequest )
2309 SA_DBG1((
"mpiKekManagementCmd, No request from free list\n" ));
2317 SA_DBG3((
"mpiKekManagementCmd, Build OPC_INB_KEK_MANAGEMENT\n"));
2325 agKekMgmt->
tag = pRequest->
HTag;
2344 SA_DBG1((
"mpiKekManagementCmd, sending IOMB failed\n" ));
2346 SA_DBG3((
"mpiKekManagementCmd, return value = %d\n", ret));
2390 if (
agNULL == pRequest )
2392 SA_DBG1((
"mpiDekManagementCmd, No request from free list\n" ));
2400 SA_DBG1((
"mpiDekManagementCmd, Build OPC_INB_DEK_MANAGEMENT pRequest %p\n",pRequest));
2408 agDekMgmt->
tag = pRequest->
HTag;
2411 SA_DBG1((
"mpiDekManagementCmd: 0x%X 0x%X 0x%X 0x%X 0x%X 0x%X 0x%X\n",
2435 SA_DBG1((
"mpiDekManagementCmd, sending IOMB failed\n" ));
2437 SA_DBG3((
"mpiDekManagementCmd, return value = %d\n", ret));
2474 SA_DBG1((
"mpiOperatorManagementCmd, enter\n" ));
2481 if (
agNULL == pRequest )
2483 SA_DBG1((
"mpiOperatorManagementCmd, No request from free list\n" ));
2491 SA_DBG1((
"mpiOperatorManagementCmd, Build OPC_INB_OPR_MGMT\n"));
2499 operatorcode->
tag = pRequest->
HTag;
2518 SA_DBG1((
"mpiOperatorManagementCmd, sending IOMB failed\n" ));
2520 SA_DBG1((
"mpiOperatorManagementCmd, return value = %d\n", ret));
2557 SA_DBG1((
"mpiEncryptBistCmd, enter\n" ));
2564 if (
agNULL == pRequest )
2566 SA_DBG1((
"mpiEncryptBistCmd, No request from free list\n" ));
2574 SA_DBG1((
"mpiEncryptBistCmd, Build OPC_INB_ENC_TEST_EXECUTE\n"));
2585 SA_DBG1((
"mpiEncryptBistCmd: 0x%X 0x%X 0x%X 0x%X 0x%X 0x%X 0x%X\n",
2609 SA_DBG1((
"mpiEncryptBistCmd, sending IOMB failed\n" ));
2611 SA_DBG1((
"mpiEncryptBistCmd, return value = %d\n", ret));
2650 SA_DBG1((
"mpiSetOperatorCmd, enter\n" ));
2657 if (
agNULL == pRequest )
2659 SA_DBG1((
"mpiSetOperatorCmd, No request from free list\n" ));
2667 SA_DBG1((
"mpiSetOperatorCmd, Build OPC_INB_SET_OPERATOR\n"));
2675 operatorcode->
tag = pRequest->
HTag;
2694 SA_DBG1((
"mpiSetOperatorCmd, sending IOMB failed\n" ));
2696 SA_DBG1((
"mpiSetOperatorCmd, return value = %d\n", ret));
2735 SA_DBG1((
"mpiGetOperatorCmd, enter\n" ));
2742 if (
agNULL == pRequest )
2744 SA_DBG1((
"mpiGetOperatorCmd, No request from free list\n" ));
2752 SA_DBG1((
"mpiGetOperatorCmd, Build OPC_INB_GET_OPERATOR\n"));
2760 operatorcode->
tag = pRequest->
HTag;
2779 SA_DBG1((
"mpiGetOperatorCmd, sending IOMB failed\n" ));
2781 SA_DBG1((
"mpiGetOperatorCmd, return value = %d\n", ret));
2815 if (
agNULL == pRequest )
2817 SA_DBG1((
"mpiDIFEncryptionOffloadCmd: No request from free list\n" ));
2825 SA_DBG1((
"mpiDIFEncryptionOffloadCmd: Build OPC_INB_DIF_ENC_OFFLOAD_CMD pRequest %p\n",pRequest));
2837 SA_DBG1((
"mpiDIFEncryptionOffloadCmd: op %d\n",op));
2928 SA_DBG1((
"mpiDIFEncryptionOffloadCmd: sending IOMB failed\n" ));
2930 SA_DBG3((
"mpiDIFEncryptionOffloadCmd: return value = %d\n", ret));
GLOBAL FORCEINLINE bit32 mpiMsgProduce(mpiICQueue_t *circularQ, void *messagePtr, mpiMsgCategory_t category, bit16 opCode, bit8 responseQueue, bit8 hiPriority)
GLOBAL FORCEINLINE bit32 mpiMsgFreeGet(mpiICQueue_t *circularQ, bit16 messageSize, void **messagePtr)
Retrieves a free message buffer from an inbound queue.
enum mpiMsgCategory_e mpiMsgCategory_t
#define smTraceFuncEnter(L, I)
#define smTraceFuncExit(L, S, I)
#define OSSA_NVMD_MODE_ERROR
#define SA_RESERVED_REQUEST_COUNT
#define AGSA_NVMD_TWI_DEVICES
#define OSSA_OFFSET_OF(STRUCT_TYPE, FEILD)
#define AGSA_NVMD_AAP1_REG_FLASH
#define AGSA_MAX_OUTBOUND_Q
void(* ossaSSPCompletedCB_t)(agsaRoot_t *agRoot, agsaIORequest_t *agIORequest, bit32 agIOStatus, bit32 agIOInfoLen, void *agParam, bit16 sspTag, bit32 agOtherInfo)
Callback definition for.
#define AGSA_NVMD_EXPANSION_ROM
#define AGSA_NVMD_CONFIG_SEEPROM
#define AGSA_MAX_INBOUND_Q
#define agsaEncryptCipherModeXTS
#define AGSA_NVMD_IOP_REG_FLASH
#define AGSA_NVMD_VPD_FLASH
#define AGSA_ENCRYPT_XTS_Mode
void(* ossaDIFEncryptionOffloadStartCB_t)(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 status, agsaOffloadDifDetails_t *agsaOffloadDifDetails)
void(* ossaSetDeviceInfoCB_t)(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaDevHandle_t *agDevHandle, bit32 status, bit32 option, bit32 param)
Callback definition for.
#define LL_IOREQ_LOCKEQ_LOCK
#define LL_IOREQ_IBQ0_LOCK
This file defines global types.
#define saLlistIOAdd(pList, pLink)
#define saLlistIORemove(pList, pLink)
#define saLlistIOGetHead(pList)
#define saLlistAdd(pList, pLink)
saLlistAdd macro
#define saLlistIOGetCount(pList)
#define saLlistRemove(pList, pLink)
saLlistRemove macro
#define saLlistGetHead(pList)
saLlistGetHead macro
#define smIS_spc8081(agr)
GLOBAL bit32 mpiDekManagementCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaDekManagementCmd_t *agDekMgmt, bit32 queueNum)
SAS Encryption DEK management command.
GLOBAL bit32 mpiGetOperatorCmd(agsaRoot_t *agRoot, bit32 queueNum, agsaContext_t *agContext, agsaGetOperatorCmd_t *operatorcode)
This command sends get operator command.
GLOBAL bit32 mpiEncryptBistCmd(agsaRoot_t *agRoot, bit32 queueNum, agsaContext_t *agContext, agsaEncryptBist_t *bist)
This command sends encrypt self test command.
GLOBAL bit32 mpiSetDeviceStateCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 deviceId, bit32 nds, bit32 queueNum)
Set Device State command.
GLOBAL bit32 mpiDevHandleAcceptCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 ctag, bit32 deviceId, bit32 action, bit32 flag, bit32 itlnx, bit32 queueNum)
Device Handle Accept Command.
GLOBAL bit32 mpiSetOperatorCmd(agsaRoot_t *agRoot, bit32 queueNum, agsaContext_t *agContext, agsaSetOperatorCmd_t *operatorcode)
This command sends set operator command.
GLOBAL bit32 mpiOperatorManagementCmd(agsaRoot_t *agRoot, bit32 queueNum, agsaContext_t *agContext, agsaOperatorMangmentCmd_t *operatorcode)
This command sends operator management command.
GLOBAL bit32 mpiSetControllerConfigCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaSetControllerConfigCmd_t *agControllerConfig, bit32 queueNum, bit8 modePageContext)
SAS Set Controller Configuration Command.
GLOBAL bit32 mpiDIFEncryptionOffloadCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 queueNum, bit32 op, agsaDifEncPayload_t *agDifEncOffload, ossaDIFEncryptionOffloadStartCB_t agCB)
GLOBAL bit32 mpiLocalPhyControlCmd(agsaRoot_t *agRoot, bit32 tag, bit32 phyId, bit32 operation, bit32 queueNum)
SPC MPI LOCAL PHY CONTROL Command.
GLOBAL bit32 mpiPhyStopCmd(agsaRoot_t *agRoot, bit32 tag, bit32 phyId, bit32 queueNum)
SPC MPI Phy Stop Command.
GLOBAL bit32 mpiGetPhyProfileCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 Operation, bit32 PhyId, void *agCB)
Get Phy Profile Command SPCv.
GLOBAL bit32 mpiGetNVMDCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaNVMDData_t *NVMDInfo, bit32 queueNum)
Get NVM Data command.
GLOBAL bit32 mpiEchoCmd(agsaRoot_t *agRoot, bit32 queueNum, agsaContext_t *agContext, void *echoPayload)
SPC MPI ECHO Command.
GLOBAL bit32 mpiVHistCapCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 queueNum, bit32 Channel, bit32 NumBitLo, bit32 NumBitHi, bit32 PcieAddrLo, bit32 PcieAddrHi, bit32 ByteCount)
GLOBAL bit32 mpiPhyStartCmd(agsaRoot_t *agRoot, bit32 tag, bit32 phyId, agsaPhyConfig_t *agPhyConfig, agsaSASIdentify_t *agSASIdentify, bit32 queueNum)
SPC MPI Phy Start Command.
GLOBAL bit32 mpiKekManagementCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaKekManagementCmd_t *agKekMgmt, bit32 queueNum)
SAS Encryption KEK command.
GLOBAL bit32 mpiGetDeviceInfoCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 deviceid, bit32 option, bit32 queueNum)
Get Device Information Command.
GLOBAL bit32 mpiSetPhyProfileCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 Operation, bit32 PhyId, bit32 length, void *buffer)
GLOBAL bit32 saEchoCommand(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 queueNum, void *echoPayload)
SAS/SATA LL API ECHO Command.
GLOBAL bit32 mpiGetControllerConfigCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaGetControllerConfigCmd_t *agControllerConfig, bit32 queueNum)
SAS Get Controller Configuration Command.
GLOBAL bit32 mpiGetDeviceHandleCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 portId, bit32 flags, bit32 maxDevs, bit32 queueNum, bit32 skipCount)
SPC MPI Get Device Handle Command.
GLOBAL bit32 mpiSetDeviceInfoCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 deviceid, bit32 option, bit32 queueNum, bit32 param, ossaSetDeviceInfoCB_t agCB)
Set Device Information Command.
GLOBAL bit32 mpiGetDeviceStateCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 deviceId, bit32 queueNum)
Get Device State command.
GLOBAL bit32 mpiDeregDevHandleCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaDeviceDesc_t *pDevice, bit32 deviceId, bit32 portId, bit32 queueNum)
SPC MPI Deregister Device Handle Command.
GLOBAL bit32 mpiSasReinitializeCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaSASReconfig_t *agSASConfig, bit32 queueNum)
SAS ReInitialize command.
GLOBAL bit32 mpiNVMReadRegDumpCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 queueNum, bit32 cpuId, bit32 cOffset, bit32 addrHi, bit32 addrLo, bit32 len)
SPC READ REGISTER DUMP Command.
GLOBAL bit32 mpiBuildCmd(agsaRoot_t *agRoot, bit32 *payload, mpiMsgCategory_t category, bit16 opcode, bit16 size, bit32 queueNum)
Build a IOMB command and send to SPC.
GLOBAL bit32 mpiSMPCmd(agsaRoot_t *agRoot, void *pIomb, bit16 opcode, agsaSMPCmd_t *payload, bit8 inq, bit8 outq)
SPC MPI SMP Request Command.
GLOBAL bit32 mpiSetNVMDCmd(agsaRoot_t *agRoot, agsaContext_t *agContext, agsaNVMDData_t *NVMDInfo, bit32 queueNum)
Set NVM Data Command.
#define OPC_INB_SET_DEVICE_STATE
#define OPC_INB_GET_VHIST_CAP
#define OPC_INB_SPC_GET_DEV_INFO
#define OPC_INB_GET_DEV_INFO
#define OPC_INB_DEREG_DEV_HANDLE
#define OPC_INB_SET_CONTROLLER_CONFIG
#define OPC_INB_SAS_RE_INITIALIZE
#define SET_DEV_INFO_V_DW4_MASK
#define OPC_INB_GET_OPERATOR
#define OPC_INB_DEK_MANAGEMENT
#define OPC_INB_SET_DEV_INFO
#define SET_DEV_INFO_SPC_DW4_MASK
#define OPC_INB_GET_PHY_PROFILE
#define OPC_INB_GET_CONTROLLER_CONFIG
#define SET_DEV_INFO_SPC_DW3_MASK
#define OPC_INB_SET_OPERATOR
#define OPC_INB_KEK_MANAGEMENT
#define OPC_INB_SET_NVMD_DATA
#define OPC_INB_GET_DEVICE_STATE
#define OPC_INB_SET_PHY_PROFILE
#define OPC_INB_DIF_ENC_OFFLOAD_CMD
#define OPC_INB_GET_NVMD_DATA
#define SET_DEV_INFO_V_DW3_MASK
#define OPC_INB_GET_DEV_HANDLE
#define OPC_INB_DEV_HANDLE_ACCEPT
#define OPC_INB_ENC_TEST_EXECUTE
#define OPC_INB_LOCAL_PHY_CONTROL
GLOBAL void ossaGetNVMDResponseCB(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 status, bit8 indirectPayload, bit32 agInfoLen, agsaFrameHandle_t agFrameHandle)
ossaGetNVMDResponseCB
GLOBAL FORCEINLINE void ossaSingleThreadedEnter(agsaRoot_t *agRoot, bit32 syncLockId)
ossaSingleThreadedEnter
GLOBAL void ossaSetNVMDResponseCB(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 status)
ossaSetNVMDResponseCB
GLOBAL FORCEINLINE void ossaSingleThreadedLeave(agsaRoot_t *agRoot, bit32 syncLockId)
ossaSingleThreadedLeave
GLOBAL void ossaGetPhyProfileCB(agsaRoot_t *agRoot, agsaContext_t *agContext, bit32 status, bit32 ppc, bit32 phyID, void *parm)
GLOBAL FORCEINLINE void * si_memcpy(void *dst, void *src, bit32 count)
memcopy
GLOBAL bit32 smIS_SPC(agsaRoot_t *agRoot)
GLOBAL FORCEINLINE void * si_memset(void *s, int c, bit32 n)
memset
GLOBAL bit32 smIS_SPCV(agsaRoot_t *agRoot)
struct mpiMsgHeader_s mpiMsgHeader_t
data structure stores OS specific and LL specific context
Circular Queue descriptor.