Lines Matching refs:status

120 	u8 status;
190 // READ - step 5 : read I2C status register
212 status = (u8) data;
214 debug_polling("%s - Exit index[%x] status[%x]\n", __func__, index, status);
216 return (status);
302 // WRITE - step 5 : read I2C status register
507 u8 index, status;
550 // check controller status before reading
552 rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status);
557 pslot->ctrl->status = status;
558 pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index);
560 &status);
578 *pstatus = status;
601 wpg_bbar, &status);
603 pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index);
605 ctlr_ptr, wpg_bbar, &status);
645 u8 index, status;
694 // check controller status before writing
696 rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status);
708 &status);
711 if (CTLR_FINISHED(status) == HPC_CTLR_FINISHED_YES)
726 ctlr_ptr->status = status;
829 // make a copy of the old status
833 if ((myslot.status != pslot->status)
885 * Action: compare old and new slot status, process the change in status
899 u8 status;
907 if ((pslot->status & 0x01) != (poldslot->status & 0x01))
914 if ((pslot->status & 0x04) != (poldslot->status & 0x04))
919 if (((pslot->status & 0x08) != (poldslot->status & 0x08))
920 || ((pslot->status & 0x10) != (poldslot->status & 0x10)))
924 if ((pslot->status & 0x20) != (poldslot->status & 0x20))
926 if ((poldslot->status & 0x20) && (SLOT_CONNECT(poldslot->status) == HPC_SLOT_CONNECTED) && (SLOT_PRESENT(poldslot->status)))
933 if ((pslot->status & 0x80) != (poldslot->status & 0x80)) {
936 if (pslot->status & 0x80) {
937 if (SLOT_PWRGD(pslot->status)) {
941 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS, &status);
942 if (SLOT_PWRGD(status))
945 pslot->status &= ~HPC_SLOT_POWER;
949 else if ((SLOT_PWRGD(poldslot->status) == HPC_SLOT_PWRGD_GOOD)
950 && (SLOT_CONNECT(poldslot->status) == HPC_SLOT_CONNECTED) && (SLOT_PRESENT(poldslot->status))) {
976 * Action: compare old and new latch reg status, process the change
978 * Input: old and current latch register status
1092 debug_polling("hpc_wait_ctlr_notworking - Exit rc[%x] status[%x]\n", rc, *pstatus);