Searched refs:gtgtp (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_waitq.h112 #define GTGTP2TARGET(gtgtp) ((gtgtp)->gt_tgt_private)
113 #define GTGTP2HBA(gtgtp) ((gtgtp)->gt_hba_private)
114 #define GTGTP2GDEVP(gtgtp) ((gtgtp)->gt_gdevp)
116 #define GTGT_INIT(gtgtp) L1EL_INIT(&(gtgtp)->gt_ilist)
119 #define GTGT_ATTACH(gtgtp, gdevp) { \
121 L1_add(&(gdevp)->gd_ilist, &(gtgtp)
[all...]
H A Dghd_waitq.c48 gtgt_t *gtgtp;
49 size_t size = sizeof (*gtgtp) + tgt_private_size;
53 gtgtp = kmem_zalloc(size, KM_SLEEP);
59 gtgtp->gt_tgt_private = (void *)(gtgtp + 1);
60 gtgtp->gt_size = size;
61 gtgtp->gt_hba_private = hba_private;
62 gtgtp->gt_target = target;
63 gtgtp->gt_lun = lun;
64 gtgtp
138 ghd_target_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, ccc_t *cccp, gtgt_t *gtgtp) argument
252 gtgt_t *gtgtp = GCMDP2GTGTP(gcmdp); local
[all...]
H A Dghd_gcmd.c64 ghd_gcmd_alloc(gtgt_t *gtgtp, argument
88 GHD_GCMD_INIT(gcmdp, (void *)(gwp + 1), gtgtp);
H A Dghd.h138 #define GHD_GCMD_INIT(gcmdp, cmdp, gtgtp) \
142 (gcmdp)->cmd_gtgtp = (gtgtp) \
195 int (*ccc_timeout_func)(void *handle, gcmd_t *cmdp, gtgt_t *gtgtp,
197 void (*ccc_hba_reset_notify_callback)(gtgt_t *gtgtp,
228 * gtgtp isn't needed except for debug.
232 gtgt_t *gtgtp; member in struct:ghd_reset_notify_list
269 int ghd_transport(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
272 int ghd_tran_abort(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
274 int ghd_tran_abort_lun(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
275 int ghd_tran_reset_target(ccc_t *cccp, gtgt_t *gtgtp, voi
[all...]
H A Dghd.c52 gcmd_t *poll_gcmdp, gtgt_t *gtgtp, void *intr_status);
254 (*cccp->ccc_hba_reset_notify_callback)(rnp->gtgtp,
443 gtgt_t *gtgtp,
525 if (GDEV_NACTIVE(gtgtp->gt_gdevp) == 0)
573 ghd_tran_abort(ccc_t *cccp, gcmd_t *gcmdp, gtgt_t *gtgtp, void *intr_status) argument
606 ghd_timer_newstate(cccp, gcmdp, gtgtp, action, GHD_TGTREQ);
610 gcmdp, gtgtp, intr_status)) {
633 ghd_tran_abort_lun(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status) argument
645 ghd_timer_newstate(cccp, NULL, gtgtp, GACTION_ABORT_DEV, GHD_TGTREQ);
649 NULL, gtgtp, intr_statu
439 ghd_poll(ccc_t *cccp, gpoll_t polltype, ulong_t polltime, gcmd_t *poll_gcmdp, gtgt_t *gtgtp, void *intr_status) argument
670 ghd_tran_reset_target(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status) argument
703 ghd_tran_reset_bus(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status) argument
730 ghd_transport(ccc_t *cccp, gcmd_t *gcmdp, gtgt_t *gtgtp, ulong_t timeout, int polled, void *intr_status) argument
835 ghd_reset_notify(ccc_t *cccp, gtgt_t *gtgtp, int flag, void (*callback)(caddr_t), caddr_t arg) argument
[all...]
H A Dghd_timer.c314 ghd_timer_newstate(ccc_t *cccp, gcmd_t *gcmdp, gtgt_t *gtgtp, argument
388 "hba 0x%p gcmdp 0x%p gtgtp 0x%p\n",
389 (void *)hba_handle, (void *)gcmdp, (void *)gtgtp));
416 msgp, gtgtp->gt_target, gtgtp->gt_lun);
421 gtgtp->gt_target, gtgtp->gt_lun);
449 if ((*func)(hba_handle, gcmdp, gtgtp, action, calltype)) {
474 * or gtgtp/cccp (if gsav not used). We need to mark other
482 * dev/bus as gtgtp o
[all...]
H A Dghd_scsa.c95 gtgt_t *gtgtp = ADDR2GTGTP(ap); local
122 GHD_GCMD_INIT(gcmdp, (void *)(gwp + 1), gtgtp);
135 if (!(*cccp->ccc_ccballoc)(gtgtp, gcmdp, cmdlen, statuslen, tgtlen,
/illumos-gate/usr/src/uts/sun/sys/dada/adapters/ghd/
H A Dghd_waitq.h108 #define GTGTP2TARGET(gtgtp) ((gtgtp)->gt_tgt_private)
109 #define GTGTP2HBA(gtgtp) ((gtgtp)->gt_hba_private)
111 #define GTGT_INIT(gtgtp) L1EL_INIT(&(gtgtp)->gt_ilist)
114 #define GTGT_ATTACH(gtgtp, gdevp) { \
116 L1_add(&(gdevp)->gd_ilist, &(gtgtp)->gt_ilist, (gtgtp)); \
121 #define GTGT_DEATTACH(gtgtp, gdev
[all...]
H A Dghd.h121 #define GHD_GCMD_INIT(gcmdp, cmdp, gtgtp) \
125 (gcmdp)->cmd_gtgtp = (gtgtp) \
180 int (*ccc_timeout_func)(void *handle, gcmd_t *cmdp, gtgt_t *gtgtp,
236 int ghd_transport(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
239 int ghd_tran_abort(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
241 int ghd_tran_abort_lun(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
242 int ghd_tran_reset_target(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
243 int ghd_tran_reset_bus(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
249 gcmd_t *ghd_gcmd_alloc(gtgt_t *gtgtp, int ccblen, int sleep);
267 void ghd_timer_newstate(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c329 gtgt_t *gtgtp; /* GHD's per-target-instance structure */ local
358 gtgtp = ghd_target_init(hba_dip, tgt_dip, &ata_ctlp->ac_ccc,
363 hba_tran->tran_tgt_private = gtgtp;
366 ata_tgtp = GTGTP2ATATGTP(gtgtp);
478 gtgt_t *gtgtp = ADDR2GTGTP(ap); local
479 ata_tgt_t *tgtp = GTGTP2ATATGTP(gtgtp);
519 gtgt_t *gtgtp; local
554 gtgtp = ADDR2GTGTP(ap);
560 ata_drvp, gtgtp)) {
609 gtgt_t *gtgtp local
814 atapi_ccballoc( gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen, int statuslen, int tgtlen, int ccblen) argument
[all...]
H A Data_disk.c118 static int ata_disk_update_fw(gtgt_t *gtgtp, ata_ctl_t *ata_ctlp,
391 * this is filled in with gtgtp by ata_disk_bus_ctl(INITCHILD)
808 gtgt_t *gtgtp; local
841 gtgtp = ghd_target_init(d, cdip, &ata_ctlp->ac_ccc,
847 ata_tgtp = GTGTP2ATATGTP(gtgtp);
853 /* gtgtp is the opaque arg to all my entry points */
854 ctlobjp->c_data = gtgtp;
871 gtgt_t *gtgtp; local
875 gtgtp = ctlobjp->c_data;
877 ghd_target_free(d, cdip, &GTGTP2ATAP(gtgtp)
927 gtgt_t *gtgtp = (gtgt_t *)ctl_data; local
958 gtgt_t *gtgtp = (gtgt_t *)ctl_data; local
1234 ata_disk_do_ioctl( int (*func)(ata_ctl_t *, ata_drv_t *, ata_pkt_t *), void *arg, ata_ctl_t *ata_ctlp, gtgt_t *gtgtp, cmpkt_t *pktp) argument
1280 gtgt_t *gtgtp = (gtgt_t *)ctl_data; local
1374 gtgt_t *gtgtp = (gtgt_t *)ctl_data; local
1478 gtgt_t *gtgtp = (gtgt_t *)ctl_data; local
1718 gtgt_t *gtgtp = (gtgt_t *)ctl_data; local
3208 ata_disk_update_fw(gtgt_t *gtgtp, ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp, caddr_t fwfile, uint_t size, uint8_t type, int flag) argument
[all...]
H A Datapi.h115 int atapi_ccballoc(gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen,
H A Data_common.h540 #define GTGTP2ATAP(gtgtp) ((ata_ctl_t *)GTGTP2HBA(gtgtp))
545 #define GTGTP2ATATGTP(gtgtp) ((ata_tgt_t *)GTGTP2TARGET(gtgtp))
550 #define GTGTP2ATADRVP(gtgtp) (GTGTP2ATATGTP(gtgtp)->at_drvp)
679 gtgt_t *gtgtp);
H A Data_common.c62 gtgt_t *gtgtp, gact_t action, int calltype);
907 gtgt_t *gtgtp,
3226 gtgt_t *gtgtp)
3232 if (!(gcmdp = ghd_gcmd_alloc(gtgtp, sizeof (*ata_pktp), TRUE))) {
904 ata_timeout_func( void *hba_handle, gcmd_t *gcmdp, gtgt_t *gtgtp, gact_t action, int calltype) argument
3221 ata_queue_cmd( int (*func)(ata_ctl_t *, ata_drv_t *, ata_pkt_t *), void *arg, ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp, gtgt_t *gtgtp) argument
/illumos-gate/usr/src/uts/sun/sys/dada/adapters/
H A Datapi.h108 int atapi_ccballoc(gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen,

Completed in 102 milliseconds