Lines Matching defs:port_cmd_status
3756 uint32_t port_cmd_status;
3759 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
3763 ASSERT(!(port_cmd_status & AHCI_CMD_STATUS_ST));
3765 if (!(port_cmd_status & AHCI_CMD_STATUS_PMA)) {
3769 port_cmd_status|AHCI_CMD_STATUS_PMA);
3798 uint32_t port_cmd_status;
3801 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
3804 if (port_cmd_status & AHCI_CMD_STATUS_PMA) {
3808 (port_cmd_status & (~AHCI_CMD_STATUS_PMA)));
3838 uint32_t port_sstatus, port_task_file, port_cmd_status;
3888 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
3898 if (port_cmd_status &
4897 uint32_t port_cmd_status, port_cmd_issue, port_task_file;
4935 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
4939 port_cmd_status|AHCI_CMD_STATUS_CLO);
4954 port_cmd_status =
4957 } while (port_cmd_status & AHCI_CMD_STATUS_CLO);
5152 uint32_t cap_status, port_cmd_status;
5175 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
5183 if (!(port_cmd_status & AHCI_CMD_STATUS_SUD)) {
5219 if (!(port_cmd_status & AHCI_CMD_STATUS_SUD))
5235 port_cmd_status|AHCI_CMD_STATUS_FRE);
5262 port_cmd_status &= ~AHCI_CMD_STATUS_SUD;
5265 port_cmd_status);
5271 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
5273 port_cmd_status |= AHCI_CMD_STATUS_SUD;
5276 port_cmd_status);
5281 port_cmd_status|AHCI_CMD_STATUS_FRE);
5469 uint32_t port_cmd_status, port_intr_status;
5487 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
5489 ASSERT(port_cmd_status & AHCI_CMD_STATUS_FRE);
5490 if (!(port_cmd_status & AHCI_CMD_STATUS_FRE))
5915 uint32_t port_scontrol, port_cmd_status;
5923 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
5925 port_cmd_status &= ~AHCI_CMD_STATUS_ALPE;
5927 (uint32_t *)AHCI_PORT_PxCMD(ahci_ctlp, port), port_cmd_status);
5952 uint32_t port_cmd_status;
5970 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
5973 if (!(port_cmd_status & AHCI_CMD_STATUS_FRE)) {
5974 port_cmd_status |= AHCI_CMD_STATUS_FRE;
5977 port_cmd_status);
5980 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
5983 port_cmd_status |= AHCI_CMD_STATUS_ST;
5987 port_cmd_status);
7296 uint32_t cap_status, port_cmd_status;
7306 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
7310 !(port_cmd_status & AHCI_CMD_STATUS_MPSP)) {
7314 "port_cmd_status = 0x%x", cap_status, port_cmd_status);
7321 if (port_cmd_status & AHCI_CMD_STATUS_MPSS) {
7324 "port %d, port_cmd_status = 0x%x",
7325 port, port_cmd_status);
7329 "port %d, port_cmd_status = 0x%x",
7330 port, port_cmd_status);
7553 uint32_t port_cmd_status;
7605 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
7608 current_slot = (port_cmd_status & AHCI_CMD_STATUS_CCS) >>
7776 uint32_t port_cmd_status;
7825 port_cmd_status = ddi_get32(
7828 failed_slot = (port_cmd_status & AHCI_CMD_STATUS_CCS) >>
7924 uint32_t port_cmd_status;
7932 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
7934 if (!(port_cmd_status & AHCI_CMD_STATUS_CPD)) {
7951 if (port_cmd_status & AHCI_CMD_STATUS_CPS) {
8350 uint32_t port_cmd_status;
8356 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
8359 port_cmd_status &= ~AHCI_CMD_STATUS_ST;
8361 (uint32_t *)AHCI_PORT_PxCMD(ahci_ctlp, port), port_cmd_status);
8366 port_cmd_status =
8373 "port_cmd_status = 0x%x", port,
8374 port_cmd_status);
8384 } while (port_cmd_status & AHCI_CMD_STATUS_CR);
8388 if (port_cmd_status & AHCI_CMD_STATUS_CR) {
8392 "port_cmd_status = 0x%x", loop_count, port_cmd_status);
8398 "port_cmd_status = 0x%x", loop_count, port_cmd_status);
9302 uint32_t port_cmd_status;
9341 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
9343 failed_slot = (port_cmd_status & AHCI_CMD_STATUS_CCS) >>
9748 uint32_t port_cmd_status;
9782 port_cmd_status = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle,
9791 (port_cmd_status & AHCI_CMD_STATUS_CCS) >>
9799 ~port_cmd_status &