Searched refs:pccb (Results 1 – 10 of 10) sorted by relevance
| /NextBSD/sys/dev/pms/freebsd/driver/ini/src/ |
| HD | agtiapi.c | 165 #define AG_GET_DONE_PCCB(pccb, pmcsc) \ argument 168 pccb = pmcsc->ccbDoneHead; \ 169 if (pccb != NULL) \ 174 agtiapi_Done(pmcsc, pccb); \ 180 #define AG_GET_DONE_SMP_PCCB(pccb, pmcsc) \ argument 183 pccb = pmcsc->smpDoneHead; \ 184 if (pccb != NULL) \ 189 agtiapi_SMPDone(pmcsc, pccb); \ 196 #define AG_IO_DUMPCCB(pccb) agtiapi_DumpCCB(pccb) argument 198 #define AG_IO_DUMPCCB(pccb) argument [all …]
|
| HD | osapi.c | 59 ccb_t *pccb; in ostiInitiatorEvent() local 139 pccb = (pccb_t)((tiIORequest_t *)parm)->osData; in ostiInitiatorEvent() 140 if (pccb->flags & TASK_TIMEOUT) in ostiInitiatorEvent() 143 agtiapi_FreeTMCCB(pCard, pccb); in ostiInitiatorEvent() 147 pccb->flags |= AGTIAPI_CB_DONE; in ostiInitiatorEvent() 150 pccb->flags |= TASK_SUCCESS; in ostiInitiatorEvent() 152 pccb, pccb->flags); in ostiInitiatorEvent() 155 if (pccb->flags & DEV_RESET) in ostiInitiatorEvent() 158 ccbIO = pccb->pccbIO; in ostiInitiatorEvent() 172 ccbIO = pccb->pccbIO; in ostiInitiatorEvent() [all …]
|
| HD | agtiproto.h | 39 STATIC void agtiapi_FreeCCB(struct agtiapi_softc *pmcsc, pccb_t pccb); 40 STATIC void agtiapi_FreeSMPCCB(struct agtiapi_softc *pmcsc, pccb_t pccb); 41 STATIC void agtiapi_FreeTMCCB(struct agtiapi_softc *pmcsc, pccb_t pccb); 43 void agtiapi_SetLunField( ccb_t *pccb ); 50 ccb_t *pccb ); 54 STATIC void agtiapi_DumpCCB(ccb_t *pccb); 55 STATIC void agtiapi_Done(struct agtiapi_softc *pmcsc, ccb_t *pccb); 56 STATIC void agtiapi_SMPDone(struct agtiapi_softc *pmcsc, ccb_t *pccb); 58 STATIC U32 agtiapi_CheckError(struct agtiapi_softc *pmcsc, ccb_t *pccb); 59 STATIC U32 agtiapi_CheckSMPError(struct agtiapi_softc *pmcsc, ccb_t *pccb); [all …]
|
| /NextBSD/sys/dev/trm/ |
| HD | trm.c | 181 static void trm_action(struct cam_sim *psim, union ccb *pccb); 429 ccb = pSRB->pccb; in trm_ExecuteSRB() 532 trm_action(struct cam_sim *psim, union ccb *pccb) in trm_action() argument 538 CAM_DEBUG(pccb->ccb_h.path, CAM_DEBUG_TRACE, ("trm_action\n")); in trm_action() 542 target_id = pccb->ccb_h.target_id; in trm_action() 543 target_lun = pccb->ccb_h.target_lun; in trm_action() 545 switch (pccb->ccb_h.func_code) { in trm_action() 548 pccb->ccb_h.status = CAM_REQ_INVALID; in trm_action() 549 xpt_done(pccb); in trm_action() 560 pcsio = &pccb->csio; in trm_action() [all …]
|
| HD | trm.h | 160 union ccb *pccb; member
|
| /NextBSD/sys/dev/arcmsr/ |
| HD | arcmsr.c | 181 static int arcmsr_iop_message_xfer(struct AdapterControlBlock *acb, union ccb *pccb); 656 union ccb *pccb = srb->pccb; in arcmsr_report_sense_info() local 658 pccb->ccb_h.status |= CAM_SCSI_STATUS_ERROR; in arcmsr_report_sense_info() 659 pccb->csio.scsi_status = SCSI_STATUS_CHECK_COND; in arcmsr_report_sense_info() 660 if(pccb->csio.sense_len) { in arcmsr_report_sense_info() 661 memset(&pccb->csio.sense_data, 0, sizeof(pccb->csio.sense_data)); in arcmsr_report_sense_info() 662 memcpy(&pccb->csio.sense_data, srb->arcmsr_cdb.SenseData, in arcmsr_report_sense_info() 663 get_min(sizeof(struct SENSE_DATA), sizeof(pccb->csio.sense_data))); in arcmsr_report_sense_info() 664 ((u_int8_t *)&pccb->csio.sense_data)[0] = (0x1 << 7 | 0x70); /* Valid,ErrorCode */ in arcmsr_report_sense_info() 665 pccb->ccb_h.status |= CAM_AUTOSNS_VALID; in arcmsr_report_sense_info() [all …]
|
| HD | arcmsr.h | 1085 union ccb *pccb; /* 512-515 516-519 pointer of freebsd scsi command */ member
|
| /NextBSD/sys/dev/pms/freebsd/driver/common/ |
| HD | lxencrypt.c | 1028 agtiapi_SetupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb, unsigned long long block) in agtiapi_SetupEncryptedIO() argument 1038 memset(&(pccb->tiSuperScsiRequest.Encrypt), 0, sizeof(pccb->tiSuperScsiRequest.Encrypt)); in agtiapi_SetupEncryptedIO() 1039 pccb->tiSuperScsiRequest.Encrypt.keyTagCheck = FALSE; in agtiapi_SetupEncryptedIO() 1040 pccb->tiSuperScsiRequest.Encrypt.encryptMode = pCard->cipher_mode; in agtiapi_SetupEncryptedIO() 1041 pccb->tiSuperScsiRequest.Encrypt.tweakVal_W0 = block; in agtiapi_SetupEncryptedIO() 1042 if(pccb->tiSuperScsiRequest.scsiCmnd.cdb[0] == READ_16 || in agtiapi_SetupEncryptedIO() 1043 pccb->tiSuperScsiRequest.scsiCmnd.cdb[0] == WRITE_16) in agtiapi_SetupEncryptedIO() 1045 …pccb->tiSuperScsiRequest.Encrypt.tweakVal_W0 = ((pccb->tiSuperScsiRequest.scsiCmnd.cdb[6] << 24 ) | in agtiapi_SetupEncryptedIO() 1046 (pccb->tiSuperScsiRequest.scsiCmnd.cdb[7] << 16 ) | in agtiapi_SetupEncryptedIO() 1047 (pccb->tiSuperScsiRequest.scsiCmnd.cdb[8] << 8 ) | in agtiapi_SetupEncryptedIO() [all …]
|
| HD | lxencrypt.h | 98 int agtiapi_SetupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb, unsigned long long block); 99 void agtiapi_CleanupEncryptedIO(struct agtiapi_softc *pCard, ccb_t *pccb); 100 void agtiapi_HandleEncryptedIOFailure(ag_device_t *pDev, ccb_t *pccb);
|
| /NextBSD/sys/dev/pms/RefTisa/tisa/api/ |
| HD | ostiapi.h | 333 void *pccb,
|