Lines Matching refs:wpg_bbar
539 void *wpg_bbar = NULL; in ibmphp_hpc_readslot() local
582 wpg_bbar = ioremap (ctlr_ptr->u.wpeg_ctlr.wpegbbar, WPG_I2C_IOREMAP_SIZE); in ibmphp_hpc_readslot()
587 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status); in ibmphp_hpc_readslot()
593 pslot->status = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
594 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, in ibmphp_hpc_readslot()
597 pslot->ext_status = ctrl_read (ctlr_ptr, wpg_bbar, index + WPG_1ST_EXTSLOT_INDEX); in ibmphp_hpc_readslot()
603 *pstatus = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
608 *pstatus = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
617 pslot->busstatus = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
620 *pstatus = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
623 *pstatus = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
627 *pstatus = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
636 wpg_bbar, &status); in ibmphp_hpc_readslot()
638 pslot->status = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
640 ctlr_ptr, wpg_bbar, &status); in ibmphp_hpc_readslot()
643 ctrl_read (ctlr_ptr, wpg_bbar, in ibmphp_hpc_readslot()
663 iounmap (wpg_bbar); in ibmphp_hpc_readslot()
678 void *wpg_bbar = NULL; in ibmphp_hpc_writeslot() local
722 wpg_bbar = ioremap (ctlr_ptr->u.wpeg_ctlr.wpegbbar, WPG_I2C_IOREMAP_SIZE); in ibmphp_hpc_writeslot()
725 ctlr_ptr->ctlr_id, (ulong) (ctlr_ptr->u.wpeg_ctlr.wpegbbar), (ulong) wpg_bbar, in ibmphp_hpc_writeslot()
731 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status); in ibmphp_hpc_writeslot()
734 ctrl_write (ctlr_ptr, wpg_bbar, index, cmd); in ibmphp_hpc_writeslot()
742 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, in ibmphp_hpc_writeslot()
767 iounmap (wpg_bbar); in ibmphp_hpc_writeslot()
1205 static int hpc_wait_ctlr_notworking (int timeout, struct controller *ctlr_ptr, void *wpg_bbar, in hpc_wait_ctlr_notworking() argument
1214 *pstatus = ctrl_read (ctlr_ptr, wpg_bbar, WPG_CTLR_INDEX); in hpc_wait_ctlr_notworking()