Searched refs:cpqary3_cmdpvtp (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_scsi.c72 cpqary3_build_cmdlist(cpqary3_cmdpvt_t *cpqary3_cmdpvtp, uint32_t tid) argument
80 RETURN_FAILURE_IF_NULL(cpqary3_cmdpvtp);
82 if (NULL == (cpqary3p = cpqary3_cmdpvtp->ctlr))
85 bfp = (struct buf *)cpqary3_cmdpvtp->pvt_pkt->bf;
93 cmdlistp = cpqary3_cmdpvtp->cmdlist_memaddr;
96 cmdlistp->Header.SGList = cpqary3_cmdpvtp->pvt_pkt->cmd_cookiecnt;
97 cmdlistp->Header.SGTotal = cpqary3_cmdpvtp->pvt_pkt->cmd_cookiecnt;
115 cmdlistp->Request.CDBLen = cpqary3_cmdpvtp->pvt_pkt->cdb_len;
117 bcopy((caddr_t)cpqary3_cmdpvtp->pvt_pkt->scsi_cmd_pkt->pkt_cdbp,
118 (caddr_t)cmdlistp->Request.CDB, cpqary3_cmdpvtp
186 cpqary3_cmdpvt_t *cpqary3_cmdpvtp; local
290 cpqary3_cmdpvt_t *cpqary3_cmdpvtp; local
362 cpqary3_cmdpvt_t *cpqary3_cmdpvtp; local
602 cpqary3_cmdpvt_t *cpqary3_cmdpvtp; local
748 cpqary3_synccmd_complete(cpqary3_cmdpvt_t *cpqary3_cmdpvtp) argument
[all...]
H A Dcpqary3_util.c595 cpqary3_cmdpvt_t *cpqary3_cmdpvtp; local
610 cpqary3_cmdpvtp = cpqary3_synccmd_alloc(ctlr, sizeof (IdLogDrive));
611 if (cpqary3_cmdpvtp == NULL)
614 cmdlistp = cpqary3_cmdpvtp->cmdlist_memaddr;
615 idlogdrive = (IdLogDrive *)cpqary3_cmdpvtp->driverdata->sg;
688 cpqary3_cmdpvtp->complete = cpqary3_synccmd_complete;
692 if (cpqary3_synccmd_send(ctlr, cpqary3_cmdpvtp, 90000,
695 cpqary3_synccmd_free(ctlr, cpqary3_cmdpvtp);
698 if ((cpqary3_cmdpvtp->
701 (cpqary3_cmdpvtp
[all...]
H A Dcpqary3_transport.c964 cpqary3_cmdpvt_t *cpqary3_cmdpvtp; local
988 cpqary3_cmdpvtp = &ctlr->cmdmemlistp->pool[i];
989 ASSERT(cpqary3_cmdpvtp != NULL);
991 if ((tag != cpqary3_cmdpvtp->tag.tag_value) &&
992 (cpqary3_cmdpvtp->occupied == CPQARY3_OCCUPIED)) {
994 if ((cpqary3_cmdpvtp->cmdlist_memaddr->
997 (cpqary3_cmdpvtp->cmdpvt_flag ==
1002 if (cpqary3_cmdpvtp->cmdpvt_flag ==
1031 cpqary3_cmdpvtp =
1034 cpqary3_cmdpvtp
1194 cpqary3_oscmd_complete(cpqary3_cmdpvt_t *cpqary3_cmdpvtp) argument
[all...]
H A Dcpqary3_talk2ctlr.c132 cpqary3_cmdpvt_t *cpqary3_cmdpvtp; local
160 cpqary3_cmdpvtp = &cpqary3p->cmdmemlistp->pool[
162 cpqary3_cmdpvtp->cmdlist_memaddr->
165 cpqary3_cmdpvtp->complete(cpqary3_cmdpvtp);
205 cpqary3_cmdpvt_t *cpqary3_cmdpvtp; local
219 cpqary3_cmdpvtp = &cpqary3p->cmdmemlistp->pool[
221 cpqary3_cmdpvtp->cmdlist_memaddr->
223 temp_tag = cpqary3_cmdpvtp->tag.tag_value;
227 cpqary3_cmdpvtp
[all...]
H A Dcpqary3_noe.c541 cpqary3_noe_complete(cpqary3_cmdpvt_t *cpqary3_cmdpvtp) argument
543 ASSERT(cpqary3_cmdpvtp != NULL);
545 if (CPQARY3_TIMEOUT == cpqary3_cmdpvtp->cmdpvt_flag) {
546 cpqary3_cmdlist_release(cpqary3_cmdpvtp, CPQARY3_NO_MUTEX);
550 if (cpqary3_cmdpvtp->cmdlist_memaddr->Request.CDB[6] ==
552 cv_signal(&cpqary3_cmdpvtp->ctlr->cv_noe_wait);
553 cpqary3_cmdlist_release(cpqary3_cmdpvtp, CPQARY3_NO_MUTEX);
555 cpqary3_NOE_handler(cpqary3_cmdpvtp);
H A Dcpqary3.h484 void cpqary3_noe_complete(cpqary3_cmdpvt_t *cpqary3_cmdpvtp);
489 uint8_t cpqary3_build_cmdlist(cpqary3_cmdpvt_t *cpqary3_cmdpvtp, uint32_t tid);

Completed in 88 milliseconds