Home
last modified time | relevance | path

Searched refs:scsi_pkt (Results 1 – 25 of 111) sorted by relevance

12345

/titanic_44/usr/src/uts/common/sys/scsi/
H A Dscsi_resource.h68 struct scsi_pkt *scsi_init_pkt(struct scsi_address *,
69 struct scsi_pkt *, struct buf *, int, int, int, int,
71 void scsi_destroy_pkt(struct scsi_pkt *);
73 int scsi_pkt_allocated_correctly(struct scsi_pkt *);
74 struct scsi_pkt *scsi_dmaget(struct scsi_pkt *, opaque_t, int (*)(void));
75 void scsi_dmafree(struct scsi_pkt *);
76 void scsi_sync_pkt(struct scsi_pkt *);
82 struct scsi_pkt pcw_pkt;
102 struct buf *scsi_pkt2bp(struct scsi_pkt *);
121 struct scsi_pkt *scsi_pktalloc(struct scsi_address *, int, int, int (*)(void));
[all …]
H A Dscsi_pkt.h49 struct scsi_pkt { struct
53 void (*pkt_comp)(struct scsi_pkt *); /* completion routine */ argument
275 int scsi_transport(struct scsi_pkt *pkt);
H A Dscsi_ctl.h81 int scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
86 int scsi_terminate_task(struct scsi_address *ap, struct scsi_pkt *pkt);
/titanic_44/usr/src/uts/common/sys/scsi/impl/
H A Dtransport.h102 struct scsi_pkt *pkt);
110 struct scsi_pkt *pkt);
123 struct scsi_pkt *(*tran_init_pkt)(
125 struct scsi_pkt *pkt,
137 struct scsi_pkt *pkt);
141 struct scsi_pkt *pkt);
145 struct scsi_pkt *pkt);
171 struct scsi_pkt *pkt);
263 struct scsi_pkt *pkt,
267 struct scsi_pkt *pkt,
[all …]
H A Dservices.h51 int scsi_poll(struct scsi_pkt *);
52 struct scsi_pkt *get_pktiopb(struct scsi_address *,
55 void free_pktiopb(struct scsi_pkt *, caddr_t datap, int datalen);
73 void scsi_vu_errmsg(struct scsi_device *devp, struct scsi_pkt *pktp,
79 void scsi_errmsg(struct scsi_device *devp, struct scsi_pkt *pkt,
/titanic_44/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c132 scsi_dmafree_attr(struct scsi_pkt *pktp) in scsi_dmafree_attr()
149 scsi_pkt2bp(struct scsi_pkt *pkt) in scsi_pkt2bp()
161 struct scsi_pkt *pktp = &(pktw->pcw_pkt); in scsi_dma_buf_bind_attr()
215 struct scsi_pkt *pktp = &(pktw->pcw_pkt); in scsi_dmaget_attr()
266 void scsi_free_cache_pkt(struct scsi_address *, struct scsi_pkt *);
268 struct scsi_pkt *
269 scsi_init_cache_pkt(struct scsi_address *ap, struct scsi_pkt *in_pktp, in scsi_init_cache_pkt()
516 scsi_free_cache_pkt(struct scsi_address *ap, struct scsi_pkt *pktp) in scsi_free_cache_pkt()
562 struct scsi_pkt *
563 scsi_init_pkt(struct scsi_address *ap, struct scsi_pkt *in_pktp, in scsi_init_pkt()
[all …]
H A Dscsi_transport.c69 scsi_callback_done(struct scsi_pkt *pkt) in scsi_callback_done()
79 scsi_flag_nointr_comp(struct scsi_pkt *pkt) in scsi_flag_nointr_comp()
104 scsi_transport(struct scsi_pkt *pkt) in scsi_transport()
H A Dscsi_watch.c122 struct scsi_pkt *swr_pkt; /* TUR pkt itself */
123 struct scsi_pkt *swr_rqpkt; /* request sense pkt */
156 static void scsi_watch_request_intr(struct scsi_pkt *pkt);
231 struct scsi_pkt *rqpkt = NULL; in scsi_watch_request_submit_impl()
232 struct scsi_pkt *pkt = NULL; in scsi_watch_request_submit_impl()
280 rqpkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, in scsi_watch_request_submit_impl()
304 pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, mmcbp, in scsi_watch_request_submit_impl()
314 pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, NULL, in scsi_watch_request_submit_impl()
321 pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, NULL, in scsi_watch_request_submit_impl()
873 scsi_watch_request_intr(struct scsi_pkt *pkt) in scsi_watch_request_intr()
H A Dscsi_control.c36 scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt) in scsi_abort()
76 scsi_terminate_task(struct scsi_address *ap, struct scsi_pkt *pkt) in scsi_terminate_task()
/titanic_44/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_transport.c26 static int cpqary3_transport(struct scsi_address *, struct scsi_pkt *);
28 static int cpqary3_abort(struct scsi_address *, struct scsi_pkt *);
31 static int cpqary3_dma_alloc(cpqary3_t *, struct scsi_pkt *,
33 static int cpqary3_dma_move(struct scsi_pkt *, struct buf *, cpqary3_t *);
34 static int cpqary3_handle_flag_nointr(cpqary3_cmdpvt_t *, struct scsi_pkt *);
36 static void cpqary3_dmafree(struct scsi_address *, struct scsi_pkt *);
37 static void cpqary3_dma_sync(struct scsi_address *, struct scsi_pkt *);
38 static void cpqary3_destroy_pkt(struct scsi_address *, struct scsi_pkt *);
39 static struct scsi_pkt *cpqary3_init_pkt(struct scsi_address *,
40 struct scsi_pkt *, struct buf *, int, int, int, int, int (*callback)(),
[all …]
/titanic_44/usr/src/uts/common/io/
H A Demul64.c79 static int emul64_scsi_start(struct scsi_address *ap, struct scsi_pkt *pkt);
81 static int emul64_scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
86 static struct scsi_pkt *emul64_scsi_init_pkt(struct scsi_address *ap,
87 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
90 struct scsi_pkt *pkt);
91 static void emul64_scsi_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt);
92 static void emul64_scsi_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt);
124 struct scsi_pkt *pkt);
808 static struct scsi_pkt *
809 emul64_scsi_init_pkt(struct scsi_address *ap, struct scsi_pkt *pkt, in emul64_scsi_init_pkt()
[all …]
H A Demul64_bsd.c175 extern void emul64_check_cond(struct scsi_pkt *pkt, uchar_t key,
180 static int bsd_mode_sense_dad_mode_geometry(struct scsi_pkt *);
181 static int bsd_mode_sense_dad_mode_err_recov(struct scsi_pkt *);
182 static int bsd_mode_sense_modepage_disco_reco(struct scsi_pkt *);
183 static int bsd_mode_sense_dad_mode_format(struct scsi_pkt *);
184 static int bsd_mode_sense_dad_mode_cache(struct scsi_pkt *);
270 bsd_scsi_start_stop_unit(struct scsi_pkt *pkt) in bsd_scsi_start_stop_unit()
277 bsd_scsi_test_unit_ready(struct scsi_pkt *pkt) in bsd_scsi_test_unit_ready()
284 bsd_scsi_request_sense(struct scsi_pkt *pkt) in bsd_scsi_request_sense()
290 bsd_scsi_inq_page0(struct scsi_pkt *pkt, uchar_t pqdtype) in bsd_scsi_inq_page0()
[all …]
/titanic_44/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_scsa.h48 struct scsi_pkt *pktp);
51 struct scsi_pkt *pktp);
53 struct scsi_pkt *ghd_tran_init_pkt_attr(ccc_t *cccp, struct scsi_address *ap,
54 struct scsi_pkt *pktp, struct buf *bp,
H A Dghd_scsa.c36 static struct scsi_pkt *ghd_pktalloc(ccc_t *cccp, struct scsi_address *ap,
69 ghd_tran_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pktp) in ghd_tran_sync_pkt()
85 static struct scsi_pkt *
96 struct scsi_pkt *pktp; in ghd_pktalloc()
153 struct scsi_pkt *pktp) in ghd_pktfree()
166 struct scsi_pkt *
169 struct scsi_pkt *pktp, in ghd_tran_init_pkt_attr()
/titanic_44/usr/src/uts/common/sys/1394/targets/scsa1394/
H A Dcmd.h66 struct scsi_pkt *sc_pkt; /* corresponding scsi pkt */
113 struct scsi_pkt sc_scsi_pkt; /* must be last */
118 sizeof (struct scsi_pkt) + scsi_pkt_size())
121 scsi_pkt scsi_inquiry scsi_extended_sense scsi_cdb scsi_arq_status }))
124 #define CMD2PKT(cmdp) ((struct scsi_pkt *)((cmdp)->sc_pkt))
/titanic_44/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c41 static int atapi_tran_abort(struct scsi_address *ap, struct scsi_pkt *spktp);
46 static struct scsi_pkt *atapi_tran_init_pkt(struct scsi_address *ap,
47 struct scsi_pkt *spktp, struct buf *bp, int cmdlen, int statuslen,
50 struct scsi_pkt *spktp);
51 static void atapi_tran_dmafree(struct scsi_address *ap, struct scsi_pkt *spktp);
53 struct scsi_pkt *spktp);
54 static int atapi_tran_start(struct scsi_address *ap, struct scsi_pkt *spktp);
426 struct scsi_pkt *spktp) in atapi_tran_abort()
597 static struct scsi_pkt *
600 struct scsi_pkt *spktp, in atapi_tran_init_pkt()
[all …]
/titanic_44/usr/src/uts/sun/sys/dada/adapters/ghd/
H A Dghd_scsa.h47 struct scsi_pkt *pktp);
50 struct scsi_pkt *pktp);
/titanic_44/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c85 static int scsa1394_probe_tran(struct scsi_pkt *);
86 static struct scsi_pkt *scsa1394_scsi_init_pkt(struct scsi_address *,
87 struct scsi_pkt *, struct buf *, int, int, int, int,
90 struct scsi_pkt *);
91 static int scsa1394_scsi_start(struct scsi_address *, struct scsi_pkt *);
92 static int scsa1394_scsi_abort(struct scsi_address *, struct scsi_pkt *);
96 static void scsa1394_scsi_dmafree(struct scsi_address *, struct scsi_pkt *);
98 struct scsi_pkt *);
126 static void scsa1394_prepare_pkt(scsa1394_state_t *, struct scsi_pkt *);
1081 struct scsi_pkt *pkt; in scsa1394_probe_g0_nodata()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dses.c119 static int ses_decode_sense(struct scsi_pkt *pkt, int *err);
122 static void ses_callback(struct scsi_pkt *pkt);
1079 struct scsi_pkt *pkt; in ses_get_pkt()
1104 if (pkt == (struct scsi_pkt *)NULL) in ses_get_pkt()
1123 struct scsi_pkt *pkt = (struct scsi_pkt *)arg; in ses_restart()
1153 pkt = (struct scsi_pkt *)bp->av_back; in ses_restart()
1166 ses_callback(struct scsi_pkt *pkt) in ses_callback()
1272 pkt = (struct scsi_pkt *)bp->av_back; in ses_callback()
1309 if (scsi_transport((struct scsi_pkt *)bp->av_back) in ses_callback()
1312 (struct scsi_pkt *)bp->av_back); in ses_callback()
[all …]
H A Dsgen.c142 static void sgen_callback(struct scsi_pkt *);
143 static int sgen_handle_autosense(sgen_state_t *, struct scsi_pkt *);
145 static int sgen_handle_incomplete(sgen_state_t *, struct scsi_pkt *);
148 static int sgen_scsi_transport(struct scsi_pkt *);
745 struct scsi_pkt *rqpkt; in sgen_setup_sense()
1409 sgen_scsi_transport(struct scsi_pkt *pkt) in sgen_scsi_transport()
1444 struct scsi_pkt *pkt; in sgen_make_uscsi_cmd()
1533 struct scsi_pkt *pkt; in sgen_restart()
1570 sgen_callback(struct scsi_pkt *pkt) in sgen_callback()
1707 sgen_handle_incomplete(sgen_state_t *sg_state, struct scsi_pkt *pkt) in sgen_handle_incomplete()
[all …]
/titanic_44/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_scsa.h56 struct scsi_pkt *cmd_pkt; /* actual SCSI Packet */
78 size_t pmcs_set_resid(struct scsi_pkt *, size_t, uint32_t);
/titanic_44/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.h1360 struct scsi_pkt *cmd_pkt;
1394 struct scsi_pkt *pkt;
1595 static struct scsi_pkt *megasas_tran_init_pkt(struct scsi_address *, register
1596 struct scsi_pkt *, struct buf *, int, int, int, int,
1599 register struct scsi_pkt *);
1600 static int megasas_tran_abort(struct scsi_address *, struct scsi_pkt *);
1606 struct scsi_pkt *);
1607 static void megasas_tran_dmafree(struct scsi_address *, struct scsi_pkt *);
1608 static void megasas_tran_sync_pkt(struct scsi_address *, struct scsi_pkt *);
1646 static int megasas_dma_alloc(struct megasas_instance *, struct scsi_pkt *,
[all …]
/titanic_44/usr/src/uts/intel/io/amr/
H A Damr.c139 struct scsi_pkt *pkt, int lun);
142 static void amr_set_arq_data(struct scsi_pkt *pkt, uchar_t key);
172 static int amr_tran_start(struct scsi_address *ap, struct scsi_pkt *pkt);
177 static struct scsi_pkt *amr_tran_init_pkt(struct scsi_address *ap,
178 struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen,
180 static void amr_tran_destroy_pkt(struct scsi_address *ap, struct scsi_pkt *pkt);
181 static void amr_tran_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt);
182 static void amr_tran_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt);
715 struct scsi_pkt *pkt; in amr_periodic()
1494 amr_tran_start(struct scsi_address *ap, struct scsi_pkt *pkt) in amr_tran_start()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c292 struct scsi_pkt *rq_pkt = NULL; in scsi_slave_do_rqsense()
306 rq_pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, in scsi_slave_do_rqsense()
359 struct scsi_pkt *pkt; in scsi_slave()
367 pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, NULL, in scsi_slave()
605 scsi_test_ereport_post(struct scsi_pkt *pkt, enum scsi_test_ctxt ctxt, in scsi_test_ereport_post()
904 scsi_test(struct scsi_pkt *pkt, enum scsi_test_ctxt ctxt) in scsi_test()
1089 struct scsi_pkt *inq_pkt = NULL; in scsi_hba_probe_pi()
1090 struct scsi_pkt *rq_pkt = NULL; in scsi_hba_probe_pi()
1118 inq_pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, in scsi_hba_probe_pi()
1222 rq_pkt = scsi_init_pkt(ROUTE, (struct scsi_pkt *)NULL, in scsi_hba_probe_pi()
[all …]
/titanic_44/usr/src/uts/common/sys/scsi/targets/
H A Dses.h45 #define BP_PKT(bp) ((struct scsi_pkt *)(bp)->av_back)
51 #define Scsipktp struct scsi_pkt *
195 _NOTE(SCHEME_PROTECTS_DATA("unique per pkt", scsi_pkt buf uio scsi_cdb))

12345