Lines Matching defs:sata_hba_tran
1157 struct sata_hba_tran *sata_hba_tran;
1164 /* Allocate memory for the sata_hba_tran */
1165 sata_hba_tran = kmem_zalloc(sizeof (sata_hba_tran_t), KM_SLEEP);
1167 sata_hba_tran->sata_tran_hba_rev = SATA_TRAN_HBA_REV;
1168 sata_hba_tran->sata_tran_hba_dip = ahci_ctlp->ahcictl_dip;
1169 sata_hba_tran->sata_tran_hba_dma_attr =
1173 sata_hba_tran->sata_tran_hba_num_cports =
1177 sata_hba_tran->sata_tran_hba_features_support = SATA_CTLF_ATAPI;
1203 sata_hba_tran->sata_tran_hba_features_support |= SATA_CTLF_NCQ;
1211 sata_hba_tran->sata_tran_hba_features_support |=
1216 sata_hba_tran->sata_tran_hba_features_support |=
1222 sata_hba_tran->sata_tran_hba_qdepth = ahci_ctlp->ahcictl_num_cmd_slots;
1224 sata_hba_tran->sata_tran_probe_port = ahci_tran_probe_port;
1225 sata_hba_tran->sata_tran_start = ahci_tran_start;
1226 sata_hba_tran->sata_tran_abort = ahci_tran_abort;
1227 sata_hba_tran->sata_tran_reset_dport = ahci_tran_reset_dport;
1228 sata_hba_tran->sata_tran_hotplug_ops = &ahci_tran_hotplug_ops;
1230 sata_hba_tran->sata_tran_selftest = ahci_selftest;
1236 sata_hba_tran->sata_tran_pwrmgt_ops = NULL;
1237 sata_hba_tran->sata_tran_ioctl = NULL;
1239 ahci_ctlp->ahcictl_sata_hba_tran = sata_hba_tran;
1244 if (sata_hba_attach(ahci_ctlp->ahcictl_dip, sata_hba_tran, DDI_ATTACH)
1246 kmem_free((void *)sata_hba_tran, sizeof (sata_hba_tran_t));
1271 /* Deallocate sata_hba_tran. */