Lines Matching refs:tran
78 scsi_hba_tran_t *tran, struct scsi_device *sd);
321 scsi_hba_tran_t *tran = NULL; in emul64_attach() local
334 tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip); in emul64_attach()
335 if (!tran) { in emul64_attach()
338 emul64 = TRAN2EMUL64(tran); in emul64_attach()
370 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP); in emul64_attach()
371 if (tran == NULL) { in emul64_attach()
376 emul64->emul64_tran = tran; in emul64_attach()
379 tran->tran_hba_private = emul64; in emul64_attach()
380 tran->tran_tgt_private = NULL; in emul64_attach()
381 tran->tran_tgt_init = emul64_tran_tgt_init; in emul64_attach()
382 tran->tran_tgt_probe = scsi_hba_probe; in emul64_attach()
383 tran->tran_tgt_free = NULL; in emul64_attach()
385 tran->tran_start = emul64_scsi_start; in emul64_attach()
386 tran->tran_abort = emul64_scsi_abort; in emul64_attach()
387 tran->tran_reset = emul64_scsi_reset; in emul64_attach()
388 tran->tran_getcap = emul64_scsi_getcap; in emul64_attach()
389 tran->tran_setcap = emul64_scsi_setcap; in emul64_attach()
390 tran->tran_init_pkt = emul64_scsi_init_pkt; in emul64_attach()
391 tran->tran_destroy_pkt = emul64_scsi_destroy_pkt; in emul64_attach()
392 tran->tran_dmafree = emul64_scsi_dmafree; in emul64_attach()
393 tran->tran_sync_pkt = emul64_scsi_sync_pkt; in emul64_attach()
394 tran->tran_reset_notify = emul64_scsi_reset_notify; in emul64_attach()
402 if (scsi_hba_attach_setup(dip, &tmp_dma_attr, tran, in emul64_attach()
451 if (tran) { in emul64_attach()
452 scsi_hba_tran_free(tran); in emul64_attach()
463 scsi_hba_tran_t *tran; in emul64_detach() local
468 if (!(tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip))) { in emul64_detach()
473 emul64 = TRAN2EMUL64(tran); in emul64_detach()
519 scsi_hba_tran_t *tran, struct scsi_device *sd) in emul64_tran_tgt_init() argument
532 emul64 = TRAN2EMUL64(tran); in emul64_tran_tgt_init()