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
509 u8 index, status;
552 // check controller status before reading
554 rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status);
559 pslot->ctrl->status = status;
560 pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index);
562 &status);
580 *pstatus = status;
603 wpg_bbar, &status);
605 pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index);
607 ctlr_ptr, wpg_bbar, &status);
647 u8 index, status;
696 // check controller status before writing
698 rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status);
710 &status);
713 if (CTLR_FINISHED(status) == HPC_CTLR_FINISHED_YES)
728 ctlr_ptr->status = status;
831 // make a copy of the old status
835 if ((myslot.status != pslot->status)
887 * Action: compare old and new slot status, process the change in status
901 u8 status;
909 if ((pslot->status & 0x01) != (poldslot->status & 0x01))
916 if ((pslot->status & 0x04) != (poldslot->status & 0x04))
921 if (((pslot->status & 0x08) != (poldslot->status & 0x08))
922 || ((pslot->status & 0x10) != (poldslot->status & 0x10)))
926 if ((pslot->status & 0x20) != (poldslot->status & 0x20))
928 if ((poldslot->status & 0x20) && (SLOT_CONNECT(poldslot->status) == HPC_SLOT_CONNECTED) && (SLOT_PRESENT(poldslot->status)))
935 if ((pslot->status & 0x80) != (poldslot->status & 0x80)) {
938 if (pslot->status & 0x80) {
939 if (SLOT_PWRGD(pslot->status)) {
943 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS, &status);
944 if (SLOT_PWRGD(status))
947 pslot->status &= ~HPC_SLOT_POWER;
951 else if ((SLOT_PWRGD(poldslot->status) == HPC_SLOT_PWRGD_GOOD)
952 && (SLOT_CONNECT(poldslot->status) == HPC_SLOT_CONNECTED) && (SLOT_PRESENT(poldslot->status))) {
978 * Action: compare old and new latch reg status, process the change
980 * Input: old and current latch register status
1094 debug_polling("hpc_wait_ctlr_notworking - Exit rc[%x] status[%x]\n", rc, *pstatus);