Home
last modified time | relevance | path

Searched refs:gcmd_t (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/sun/sys/dada/adapters/ghd/
H A Dghd.h112 } gcmd_t; typedef
176 int (*ccc_hba_start)(void *handle, gcmd_t *);
213 void ghd_complete(ccc_t *cccp, gcmd_t *cmdp);
215 void ghd_doneq_put(ccc_t *cccp, gcmd_t *cmdp);
221 void (*ccc_ccbfree)(gcmd_t *),
224 int (*hba_start)(void *, gcmd_t *),
225 void (*hba_complete)(void *, gcmd_t *, int),
229 int (*timeout_func)(void *, gcmd_t *, gtgt_t *,
254 void ghd_gcmd_free(gcmd_t *gcmdp);
271 void ghd_timer_stop(ccc_t *cccp, gcmd_t *cmdp);
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd.h126 } gcmd_t; typedef
189 int (*ccc_hba_start)(void *handle, gcmd_t *);
244 void ghd_complete(ccc_t *cccp, gcmd_t *cmdp);
245 void ghd_doneq_put_head(ccc_t *cccp, gcmd_t *cmdp);
252 void (*ccc_ccbfree)(gcmd_t *),
255 int (*hba_start)(void *, gcmd_t *),
256 void (*hba_complete)(void *, gcmd_t *, int),
260 int (*timeout_func)(void *, gcmd_t *, gtgt_t *,
291 void ghd_gcmd_free(gcmd_t *gcmdp);
308 void ghd_timer_stop(ccc_t *cccp, gcmd_t *cmdp);
[all …]
H A Dghd_timer.c42 static gcmd_t *ghd_timeout_get(ccc_t *cccp);
176 gcmd_t *gcmdp; in ghd_timeout_loop()
181 gcmdp = (gcmd_t *)L2_next(&cccp->ccc_activel); in ghd_timeout_loop()
190 gcmdp = (gcmd_t *)L2_next(&gcmdp->cmd_timer_link); in ghd_timeout_loop()
323 gcmd_t gsav; in ghd_timer_newstate()
325 gcmd_t *gcmdp_scan; in ghd_timer_newstate()
598 gcmd_t *gcmdp; in ghd_timer_poll()
668 static gcmd_t *
671 gcmd_t *gcmdp; in ghd_timeout_get()
678 gcmdp = (gcmd_t *)L2_next(&cccp->ccc_activel); in ghd_timeout_get()
[all …]
H A Dghd.c45 static gcmd_t *ghd_doneq_get(ccc_t *cccp);
96 ghd_complete(ccc_t *cccp, gcmd_t *gcmdp) in ghd_complete()
129 static gcmd_t *
133 gcmd_t *gcmdp; in ghd_doneq_get()
197 gcmd_t *gcmdp; in ghd_doneq_process()
295 void (*ccbfree)(gcmd_t *), in ghd_register() argument
297 int (*hba_start)(void *, gcmd_t *), in ghd_register()
442 gcmd_t *poll_gcmdp, in ghd_poll()
446 gcmd_t *gcmdp; in ghd_poll()
731 gcmd_t *gcmdp, in ghd_transport()
[all …]
H A Dghd_dma.h39 int ghd_dmaget_attr(ccc_t *cccp, gcmd_t *gcmdp, long count, int sg_size,
42 int ghd_dma_buf_bind_attr(ccc_t *ccp, gcmd_t *gcmdp, struct buf *bp,
46 void ghd_dmafree_attr(gcmd_t *gcmdp);
48 uint_t ghd_dmaget_next_attr(ccc_t *cccp, gcmd_t *gcmdp, long max_transfer_cnt,
H A Dghd_gcmd.c40 gcmd_t gcmd; /* this must be first */
61 gcmd_t *
67 gcmd_t *gcmdp; in ghd_gcmd_alloc()
97 ghd_gcmd_free(gcmd_t *gcmdp) in ghd_gcmd_free()
H A Dghd_scsa.c52 #define GW_PADDED_LENGTH ROUNDUP(sizeof (gcmd_t))
56 gcmd_t gw_gcmd;
69 gcmd_t *gcmdp = PKTP2GCMDP(pktp); in ghd_tran_sync_pkt()
95 gcmd_t *gcmdp; in ghd_pktalloc()
178 gcmd_t *gcmdp; in ghd_tran_init_pkt_attr()
H A Dghd_dma.c31 ghd_dmafree_attr(gcmd_t *gcmdp) in ghd_dmafree_attr()
52 gcmd_t *gcmdp, in ghd_dma_buf_bind_attr()
135 ghd_dmaget_next_attr(ccc_t *cccp, gcmd_t *gcmdp, long max_transfer_cnt, in ghd_dmaget_next_attr()
197 gcmd_t *gcmdp, in ghd_dmaget_attr()
H A Dghd_waitq.c199 gcmd_t *gcmdp; in ghd_waitq_shuffle_up()
248 ghd_waitq_delete(ccc_t *cccp, gcmd_t *gcmdp) in ghd_waitq_delete()
324 gcmd_t *gcmdp; in ghd_waitq_process_and_mutex_hold()
383 gcmdp = (gcmd_t *)L2_remove_head(&GHBA_QHEAD(cccp)); in ghd_waitq_process_and_mutex_hold()
H A Dghd_debug.c84 ghd_dump_gcmd(gcmd_t *P) in ghd_dump_gcmd()
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.h113 int atapi_ccballoc(gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen,
115 void atapi_ccbfree(gcmd_t *gcmdp);
H A Datapi.c816 gcmd_t *gcmdp, in atapi_ccballoc()
875 gcmd_t *gcmdp = PKTP2GCMDP(spktp); in atapi_tran_destroy_pkt()
897 gcmd_t *gcmdp) in atapi_ccbfree()
917 gcmd_t *gcmdp = PKTP2GCMDP(spktp); in atapi_tran_dmafree()
965 gcmd_t *gcmdp = APKT2GCMD(ata_pktp); in atapi_tran_start()
H A Data_disk.h80 #define CPKT2GCMD(cpkt) ((gcmd_t *)(cpkt)->cp_ctl_private)
H A Data_common.h579 gcmd_t *ap_gcmdp; /* GHD command struct */
704 void ata_pciide_dma_sg_func(gcmd_t *gcmdp, ddi_dma_cookie_t *dmackp,
H A Data_common.c61 static int ata_hba_start(void *handle, gcmd_t *gcmdp);
62 static void ata_hba_complete(void *handle, gcmd_t *gcmdp, int do_callback);
63 static int ata_timeout_func(void *hba_handle, gcmd_t *gcmdp,
887 gcmd_t *gcmdp, in ata_hba_complete()
908 gcmd_t *gcmdp, in ata_timeout_func()
2605 if (APKT2GCMD(ata_pktp) != (gcmd_t *)0) { in ata_ctlr_fsm()
3050 gcmd_t *gcmdp) in ata_hba_start()
3231 gcmd_t *gcmdp; in ata_queue_cmd()
H A Data_dma.c270 gcmd_t *gcmdp, in ata_pciide_dma_sg_func()
H A Data_disk.c1236 gcmd_t *gcmdp = CPKT2GCMD(pktp); in ata_disk_do_ioctl()
1279 gcmd_t *gcmdp; in ata_disk_pktalloc()
1371 gcmd_t *gcmdp = APKT2GCMD(ata_pktp); in ata_disk_memsetup()
1450 gcmd_t *gcmdp = CPKT2GCMD(pktp); in ata_disk_memfree()
1476 gcmd_t *gcmdp = APKT2GCMD(ata_pktp); in ata_disk_iosetup()
3152 gcmd_t *gcmdp = NULL; in ata_disk_update_fw()
/illumos-gate/usr/src/uts/sun/sys/dada/adapters/
H A Datapi.h108 int atapi_ccballoc(gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen,
110 void atapi_ccbfree(gcmd_t *gcmdp);