Lines Matching defs:status

269 	uint16_t	status, control;
291 /* read the current slot status register */
292 status = pciehpc_reg_get16(ctrl_p,
296 if (!(status & PCIE_SLOTSTS_STATUS_EVENTS)) {
302 /* clear the interrupt status bits */
304 bus_p->bus_pcie_off + PCIE_SLOTSTS, status);
307 if (status & PCIE_SLOTSTS_COMMAND_COMPLETED) {
314 if (status & PCIE_SLOTSTS_ATTN_BTN_PRESSED) {
328 if (status & PCIE_SLOTSTS_PWR_FAULT_DETECTED) {
347 if (status & PCIE_SLOTSTS_MRL_SENSOR_CHANGED) {
354 if (status & PCIE_SLOTSTS_PRESENCE_CHANGED) {
359 if (status & PCIE_SLOTSTS_PRESENCE_DETECTED) {
409 (status & PCIE_SLOTSTS_DLL_STATE_CHANGED)) {
506 uint16_t control, status;
517 status = pciehpc_reg_get16(ctrl_p,
528 if (!(status & PCIE_SLOTSTS_PRESENCE_DETECTED)) {
737 /* clear any interrupt status bits */
878 /* clear any interrupt status bits */
921 /* clear any interrupt status bits */
1047 uint16_t status, control;
1065 status = pciehpc_reg_get16(ctrl_p,
1069 if ((ctrl_p->hc_has_mrl) && (status & PCIE_SLOTSTS_MRL_SENSOR_OPEN)) {
1077 if (!(status & PCIE_SLOTSTS_PRESENCE_DETECTED)) {
1111 status = pciehpc_reg_get16(ctrl_p,
1114 if (!(status & PCIE_LINKSTS_DLL_LINK_ACTIVE)) {
1121 /* check Link status */
1122 status = pciehpc_reg_get16(ctrl_p,
1125 if (!(status & PCIE_LINKSTS_DLL_LINK_ACTIVE))
1144 /* clear power fault status */
1145 status = pciehpc_reg_get16(ctrl_p,
1147 status |= PCIE_SLOTSTS_PWR_FAULT_DETECTED;
1149 status);
1160 status = pciehpc_reg_get16(ctrl_p,
1163 if (!(status & PCIE_SLOTSTS_EMI_LOCK_SET)) {
1203 uint16_t status, control;
1222 status = pciehpc_reg_get16(ctrl_p,
1226 if (!(status & PCIE_SLOTSTS_PRESENCE_DETECTED)) {
1269 status = pciehpc_reg_get16(ctrl_p,
1272 if (status & PCIE_SLOTSTS_EMI_LOCK_SET) {
1892 uint16_t status;
1932 /* poll for status completion */
1934 /* wait for 10 msec before checking the status */
1937 status = pciehpc_reg_get16(ctrl_p,
1940 if (status & PCIE_SLOTSTS_COMMAND_COMPLETED) {
1941 /* clear the status bits */
1943 bus_p->bus_pcie_off + PCIE_SLOTSTS, status);
1979 /* clear the status info in case interrupts are disabled? */
1980 status = pciehpc_reg_get16(ctrl_p,
1983 if (status & PCIE_SLOTSTS_COMMAND_COMPLETED) {
1984 /* clear the status bits */
1986 bus_p->bus_pcie_off + PCIE_SLOTSTS, status);