Lines Matching defs:port_sstatus
3838 uint32_t port_sstatus, port_task_file, port_cmd_status;
3916 port_sstatus = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
3922 if (SSTATUS_GET_IPM(port_sstatus) == SSTATUS_IPM_NODEV_NOPHYCOM ||
3923 SSTATUS_GET_DET(port_sstatus) == SSTATUS_DET_DEVPRE_NOPHYCOM ||
5153 uint32_t port_scontrol, port_sstatus, port_serror;
5301 port_sstatus = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
5304 if (SSTATUS_GET_IPM(port_sstatus) != SSTATUS_IPM_ACTIVE) {
5310 SSTATUS_SET_DET(port_sstatus, SSTATUS_DET_NODEV);
5322 } while (SSTATUS_GET_DET(port_sstatus) != SSTATUS_DET_DEVPRE_PHYCOM);
5326 "port_sstatus = 0x%x port %d",
5327 loop_count, port_sstatus, port);
5329 if ((SSTATUS_GET_IPM(port_sstatus) != SSTATUS_IPM_ACTIVE) ||
5330 (SSTATUS_GET_DET(port_sstatus) != SSTATUS_DET_DEVPRE_PHYCOM)) {
5468 uint32_t port_scontrol, port_sstatus, port_serror;
5525 READ_PMULT(addrp, SATA_PMULT_REG_SSTS, &port_sstatus, err);
5527 if (SSTATUS_GET_IPM(port_sstatus) != SSTATUS_IPM_ACTIVE) {
5533 SSTATUS_SET_DET(port_sstatus, SSTATUS_DET_NODEV);
5546 } while (SSTATUS_GET_DET(port_sstatus) != SSTATUS_DET_DEVPRE_PHYCOM);
5550 "port_sstatus = 0x%x port %d:%d",
5551 loop_count, port_sstatus, port, pmport);
5553 if ((SSTATUS_GET_IPM(port_sstatus) != SSTATUS_IPM_ACTIVE) ||
5554 (SSTATUS_GET_DET(port_sstatus) != SSTATUS_DET_DEVPRE_PHYCOM)) {
5616 "port_sstatus = 0x%x port %d:%d",
5617 loop_count, port_sstatus, port, pmport);
7362 uint32_t port_sstatus = 0; /* No dev present & PHY not established. */
7390 port_sstatus = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
7393 if (SSTATUS_GET_DET(port_sstatus) == SSTATUS_DET_DEVPRE_PHYCOM) {
8441 uint32_t port_sstatus;
8543 port_sstatus = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
8546 if (SSTATUS_GET_DET(port_sstatus) == SSTATUS_DET_DEVPRE_PHYCOM) {