ctlr_ptr          118 drivers/pci/hotplug/ibmphp_hpc.c static u8 i2c_ctrl_read(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 index)
ctlr_ptr          133 drivers/pci/hotplug/ibmphp_hpc.c 	if (ctlr_ptr->ctlr_type == 0x02) {
ctlr_ptr          136 drivers/pci/hotplug/ibmphp_hpc.c 		ultemp = (unsigned long)ctlr_ptr->u.wpeg_ctlr.i2c_addr;
ctlr_ptr          142 drivers/pci/hotplug/ibmphp_hpc.c 	} else if (ctlr_ptr->ctlr_type == 0x04) {
ctlr_ptr          226 drivers/pci/hotplug/ibmphp_hpc.c static u8 i2c_ctrl_write(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 index, u8 cmd)
ctlr_ptr          244 drivers/pci/hotplug/ibmphp_hpc.c 	if (ctlr_ptr->ctlr_type == 0x02) {
ctlr_ptr          247 drivers/pci/hotplug/ibmphp_hpc.c 		ultemp = (unsigned long)ctlr_ptr->u.wpeg_ctlr.i2c_addr;
ctlr_ptr          253 drivers/pci/hotplug/ibmphp_hpc.c 	} else if (ctlr_ptr->ctlr_type == 0x04) {
ctlr_ptr          325 drivers/pci/hotplug/ibmphp_hpc.c static u8 isa_ctrl_read(struct controller *ctlr_ptr, u8 offset)
ctlr_ptr          331 drivers/pci/hotplug/ibmphp_hpc.c 	start_address = ctlr_ptr->u.isa_ctlr.io_start;
ctlr_ptr          332 drivers/pci/hotplug/ibmphp_hpc.c 	end_address = ctlr_ptr->u.isa_ctlr.io_end;
ctlr_ptr          340 drivers/pci/hotplug/ibmphp_hpc.c static void isa_ctrl_write(struct controller *ctlr_ptr, u8 offset, u8 data)
ctlr_ptr          345 drivers/pci/hotplug/ibmphp_hpc.c 	start_address = ctlr_ptr->u.isa_ctlr.io_start;
ctlr_ptr          508 drivers/pci/hotplug/ibmphp_hpc.c 	struct controller *ctlr_ptr;
ctlr_ptr          541 drivers/pci/hotplug/ibmphp_hpc.c 	ctlr_ptr = pslot->ctrl;
ctlr_ptr          548 drivers/pci/hotplug/ibmphp_hpc.c 	if ((ctlr_ptr->ctlr_type == 2) || (ctlr_ptr->ctlr_type == 4))
ctlr_ptr          549 drivers/pci/hotplug/ibmphp_hpc.c 		wpg_bbar = ioremap(ctlr_ptr->u.wpeg_ctlr.wpegbbar, WPG_I2C_IOREMAP_SIZE);
ctlr_ptr          554 drivers/pci/hotplug/ibmphp_hpc.c 	rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status);
ctlr_ptr          560 drivers/pci/hotplug/ibmphp_hpc.c 			pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index);
ctlr_ptr          561 drivers/pci/hotplug/ibmphp_hpc.c 			rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar,
ctlr_ptr          564 drivers/pci/hotplug/ibmphp_hpc.c 				pslot->ext_status = ctrl_read(ctlr_ptr, wpg_bbar, index + WPG_1ST_EXTSLOT_INDEX);
ctlr_ptr          570 drivers/pci/hotplug/ibmphp_hpc.c 			*pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index);
ctlr_ptr          575 drivers/pci/hotplug/ibmphp_hpc.c 			*pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index);
ctlr_ptr          584 drivers/pci/hotplug/ibmphp_hpc.c 			pslot->busstatus = ctrl_read(ctlr_ptr, wpg_bbar, index);
ctlr_ptr          587 drivers/pci/hotplug/ibmphp_hpc.c 			*pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index);
ctlr_ptr          590 drivers/pci/hotplug/ibmphp_hpc.c 			*pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index);
ctlr_ptr          594 drivers/pci/hotplug/ibmphp_hpc.c 			*pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index);
ctlr_ptr          602 drivers/pci/hotplug/ibmphp_hpc.c 				rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr,
ctlr_ptr          605 drivers/pci/hotplug/ibmphp_hpc.c 					pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index);
ctlr_ptr          607 drivers/pci/hotplug/ibmphp_hpc.c 									ctlr_ptr, wpg_bbar, &status);
ctlr_ptr          610 drivers/pci/hotplug/ibmphp_hpc.c 						    ctrl_read(ctlr_ptr, wpg_bbar,
ctlr_ptr          629 drivers/pci/hotplug/ibmphp_hpc.c 	if ((ctlr_ptr->ctlr_type == 2) || (ctlr_ptr->ctlr_type == 4))
ctlr_ptr          646 drivers/pci/hotplug/ibmphp_hpc.c 	struct controller *ctlr_ptr;
ctlr_ptr          681 drivers/pci/hotplug/ibmphp_hpc.c 	ctlr_ptr = pslot->ctrl;
ctlr_ptr          688 drivers/pci/hotplug/ibmphp_hpc.c 	if ((ctlr_ptr->ctlr_type == 2) || (ctlr_ptr->ctlr_type == 4)) {
ctlr_ptr          689 drivers/pci/hotplug/ibmphp_hpc.c 		wpg_bbar = ioremap(ctlr_ptr->u.wpeg_ctlr.wpegbbar, WPG_I2C_IOREMAP_SIZE);
ctlr_ptr          692 drivers/pci/hotplug/ibmphp_hpc.c 		ctlr_ptr->ctlr_id, (ulong) (ctlr_ptr->u.wpeg_ctlr.wpegbbar), (ulong) wpg_bbar,
ctlr_ptr          693 drivers/pci/hotplug/ibmphp_hpc.c 		ctlr_ptr->u.wpeg_ctlr.i2c_addr);
ctlr_ptr          698 drivers/pci/hotplug/ibmphp_hpc.c 	rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status);
ctlr_ptr          701 drivers/pci/hotplug/ibmphp_hpc.c 		ctrl_write(ctlr_ptr, wpg_bbar, index, cmd);
ctlr_ptr          709 drivers/pci/hotplug/ibmphp_hpc.c 			rc = hpc_wait_ctlr_notworking(HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar,
ctlr_ptr          728 drivers/pci/hotplug/ibmphp_hpc.c 		ctlr_ptr->status = status;
ctlr_ptr          733 drivers/pci/hotplug/ibmphp_hpc.c 	if ((ctlr_ptr->ctlr_type == 2) || (ctlr_ptr->ctlr_type == 4))
ctlr_ptr         1068 drivers/pci/hotplug/ibmphp_hpc.c static int hpc_wait_ctlr_notworking(int timeout, struct controller *ctlr_ptr, void __iomem *wpg_bbar,
ctlr_ptr         1077 drivers/pci/hotplug/ibmphp_hpc.c 		*pstatus = ctrl_read(ctlr_ptr, wpg_bbar, WPG_CTLR_INDEX);