/titanic_44/usr/src/uts/sun/sys/dada/adapters/ghd/ |
H A D | ghd.h | 112 } gcmd_t; typedef 176 int (*ccc_hba_start)(void *handle, gcmd_t *); 177 void (*ccc_hba_complete)(void *handle, gcmd_t *, int); 180 int (*ccc_timeout_func)(void *handle, gcmd_t *cmdp, gtgt_t *gtgtp, 213 void ghd_complete(ccc_t *cccp, gcmd_t *cmdp); 214 void ghd_async_complete(ccc_t *cccp, gcmd_t *cmdp); 215 void ghd_doneq_put(ccc_t *cccp, gcmd_t *cmdp); 219 int (*ccc_ccballoc)(gtgt_t *, gcmd_t *, int, int, 221 void (*ccc_ccbfree)(gcmd_t *), 222 void (*ccc_sg_func)(gcmd_t *, ddi_dma_cookie_t *, [all …]
|
/titanic_44/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd.h | 128 } gcmd_t; typedef 191 int (*ccc_hba_start)(void *handle, gcmd_t *); 192 void (*ccc_hba_complete)(void *handle, gcmd_t *, int); 195 int (*ccc_timeout_func)(void *handle, gcmd_t *cmdp, gtgt_t *gtgtp, 246 void ghd_complete(ccc_t *cccp, gcmd_t *cmdp); 247 void ghd_doneq_put_head(ccc_t *cccp, gcmd_t *cmdp); 248 void ghd_doneq_put_tail(ccc_t *cccp, gcmd_t *cmdp); 252 int (*ccc_ccballoc)(gtgt_t *, gcmd_t *, int, int, 254 void (*ccc_ccbfree)(gcmd_t *), 255 void (*ccc_sg_func)(gcmd_t *, ddi_dma_cookie_t *, [all …]
|
H A D | ghd_timer.c | 42 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() 314 ghd_timer_newstate(ccc_t *cccp, gcmd_t *gcmdp, gtgt_t *gtgtp, in ghd_timer_newstate() 321 int (*func)(void *, gcmd_t *, gtgt_t *, gact_t, int); in ghd_timer_newstate() 323 gcmd_t gsav; in ghd_timer_newstate() 325 gcmd_t *gcmdp_scan; in ghd_timer_newstate() 487 for (gcmdp_scan = (gcmd_t *)L2_next(&cccp->ccc_activel); in ghd_timer_newstate() 489 gcmdp_scan = (gcmd_t *)L2_next(&gcmdp_scan->cmd_timer_link)) { in ghd_timer_newstate() [all …]
|
H A D | ghd_dma.h | 41 int ghd_dmaget_attr(ccc_t *cccp, gcmd_t *gcmdp, long count, int sg_size, 44 int ghd_dma_buf_bind_attr(ccc_t *ccp, gcmd_t *gcmdp, struct buf *bp, 48 void ghd_dmafree_attr(gcmd_t *gcmdp); 50 uint_t ghd_dmaget_next_attr(ccc_t *cccp, gcmd_t *gcmdp, long max_transfer_cnt,
|
H A D | ghd.c | 45 static gcmd_t *ghd_doneq_get(ccc_t *cccp); 52 gcmd_t *poll_gcmdp, gtgt_t *gtgtp, void *intr_status); 96 ghd_complete(ccc_t *cccp, gcmd_t *gcmdp) in ghd_complete() 111 ghd_doneq_put_head(ccc_t *cccp, gcmd_t *gcmdp) in ghd_doneq_put_head() 124 ghd_doneq_put_tail(ccc_t *cccp, gcmd_t *gcmdp) in ghd_doneq_put_tail() 129 static gcmd_t * 133 gcmd_t *gcmdp; in ghd_doneq_get() 197 gcmd_t *gcmdp; in ghd_doneq_process() 294 int (*ccballoc)(gtgt_t *, gcmd_t *, int, int, int, int), in ghd_register() argument 295 void (*ccbfree)(gcmd_t *), in ghd_register() argument [all …]
|
H A D | ghd_gcmd.c | 42 gcmd_t gcmd; /* this must be first */ 63 gcmd_t * 69 gcmd_t *gcmdp; in ghd_gcmd_alloc() 99 ghd_gcmd_free(gcmd_t *gcmdp) in ghd_gcmd_free()
|
H A D | ghd_scsa.c | 54 #define GW_PADDED_LENGTH ROUNDUP(sizeof (gcmd_t)) 58 gcmd_t gw_gcmd; 71 gcmd_t *gcmdp = PKTP2GCMDP(pktp); in ghd_tran_sync_pkt() 97 gcmd_t *gcmdp; in ghd_pktalloc() 180 gcmd_t *gcmdp; in ghd_tran_init_pkt_attr()
|
H A D | ghd_dma.c | 31 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 D | ghd_waitq.c | 201 gcmd_t *gcmdp; in ghd_waitq_shuffle_up() 250 ghd_waitq_delete(ccc_t *cccp, gcmd_t *gcmdp) in ghd_waitq_delete() 326 gcmd_t *gcmdp; in ghd_waitq_process_and_mutex_hold() 385 gcmdp = (gcmd_t *)L2_remove_head(&GHBA_QHEAD(cccp)); in ghd_waitq_process_and_mutex_hold()
|
H A D | ghd_debug.c | 86 ghd_dump_gcmd(gcmd_t *P) in ghd_dump_gcmd()
|
/titanic_44/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | atapi.h | 115 int atapi_ccballoc(gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen, 117 void atapi_ccbfree(gcmd_t *gcmdp);
|
H A D | atapi.c | 816 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 D | ata_disk.h | 82 #define CPKT2GCMD(cpkt) ((gcmd_t *)(cpkt)->cp_ctl_private)
|
H A D | ata_common.h | 579 gcmd_t *ap_gcmdp; /* GHD command struct */ 704 void ata_pciide_dma_sg_func(gcmd_t *gcmdp, ddi_dma_cookie_t *dmackp,
|
H A D | ata_common.c | 59 static int ata_hba_start(void *handle, gcmd_t *gcmdp); 60 static void ata_hba_complete(void *handle, gcmd_t *gcmdp, int do_callback); 61 static int ata_timeout_func(void *hba_handle, gcmd_t *gcmdp, 885 gcmd_t *gcmdp, in ata_hba_complete() 906 gcmd_t *gcmdp, in ata_timeout_func() 2603 if (APKT2GCMD(ata_pktp) != (gcmd_t *)0) { in ata_ctlr_fsm() 3048 gcmd_t *gcmdp) in ata_hba_start() 3229 gcmd_t *gcmdp; in ata_queue_cmd()
|
H A D | ata_dma.c | 272 gcmd_t *gcmdp, in ata_pciide_dma_sg_func()
|
H A D | ata_disk.c | 1241 gcmd_t *gcmdp = CPKT2GCMD(pktp); in ata_disk_do_ioctl() 1284 gcmd_t *gcmdp; in ata_disk_pktalloc() 1376 gcmd_t *gcmdp = APKT2GCMD(ata_pktp); in ata_disk_memsetup() 1455 gcmd_t *gcmdp = CPKT2GCMD(pktp); in ata_disk_memfree() 1481 gcmd_t *gcmdp = APKT2GCMD(ata_pktp); in ata_disk_iosetup() 3213 gcmd_t *gcmdp = NULL; in ata_disk_update_fw()
|
/titanic_44/usr/src/uts/sun/sys/dada/adapters/ |
H A D | atapi.h | 108 int atapi_ccballoc(gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen, 110 void atapi_ccbfree(gcmd_t *gcmdp);
|