Lines Matching defs:sata_hba_tran
171 * Based on sata_hba_tran->qdepth and IDENTIFY data, the framework
1035 struct sata_hba_tran *sata_hba_tran;
1042 /* Allocate memory for the sata_hba_tran */
1043 sata_hba_tran = kmem_zalloc(sizeof (sata_hba_tran_t), KM_SLEEP);
1045 sata_hba_tran->sata_tran_hba_rev = SATA_TRAN_HBA_REV;
1046 sata_hba_tran->sata_tran_hba_dip = si_ctlp->sictl_devinfop;
1057 sata_hba_tran->sata_tran_hba_dma_attr = &buffer_dma_attr;
1059 sata_hba_tran->sata_tran_hba_num_cports = si_ctlp->sictl_num_ports;
1060 sata_hba_tran->sata_tran_hba_features_support = 0;
1061 sata_hba_tran->sata_tran_hba_qdepth = SI_NUM_SLOTS;
1063 sata_hba_tran->sata_tran_probe_port = si_tran_probe_port;
1064 sata_hba_tran->sata_tran_start = si_tran_start;
1065 sata_hba_tran->sata_tran_abort = si_tran_abort;
1066 sata_hba_tran->sata_tran_reset_dport = si_tran_reset_dport;
1067 sata_hba_tran->sata_tran_selftest = NULL;
1068 sata_hba_tran->sata_tran_hotplug_ops = &si_tran_hotplug_ops;
1069 sata_hba_tran->sata_tran_pwrmgt_ops = NULL;
1070 sata_hba_tran->sata_tran_ioctl = NULL;
1074 if (sata_hba_attach(si_ctlp->sictl_devinfop, sata_hba_tran, DDI_ATTACH)
1076 kmem_free((void *)sata_hba_tran, sizeof (sata_hba_tran_t));
1081 si_ctlp->sictl_sata_hba_tran = sata_hba_tran;
1101 /* Deallocate sata_hba_tran. */