gtgt_t
gtgt_t *gtgtp)
gtgt_t *gtgtp, gact_t action, int calltype);
gtgt_t *gtgtp,
gtgt_t *gtgtp);
static int ata_disk_update_fw(gtgt_t *gtgtp, ata_ctl_t *ata_ctlp,
void *arg, ata_ctl_t *ata_ctlp, gtgt_t *gtgtp, cmpkt_t *pktp)
gtgt_t *gtgtp = (gtgt_t *)ctl_data;
gtgt_t *gtgtp = (gtgt_t *)ctl_data;
gtgt_t *gtgtp = (gtgt_t *)ctl_data;
gtgt_t *gtgtp = (gtgt_t *)ctl_data;
ata_disk_update_fw(gtgt_t *gtgtp, ata_ctl_t *ata_ctlp,
gtgt_t *gtgtp;
gtgt_t *gtgtp;
gtgt_t *gtgtp = (gtgt_t *)ctl_data;
gtgt_t *gtgtp = (gtgt_t *)ctl_data;
gtgt_t *gtgtp; /* GHD's per-target-instance structure */
gtgt_t *gtgtp = ADDR2GTGTP(ap);
gtgt_t *gtgtp;
gtgt_t *gtgtp = ADDR2GTGTP(ap);
gtgt_t *gtgtp,
int atapi_ccballoc(gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen,
int (*ccballoc)(gtgt_t *, gcmd_t *, int, int, int, int),
int (*timeout_func)(void *, gcmd_t *, gtgt_t *, gact_t, int),
void (*hba_reset_notify_callback)(gtgt_t *,
gtgt_t *gtgtp,
gcmd_t *poll_gcmdp, gtgt_t *gtgtp, void *intr_status);
ghd_tran_abort(ccc_t *cccp, gcmd_t *gcmdp, gtgt_t *gtgtp, void *intr_status)
ghd_tran_abort_lun(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status)
ghd_tran_reset_target(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status)
ghd_tran_reset_bus(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status)
gtgt_t *gtgtp,
gtgt_t *gtgtp,
gcmdp = ghd_gcmd_alloc((gtgt_t *)NULL, 0, TRUE);
gtgt_t *cmd_gtgtp; /* dev instance for this request */
int (*ccc_timeout_func)(void *handle, gcmd_t *cmdp, gtgt_t *gtgtp,
void (*ccc_hba_reset_notify_callback)(gtgt_t *gtgtp,
gtgt_t *gtgtp;
int (*ccc_ccballoc)(gtgt_t *, gcmd_t *, int, int,
int (*timeout_func)(void *, gcmd_t *, gtgt_t *,
void (*hba_reset_notify_callback)(gtgt_t *,
int ghd_transport(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
int ghd_tran_abort(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
int ghd_tran_abort_lun(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
int ghd_tran_reset_target(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
int ghd_tran_reset_bus(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
int ghd_reset_notify(ccc_t *cccp, gtgt_t *gtgtp, int flag,
gcmd_t *ghd_gcmd_alloc(gtgt_t *gtgtp, int ccblen, int sleep);
int (*timeout_func)(void *handle, gcmd_t *, gtgt_t *,
void ghd_timer_newstate(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
gtgt_t *ghd_target_init(dev_info_t *, dev_info_t *, ccc_t *, size_t,
void ghd_target_free(dev_info_t *, dev_info_t *, ccc_t *, gtgt_t *);
#define TRAN2GTGTP(tranp) ((gtgt_t *)((tranp)->tran_tgt_private))
ghd_gcmd_alloc(gtgt_t *gtgtp,
gtgt_t *gtgtp = ADDR2GTGTP(ap);
ghd_timer_newstate(ccc_t *cccp, gcmd_t *gcmdp, gtgt_t *gtgtp,
int (*func)(void *, gcmd_t *, gtgt_t *, gact_t, int);
int (*timeout_func)(void *, gcmd_t *, gtgt_t *, gact_t, int))
gtgt_t *gtgtp)
gtgt_t *gtgtp = GCMDP2GTGTP(gcmdp);
gtgt_t *
gtgt_t *gtgtp;
(gtgt_t *)((gdevp)->gd_ilist.l1_headp->le_datap)
int atapi_ccballoc(gtgt_t *gtgtp, gcmd_t *gcmdp, int cmdlen,
gtgt_t *cmd_gtgtp; /* dev instance for this request */
int (*ccc_timeout_func)(void *handle, gcmd_t *cmdp, gtgt_t *gtgtp,
int (*ccc_ccballoc)(gtgt_t *, gcmd_t *, int, int,
int (*timeout_func)(void *, gcmd_t *, gtgt_t *,
int ghd_transport(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
int ghd_tran_abort(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
int ghd_tran_abort_lun(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
int ghd_tran_reset_target(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
int ghd_tran_reset_bus(ccc_t *cccp, gtgt_t *gtgtp, void *intr_status);
gcmd_t *ghd_gcmd_alloc(gtgt_t *gtgtp, int ccblen, int sleep);
int (*timeout_func)(void *handle, gcmd_t *, gtgt_t *,
void ghd_timer_newstate(ccc_t *cccp, gcmd_t *cmdp, gtgt_t *gtgtp,
gtgt_t *ghd_target_init(dev_info_t *, dev_info_t *, ccc_t *, size_t,
void ghd_target_free(dev_info_t *, dev_info_t *, ccc_t *, gtgt_t *);
#define TRAN2GTGTP(tranp) ((gtgt_t *)((tranp)->tran_tgt_private))
(gtgt_t *)((gdevp)->gd_ilist.l1_headp->le_datap)