Home
last modified time | relevance | path

Searched refs:ahci_portp (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c1333 ahci_port_t *ahci_portp; in ahci_tran_probe_port() local
1345 ahci_portp = ahci_ctlp->ahcictl_ports[port]; in ahci_tran_probe_port()
1347 mutex_enter(&ahci_portp->ahciport_mutex); in ahci_tran_probe_port()
1357 (ahci_portp->ahciport_device_type != SATA_DTYPE_PMULT || in ahci_tran_probe_port()
1358 ahci_portp->ahciport_pmult_info == NULL)) { in ahci_tran_probe_port()
1363 mutex_exit(&ahci_portp->ahciport_mutex); in ahci_tran_probe_port()
1386 ahci_portp, &pmult_addr, sd); in ahci_tran_probe_port()
1391 mutex_exit(&ahci_portp->ahciport_mutex); in ahci_tran_probe_port()
1396 (void) ahci_probe_pmult(ahci_ctlp, ahci_portp, &addr); in ahci_tran_probe_port()
1399 if (ahci_probe_pmport(ahci_ctlp, ahci_portp, in ahci_tran_probe_port()
[all …]
/titanic_50/usr/src/uts/common/sys/sata/adapters/ahci/
H A Dahcivar.h329 #define AHCIPORT_NCQ_PMPORT(ahci_portp) \ argument
330 (ahci_portp->ahciport_pmult_info->ahcipmi_ncq_pmport)
500 #define ERR_RETRI_CMD_IN_PROGRESS(ahci_portp) \ argument
501 (ahci_portp->ahciport_flags & \
504 #define RDWR_PMULT_CMD_IN_PROGRESS(ahci_portp) \ argument
505 (ahci_portp->ahciport_flags & \
508 #define NON_NCQ_CMD_IN_PROGRESS(ahci_portp) \ argument
509 (!ERR_RETRI_CMD_IN_PROGRESS(ahci_portp) && \
510 ahci_portp->ahciport_pending_tags != 0 && \
511 ahci_portp->ahciport_pending_ncq_tags == 0)
[all …]
H A Dahcireg.h288 #define AHCI_NCQ_SLOT_MASK(ahci_portp) \ argument
289 ((ahci_portp->ahciport_max_ncq_tags == AHCI_PORT_MAX_CMD_SLOTS) ? \
290 0xffffffff : ((0x1 << ahci_portp->ahciport_max_ncq_tags) - 1))
291 #define AHCI_PMPORT_MASK(ahci_portp) \ argument
292 ((0x1 << ahci_portp->ahciport_pmult_info->ahcipmi_num_dev_ports) - 1)