Lines Matching refs:pstatus
536 int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus) in ibmphp_hpc_readslot() argument
544 debug_polling("%s - Entry pslot[%p] cmd[%x] pstatus[%p]\n", __func__, pslot, cmd, pstatus); in ibmphp_hpc_readslot()
547 || ((pstatus == NULL) && (cmd != READ_ALLSTAT) && (cmd != READ_BUSSTATUS))) { in ibmphp_hpc_readslot()
601 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
606 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
611 *pstatus = status; in ibmphp_hpc_readslot()
618 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
621 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
625 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
1102 u8 *pstatus) in hpc_wait_ctlr_notworking() argument
1110 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, WPG_CTLR_INDEX); in hpc_wait_ctlr_notworking()
1111 if (*pstatus == HPC_ERROR) { in hpc_wait_ctlr_notworking()
1115 if (CTLR_WORKING(*pstatus) == HPC_CTLR_WORKING_NO) in hpc_wait_ctlr_notworking()
1127 debug_polling("hpc_wait_ctlr_notworking - Exit rc[%x] status[%x]\n", rc, *pstatus); in hpc_wait_ctlr_notworking()