Lines Matching defs:status
124 int status = AE_ERROR;
132 status = acpica_get_handle(ctrl_p->hc_dip, &pcibus_obj);
133 if (status != AE_OK)
137 status = AcpiGetNextObject(ACPI_TYPE_DEVICE, pcibus_obj,
139 if (status != AE_OK) {
313 uint16_t status, control;
331 status = pciehpc_reg_get16(ctrl_p,
335 if ((ctrl_p->hc_has_mrl) && (status & PCIE_SLOTSTS_MRL_SENSOR_OPEN)) {
343 if (!(status & PCIE_SLOTSTS_PRESENCE_DETECTED)) {
385 uint16_t status;
404 status = pciehpc_reg_get16(ctrl_p,
408 if (!(status & PCIE_SLOTSTS_PRESENCE_DETECTED)) {
437 int status = AE_OK;
450 status = AcpiInstallNotifyHandler(acpi_p->slot_dev_obj,
452 if (status != AE_OK)
463 status = AcpiInstallNotifyHandler(acpi_p->bus_obj,
465 return (status);
470 return (status);
494 cmn_err(CE_WARN, "failed to get device status on slot %d",
576 int status = AE_OK;
583 status = AcpiEvaluateObject(acpi_p->slot_dev_obj, "_PS0", NULL, NULL);
586 if (status == AE_OK) {
589 cmn_err(CE_WARN, "failed to get device status "
601 slot_p->hs_phy_slot_num, dev_state, status);
605 return (status);
614 int status = AE_OK;
621 status = AcpiEvaluateObject(acpi_p->slot_dev_obj, "_EJ0", NULL, NULL);
624 if (status == AE_OK) {
627 cmn_err(CE_WARN, "failed to get device status "
639 slot_p->hs_phy_slot_num, dev_state, status);
643 return (status);
647 * Get the status info (as returned by _STA method) for the device.
665 * no _STA present; assume the device status is normal