u16 slot_ctrl;
u16 slot_ctrl, slot_status;
static int hpc_power_on_slot(struct slot * slot){	struct php_ctlr_state_s *php_ctlr = slot->ctrl->hpc_ctlr_handle;	u16 slot_cmd;	u16 slot_ctrl;	int retval = 0;	DBG_ENTER_ROUTINE 	if (!php_ctlr) {		err("%s: Invalid HPC controller handle!\n", __FUNCTION__);		return -1;	}	dbg("%s: slot->hp_slot %x\n", __FUNCTION__, slot->hp_slot);	if (slot->hp_slot >= php_ctlr->num_slots) {		err("%s: Invalid HPC slot number!\n", __FUNCTION__);		return -1;	}	retval = hp_register_read_word(php_ctlr->pci_dev, SLOT_CTRL(slot->ctrl->cap_base), slot_ctrl);	if (retval) {		err("%s : hp_register_read_word SLOT_CTRL failed\n", __FUNCTION__);		return retval;	}	slot_cmd = (slot_ctrl & ~PWR_CTRL) | POWER_ON;	if (!pciehp_poll_mode)		slot_cmd = slot_cmd | HP_INTR_ENABLE; 	retval = pcie_write_cmd(slot, slot_cmd);	if (retval) {		err("%s: Write %x command failed!\n", __FUNCTION__, slot_cmd);		return -1;	}	dbg("%s: SLOT_CTRL %x write cmd %x\n",__FUNCTION__, SLOT_CTRL(slot->ctrl->cap_base), slot_cmd);	DBG_LEAVE_ROUTINE	return retval;}