Lines Matching refs:scsi_pkt

162 static int mptsas_scsi_start(struct scsi_address *ap, struct scsi_pkt *pkt);
164 static int mptsas_scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
168 static void mptsas_scsi_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt);
169 static struct scsi_pkt *mptsas_scsi_init_pkt(struct scsi_address *ap,
170 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
172 static void mptsas_scsi_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt);
174 struct scsi_pkt *pkt);
215 struct scsi_pkt *pkt);
630 _NOTE(SCHEME_PROTECTS_DATA("unique per pkt", scsi_pkt \
3192 * scsi_pkt handling
3205 mptsas_scsi_start(struct scsi_address *ap, struct scsi_pkt *pkt)
3241 * and which scsi_pkt is the currently-running command so the
3564 struct scsi_pkt *pkt = CMD2PKT(cmd);
3606 * tran_init_pkt(9E) - allocate scsi_pkt(9S) for command
3609 * - allocate scsi_pkt
3610 * - allocate scsi_pkt and DMA resources
3613 static struct scsi_pkt *
3614 mptsas_scsi_init_pkt(struct scsi_address *ap, struct scsi_pkt *pkt,
3671 cmd->cmd_pkt = (struct scsi_pkt *)pkt;
3812 return ((struct scsi_pkt *)NULL);
3826 return ((struct scsi_pkt *)NULL);
3842 return ((struct scsi_pkt *)NULL);
3884 return ((struct scsi_pkt *)NULL);
3949 * tran_destroy_pkt(9E) - scsi_pkt(9s) deallocation
3956 mptsas_scsi_destroy_pkt(struct scsi_address *ap, struct scsi_pkt *pkt)
4225 mptsas_scsi_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt)
4244 mptsas_scsi_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt)
4261 mptsas_pkt_comp(struct scsi_pkt *pkt, mptsas_cmd_t *cmd)
5129 struct scsi_pkt *pkt;
5433 struct scsi_pkt *pkt;
5704 struct scsi_pkt *pkt = CMD2PKT(cmd);
5756 struct scsi_pkt *pkt;
8354 struct scsi_pkt *pkt = CMD2PKT(cmd);
8625 struct scsi_pkt *pkt = CMD2PKT(cmd);
8697 struct scsi_pkt *pkt = CMD2PKT(cmd);
8743 struct scsi_pkt *pkt;
9438 mptsas_scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt)
9460 mptsas_do_scsi_abort(mptsas_t *mpt, int target, int lun, struct scsi_pkt *pkt)
10293 struct scsi_pkt *pkt = cmd->cmd_pkt;
10789 struct scsi_pkt *pkt;
11196 struct scsi_pkt *pkt = cmd->cmd_pkt;
11271 struct scsi_pkt *pkt;
11423 struct scsi_pkt *pkt;
13727 struct scsi_pkt *pktp = NULL;
13754 pktp = scsi_init_pkt(ap, (struct scsi_pkt *)NULL,