/freebsd/sys/dev/pms/RefTisa/sallsdk/api/ |
H A D | sa_spec.h | 181 bit8 fisType; /* fisType, set to 58h for BIST */ 182 bit8 pmPort; 185 bit8 patternDefinition; 194 bit8 reserved5; /* Reserved */ 200 bit8 fisType; /* fisType, set to 34h for DeviceToHostReg */ 201 bit8 i_pmPort; 206 bit8 status; /* Contains the contents to be placed in the Status(and Alternate status) 208 …bit8 error; /* Contains the contents to be placed in the Error register of the Shadow Command … 213 bit8 fisType; /* fisType, set to A1h for SetDeviceBit */ 214 bit8 n_i_pmPort; [all …]
|
H A D | sa.h | 44 (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit16)(VALUE16); 47 (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit32)(VALUE32); 50 (*((bit16 *)ADDR16)) = (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 53 (*((bit32 *)ADDR32)) = (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 56 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit8)((((bit16)VALUE16)>>8)&0xFF); \ 57 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)+1))) = (bit8)(((bit16)VALUE16)&0xFF); 60 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit8)((((bit32)VALUE32)>>24)&0xFF); \ 61 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)+1))) = (bit8)((((bit32)VALUE32)>>16)&0xFF); \ 62 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)+2))) = (bit8)((((bit32)VALUE32)>>8)&0xFF); \ 63 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)+3))) = (bit8)(((bit32)VALUE32)&0xFF); [all …]
|
/freebsd/sys/dev/pms/RefTisa/discovery/dm/ |
H A D | dmdefs.h | 228 bit8 smpFrameType; /* The first byte of SMP frame represents the SMP FRAME TYPE */ 229 bit8 smpFunction; /* The second byte of the SMP frame represents the SMP FUNCTION */ 230 …bit8 smpFunctionResult; /* The third byte of SMP frame represents FUNCTION RESULT of the SMP res… 231 bit8 smpReserved; /* reserved */ 253 bit8 expanderChangeCount16[2]; 254 bit8 expanderRouteIndexes16[2]; 255 bit8 reserved1; /* byte 9; has LONG Response for SAS 2 at bit 8 */ 256 bit8 numOfPhys; 257 bit8 configuring_configurable; 261 bit8 reserved4[17]; [all …]
|
H A D | dmtypes.h | 83 bit8 phyIdentifier; /**< PHY IDENTIFIER of the PHY */ 125 bit8 initiator_ssp_stp_smp; 126 bit8 target_ssp_stp_smp; 165 bit8 PhyIDList[DM_MAX_NUM_PHYS]; 176 bit8 nativeSATAMode; /* boolean flag: whether the port is in Native SATA mode */ 177 …bit8 remoteSignature[8]; /* the remote signature of the port is the port is in nati… 179 …bit8 directAttatchedSAS; /* boolean flag: whether the port connected directly to S… 183 bit8 LinkRate; 197 bit8 DeviceType; 206 bit8 initiator_ssp_stp_smp; [all …]
|
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/common/ |
H A D | tddefs.h | 60 #define os_bit8 bit8 233 bit8 opcode; 234 bit8 rsv; /* not 100% correct */ 235 bit8 lba[2]; /* not 100% correct */ 236 bit8 len; 237 bit8 control; 246 bit8 opcode; 247 bit8 rsv_service; 248 bit8 lba[4]; 249 bit8 rsv; [all …]
|
H A D | tdioctl.h | 244 bit8 buffer[1]; /* Start of buffer */ 251 bit8 *buffer; // keep buffer pointer to be freed when the responce comes 252 bit8 *virtAddr; /* keep virtual address of the data */ 253 bit8 *usrAddr; /* keep virtual address of the user data */ 256 bit8 inProgress; /* if 1 - the IOCTL request is in progress */ 278 bit8 buffer[1]; /* Start of buffer */ 295 bit8 *buffer; // keep buffer pointer to be freed when the responce comes 296 bit8 *virtAddr; /* keep virtual address of the data */ 297 bit8 *usrAddr; /* keep virtual address of the user data */ 300 bit8 inProgress; /* if 1 - the IOCTL request is in progress */ [all …]
|
H A D | tdsatypes.h | 106 bit8 ChipRev; 165 bit8 exp_sas_addr[8]; //Storing the 16 digit expander SAS-address 168 bit8 smp_req_resp[1]; //Pointer to the request-response frame 287 bit8 CardIDString[TD_CARD_ID_LEN]; 342 bit8 FatalErrorData[(5 * (1024 * 1024))]; 375 bit8 pathId; 376 bit8 targetId; 377 bit8 lun;
|
/freebsd/sys/dev/pms/RefTisa/sat/src/ |
H A D | smdefs.h | 159 bit8 len[4]; 182 bit8 byte[512]; 191 bit8 byte[512]; 200 bit8 byte[512]; 585 (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit16)(VALUE16); 588 (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit32)(VALUE32); 591 (*((bit16 *)ADDR16)) = (*((bit16 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 594 (*((bit32 *)ADDR32)) = (*((bit32 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) 597 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)))) = (bit8)((((bit16)VALUE16)>>8)&0xFF); \ 598 (*((bit8 *)(((bit8 *)DMA_ADDR)+(OFFSET)+1))) = (bit8)(((bit16)VALUE16)&0xFF); [all …]
|
H A D | smtypes.h | 140 bit8 satSignature[8]; /* Signature */ 145 bit8 satMaxLBA[8]; /* MAXLBA is from read capacity */ 161 bit8 opc; 162 bit8 mulCount : 3; 163 bit8 proto : 4; 164 bit8 extend : 1; 165 bit8 offline : 2; 166 bit8 ckCond : 1; 167 bit8 tType : 1; 168 bit8 tDir : 1; [all …]
|
H A D | smsat.c | 1184 bit8 phyOp, in smPhyControlSend() 1206 bit8 *pSmpBody; /* smp payload itself w/o first 4 bytes(header) */ in smPhyControlSend() 1225 smpPhyControlReq.phyIdentifier = (bit8)oneDeviceData->phyID; in smPhyControlSend() 1295 pSmpBody = (bit8 *)&smpPhyControlReq; in smPhyControlSend() 1309 smSMPFrameHeader.smpFunction = (bit8)SMP_PHY_CONTROL; in smPhyControlSend() 1355 smSMPFrameHeader.smpFunction = (bit8)SMP_PHY_CONTROL; in smPhyControlSend() 2273 bit8 *pInquiry, in smsatInquiryStandard() 2452 bit8 *pInquiry, in smsatInquiryPage0() 2479 bit8 *pInquiry, in smsatInquiryPage83() 2522 pInquiry[8] = (bit8)((pSATAIdData->namingAuthority) >> 8); in smsatInquiryPage83() [all …]
|
H A D | smproto.h | 40 smhexdump(const char *ptitle, bit8 *pbuf, size_t len); 200 bit8 SnsKey, 209 bit8 SnsKey, 223 smsatBitSet(smRoot_t *smRoot,bit8 *data, bit32 index); 226 smsatBitClear(smRoot_t *smRoot,bit8 *data, bit32 index); 229 smsatBitTest(smRoot_t *smRoot,bit8 *data, bit32 index); 235 bit8 *pTag 242 bit8 tag 269 bit8 *pInquiry, 276 bit8 *pInquiry, [all …]
|
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | mpidebug.c | 156 saRoot->traceBuffLookup[count] = (bit8)('0' + count); in siEnableTracing() 160 saRoot->traceBuffLookup[(bitptr)count + 10] = (bit8)('a' + count); in siEnableTracing() 196 saRoot->TraceBuffer[count] = (bit8)' '; in siEnableTracing() 251 saRoot->TraceBuffer[i] = (bit8)' '; \ 342 bPtr[pos++] = (bit8)'\n'; \ 343 bPtr[pos++] = (bit8)0; \ 350 bPtr[pos++] = (bit8)' '; \ 421 saRoot->TraceBuffer[count] = (bit8)' '; in siResetTraceBuffer() 467 bit8 tmpB[TMP_TRACE_BUFF_SIZE]; in siTraceFuncEnter() 468 bit8 *bPtr; in siTraceFuncEnter() [all …]
|
H A D | satypes.h | 71 bit8 portIdx; /**< the Index of the port */ 72 bit8 reserved[3]; 86 bit8 phyId; /**< the Id of the phy */ 87 bit8 linkstatus; /**< the link status of the phy */ 88 bit8 reserved[2]; 90 …bit8 remoteSignature[8]; /* the remote signature of the phy is the phy is in native… 117 bit8 deviceType; /**< the device type */ 118 bit8 reserved[3]; 142 bit8 valid; /**< boolean flag: the request is valid */ 143 bit8 IRmode; /**< indirect smp response mode */ [all …]
|
H A D | saframe.c | 60 bit8 *payloadAddr; in saFrameReadBit32() 68 payloadAddr = (bit8 *)(agFrame) + frameOffset; in saFrameReadBit32() 103 bit8 *payloadAddr; in saFrameReadBlock() 114 payloadAddr = (bit8 *)(agFrame) + frameOffset; in saFrameReadBlock() 118 *(bit8 *)((bit8 *)frameBuffer + i) = *(bit8 *)(payloadAddr + i); in saFrameReadBlock()
|
H A D | mpi.h | 449 bit8 responseQueue, bit8 hiPriority); 453 bit8 responseQueue, bit8 hiPriority); 461 bit8 responseQueue, bit8 hiPriority); 465 bit8 responseQueue, bit8 hiPriority, int sendFl); 467 #define INQ(queueNum) (bit8)(queueNum & MPI_IB_NUM_MASK) 468 #define OUQ(queueNum) (bit8)((queueNum & MPI_OB_NUM_MASK) >> MPI_OB_SHIFT) 471 …iOCQueue_t *circularQ, void** messagePtr1, mpiMsgCategory_t *pCategory, bit16* pOpCode, bit8 *pBC); 472 FORCEINLINE bit32 mpiMsgFreeSet(mpiOCQueue_t *circularQ, void* messagePtr1, bit8 bc);
|
H A D | mpi.c | 78 memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.eventLogSize; in mpiRequirementsGet() 79 memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.eventLogSize; in mpiRequirementsGet() 88 …memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.IOPeventLogSiz… in mpiRequirementsGet() 89 …memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.IOPeventLogSiz… in mpiRequirementsGet() 236 bit8 bcCount = 1; /* only support single buffer */ in mpiMsgFreeGet() 277 msgHeader = (mpiMsgHeader_t*) (((bit8 *)(circularQ->memoryRegion.virtPtr)) + offset); in mpiMsgFreeGet() 286 *messagePtr = ((bit8*)msgHeader) + sizeof(mpiMsgHeader_t); in mpiMsgFreeGet() 296 bit8 bcCount = 1; /* only support single buffer */ in mpiMsgFreeGetOQ() 328 msgHeader = (mpiMsgHeader_t*) (((bit8 *)(circularQ->memoryRegion.virtPtr)) + offset); in mpiMsgFreeGetOQ() 337 *messagePtr = ((bit8*)msgHeader) + sizeof(mpiMsgHeader_t); in mpiMsgFreeGetOQ() [all …]
|
/freebsd/sys/dev/pms/RefTisa/tisa/api/ |
H A D | tiscsi.h | 46 bit8 snsRespCode; 47 bit8 snsSegment; 48 bit8 senseKey; /* sense key */ 49 bit8 info[4]; 50 bit8 addSenseLen; /* 11 always */ 51 bit8 cmdSpecific[4]; 52 bit8 addSenseCode; /* additional sense code */ 53 bit8 senseQual; /* additional sense code qualifier */ 54 bit8 fru; 55 bit8 skeySpecific[3];
|
H A D | titypes.h | 131 bit8 senseLen; 142 bit8 FunctionSpecificArea[1]; 154 bit8 FunctionSpecificArea[8]; 177 bit8 udtArray[DIF_UDT_SIZE]; 178 bit8 udtrArray[DIF_UDT_SIZE]; 227 bit8 devType_S_Rate; 241 bit8 reserved1; 274 bit8 kekBlob[KEK_BLOB_SIZE]; 279 bit8 dekBlob[DEK_BLOB_SIZE_08]; 294 bit8 ID[OPR_MGMT_ID_STRING_SIZE]; [all …]
|
H A D | ostiapi.h | 96 osGLOBAL FORCEINLINE bit8 ostiChipReadBit8( 104 bit8 chipValue 160 osGLOBAL FORCEINLINE bit8 327 bit8 pathId, 328 bit8 targetId, 329 bit8 LUN 333 bit8 pathId, 334 bit8 targetId, 335 bit8 lun, 449 bit8 *scsiLun,
|
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sas/common/ |
H A D | tdtypes.h | 229 bit8 phyIdentifier; /**< PHY IDENTIFIER of the PHY */ 273 bit8 SN_id_limit[25]; /* temporary serial number id info */ 300 bit8 satSignature[8]; /* Signature */ 305 bit8 satMaxLBA[8]; /* MAXLBA is from read capacity */ 332 bit8 DeviceType; 341 bit8 initiator_ssp_stp_smp; 342 bit8 target_ssp_stp_smp; 343 bit8 numOfPhys; 350 bit8 valid; 351 bit8 valid2; [all …]
|
/freebsd/sys/dev/pms/RefTisa/discovery/api/ |
H A D | dm.h | 99 bit8 flag; 100 bit8 devType_S_Rate; 101 bit8 sasAddressHi[4]; 102 bit8 sasAddressLo[4]; 103 bit8 initiator_ssp_stp_smp; 104 bit8 target_ssp_stp_smp; 114 bit8 sataDeviceType; 115 bit8 reserved; 154 bit8 sasRemoteAddressHi[4]; 155 bit8 sasRemoteAddressLo[4]; [all …]
|
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sata/host/ |
H A D | sat.c | 580 bit8 SnsKey, in satSetSensePayload() 597 ((bit8*)pSense)[i] = 0; in satSetSensePayload() 609 pSense->info[0] = (bit8)((SnsInfo >> 24) & 0xff); in satSetSensePayload() 610 pSense->info[1] = (bit8)((SnsInfo >> 16) & 0xff); in satSetSensePayload() 611 pSense->info[2] = (bit8)((SnsInfo >> 8) & 0xff); in satSetSensePayload() 612 pSense->info[3] = (bit8)((SnsInfo) & 0xff); in satSetSensePayload() 614 pSense->addSenseCode = (bit8)((SnsCode >> 8) & 0xFF); in satSetSensePayload() 615 pSense->senseQual = (bit8)(SnsCode & 0xFF); in satSetSensePayload() 658 bit8 SnsKey, in satSetDeferredSensePayload() 673 ((bit8*)pSense)[i] = 0; in satSetDeferredSensePayload() [all …]
|
H A D | satproto.h | 120 bit8 SnsKey, 142 bit8 SnsKey, 278 bit8 bTransferMode 1531 bit8 *pInquiry, 1549 bit8 *pInquiry, 1566 bit8 *pInquiry, 1583 bit8 *pInquiry, 1599 bit8 *pInquiry, 2166 bit8 ataStatus, 2167 bit8 ataError, [all …]
|
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sas/tgt/ |
H A D | ttdtxchg.h | 37 bit8 RespData[4]; 38 bit8 SenseData[64]; 43 bit8 RespData[1024]; /* SAS Spec */ 49 bit8 *virtAddr;
|
/freebsd/sys/dev/pms/RefTisa/sat/api/ |
H A D | sm.h | 150 bit8 lun[8]; /* logical unit number */ 158 bit8 cdb[16]; 212 bit8 udtArray[DIF_UDT_SIZE]; 213 bit8 udrtArray[DIF_UDT_SIZE]; 267 bit8 senseLen;
|