Home
last modified time | relevance | path

Searched refs:bus_state (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_devctl.c172 uint_t bus_state; in pci_devctl_ioctl() local
201 if (ndi_get_bus_state(dip, &bus_state) == NDI_SUCCESS) in pci_devctl_ioctl()
202 if (bus_state == BUS_QUIESCED) in pci_devctl_ioctl()
209 if (ndi_get_bus_state(dip, &bus_state) == NDI_SUCCESS) in pci_devctl_ioctl()
210 if (bus_state == BUS_ACTIVE) in pci_devctl_ioctl()
H A Dsimba.c1123 uint_t bus_state; in simba_ioctl() local
1158 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in simba_ioctl()
1159 if (bus_state == BUS_QUIESCED) in simba_ioctl()
1165 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in simba_ioctl()
1166 if (bus_state == BUS_ACTIVE) in simba_ioctl()
H A Dpci_pci.c1650 uint_t bus_state; in ppb_ioctl() local
1694 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in ppb_ioctl()
1695 if (bus_state == BUS_QUIESCED) in ppb_ioctl()
1701 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in ppb_ioctl()
1702 if (bus_state == BUS_ACTIVE) in ppb_ioctl()
H A Ddb21554.c1458 uint_t bus_state; in db_ioctl() local
1554 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in db_ioctl()
1555 if (bus_state == BUS_QUIESCED) in db_ioctl()
1561 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in db_ioctl()
1562 if (bus_state == BUS_ACTIVE) in db_ioctl()
/titanic_41/usr/src/uts/sun4/io/
H A Debus.c1035 uint_t bus_state; in ebus_ioctl() local
1068 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in ebus_ioctl()
1069 if (bus_state == BUS_QUIESCED) in ebus_ioctl()
1075 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in ebus_ioctl()
1076 if (bus_state == BUS_ACTIVE) in ebus_ioctl()
/titanic_41/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_ctl.c70 cfga_stat_t bus_state; in bus_change_state() local
95 bus_state = bus_devctl_to_recep_state(state); in bus_change_state()
147 if (bus_state != prereq) { in bus_change_state()
257 cfga_stat_t bus_state; in dev_change_state() local
281 bus_state = bus_devctl_to_recep_state(state); in dev_change_state()
294 if (bus_state != CFGA_STAT_CONNECTED) { in dev_change_state()
H A Dcfga_list.c592 struct bus_state { struct
604 struct bus_state bstate = {0}; in do_stat_bus() argument
680 struct bus_state *bsp = (struct bus_state *)arg; in get_bus_state()
/titanic_41/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c1120 uint_t bus_state; in cardbus_ioctl() local
1192 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in cardbus_ioctl()
1193 if (bus_state == BUS_QUIESCED) in cardbus_ioctl()
1199 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in cardbus_ioctl()
1200 if (bus_state == BUS_ACTIVE) in cardbus_ioctl()
/titanic_41/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c133 uint_t bus_state; member
360 pcihp_p->bus_state = PCIHP_BUS_INITIALIZING; in pcihp_create_soft_state()
457 pcihp_p->bus_state = in pcihp_get_soft_state()
463 if (pcihp_p->bus_state == in pcihp_get_soft_state()
747 uint_t bus_state; in pcihp_ioctl() local
833 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in pcihp_ioctl()
834 if (bus_state == BUS_QUIESCED) in pcihp_ioctl()
840 if (ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) in pcihp_ioctl()
841 if (bus_state == BUS_ACTIVE) in pcihp_ioctl()
1867 pcihp_p->bus_state = PCIHP_BUS_CONFIGURED; in pcihp_init()
/titanic_41/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcicmu.c596 uint_t bus_state; in pcmu_ioctl() local
634 if (ndi_get_bus_state(dip, &bus_state) == NDI_SUCCESS) { in pcmu_ioctl()
635 if (bus_state == BUS_QUIESCED) { in pcmu_ioctl()
644 if (ndi_get_bus_state(dip, &bus_state) == NDI_SUCCESS) { in pcmu_ioctl()
645 if (bus_state == BUS_ACTIVE) { in pcmu_ioctl()
/titanic_41/usr/src/uts/common/io/pciex/
H A Dpcie.c373 uint_t bus_state; in pcie_ioctl() local
397 if (ndi_get_bus_state(dip, &bus_state) == NDI_SUCCESS) in pcie_ioctl()
398 if (bus_state == BUS_QUIESCED) in pcie_ioctl()
403 if (ndi_get_bus_state(dip, &bus_state) == NDI_SUCCESS) in pcie_ioctl()
404 if (bus_state == BUS_ACTIVE) in pcie_ioctl()
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c3092 uint_t bus_state; in scsi_hba_ioctl() local
3227 if ((ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) && in scsi_hba_ioctl()
3228 (bus_state == BUS_QUIESCED)) in scsi_hba_ioctl()
3239 if ((ndi_get_bus_state(self, &bus_state) == NDI_SUCCESS) && in scsi_hba_ioctl()
3240 (bus_state == BUS_ACTIVE)) in scsi_hba_ioctl()