/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
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_gcmd.c | 39 * Private wrapper for gcmd_t 42 gcmd_t gcmd; /* this must be first */ 60 * Allocate a gcmd_t wrapper and HBA private area 63 gcmd_t * 69 gcmd_t *gcmdp; 85 * the gcmd_t members and save 95 * Free the gcmd_t wrapper and HBA private area 99 ghd_gcmd_free(gcmd_t *gcmdp)
|
H A D | ghd.h | 128 } gcmd_t; typedef in typeref:struct:ghd_cmd 135 * Initialize the gcmd_t structure 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 *), [all...] |
H A D | ghd_timer.c | 42 static gcmd_t *ghd_timeout_get(ccc_t *cccp); 83 * Compare two gcmd_t's to see if they're for the same device (same gdev_t) 89 * Compare two gcmd_t's to see if they're for the same bus (same HBA inst) 176 gcmd_t *gcmdp; 181 gcmdp = (gcmd_t *)L2_next(&cccp->ccc_activel); 190 gcmdp = (gcmd_t *)L2_next(&gcmdp->cmd_timer_link); 223 * | | gcmd_t |-->| gcmd_t |--> ... 231 * | | gcmd_t | 314 ghd_timer_newstate(ccc_t *cccp, gcmd_t *gcmd [all...] |
H A D | ghd_scsa.c | 48 * Private wrapper for gcmd_t 54 #define GW_PADDED_LENGTH ROUNDUP(sizeof (gcmd_t)) 58 gcmd_t gw_gcmd; 71 gcmd_t *gcmdp = PKTP2GCMDP(pktp); 97 gcmd_t *gcmdp; 120 * of the gcmd_t members 125 * save the the scsi_pkt ptr in gcmd_t. 180 gcmd_t *gcmdp;
|
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) 111 ghd_doneq_put_head(ccc_t *cccp, gcmd_t *gcmdp) 124 ghd_doneq_put_tail(ccc_t *cccp, gcmd_t *gcmdp) 129 static gcmd_t * 133 gcmd_t *gcmdp; 197 gcmd_t *gcmdp; 294 int (*ccballoc)(gtgt_t *, gcmd_t *, int, int, int, int), 295 void (*ccbfree)(gcmd_t *), [all...] |
H A D | ghd_dma.c | 31 ghd_dmafree_attr(gcmd_t *gcmdp) 52 gcmd_t *gcmdp, 135 ghd_dmaget_next_attr(ccc_t *cccp, gcmd_t *gcmdp, long max_transfer_cnt, 197 gcmd_t *gcmdp,
|
H A D | ghd_waitq.c | 201 gcmd_t *gcmdp; 250 ghd_waitq_delete(ccc_t *cccp, gcmd_t *gcmdp) 326 gcmd_t *gcmdp; 385 gcmdp = (gcmd_t *)L2_remove_head(&GHBA_QHEAD(cccp));
|
H A D | ghd_debug.c | 86 ghd_dump_gcmd(gcmd_t *P)
|
/illumos-gate/usr/src/uts/sun/sys/dada/adapters/ghd/ |
H A D | ghd.h | 112 } gcmd_t; typedef in typeref:struct:ghd_cmd 118 * Initialize the gcmd_t structure 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 *), [all...] |
/illumos-gate/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);
|
/illumos-gate/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 | ata_disk.h | 82 #define CPKT2GCMD(cpkt) ((gcmd_t *)(cpkt)->cp_ctl_private)
|
H A D | atapi.c | 808 * Initializing the ata_pkt, and return the ptr to the gcmd_t to GHD. 816 gcmd_t *gcmdp, 828 /* set the back ptr from the ata_pkt to the gcmd_t */ 875 gcmd_t *gcmdp = PKTP2GCMDP(spktp); 897 gcmd_t *gcmdp) 917 gcmd_t *gcmdp = PKTP2GCMDP(spktp); 965 gcmd_t *gcmdp = APKT2GCMD(ata_pktp);
|
H A D | ata_dma.c | 272 gcmd_t *gcmdp,
|
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, 906 gcmd_t *gcmdp, 2603 if (APKT2GCMD(ata_pktp) != (gcmd_t *)0) { 3048 gcmd_t *gcmdp) 3229 gcmd_t *gcmdp; 3238 /* set the back ptr from the ata_pkt to the gcmd_t */
|
H A D | ata_common.h | 528 * (ata_pkt_t *) to (gcmd_t *) 533 * (gcmd_t *) to (ata_pkt_t *) 553 * (gcmd_t *) to (ata_tgt_t *) 558 * (gcmd_t *) to (ata_drv_t *) 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_disk.c | 1241 gcmd_t *gcmdp = CPKT2GCMD(pktp); 1284 gcmd_t *gcmdp; 1289 * Allocate and init the GHD gcmd_t structure and the 1376 gcmd_t *gcmdp = APKT2GCMD(ata_pktp); 1455 gcmd_t *gcmdp = CPKT2GCMD(pktp); 1481 gcmd_t *gcmdp = APKT2GCMD(ata_pktp); 3213 gcmd_t *gcmdp = NULL; 3288 /* set the back ptr from the ata_pkt to the gcmd_t */
|