dbg("%s : hp_register_read_word SLOT_STATUS %x\n", __FUNCTION__, slot_status); 
static int pcie_write_cmd(struct slot *slot, u16 cmd){	struct php_ctlr_state_s *php_ctlr = slot->ctrl->hpc_ctlr_handle;	int retval = 0;	u16 slot_status;	DBG_ENTER_ROUTINE 		dbg("%s : Enter\n", __FUNCTION__);	if (!php_ctlr) {		err("%s: Invalid HPC controller handle!\n", __FUNCTION__);		return -1;	}	retval = hp_register_read_word(php_ctlr->pci_dev, SLOT_STATUS(slot->ctrl->cap_base), slot_status);	if (retval) {			err("%s : hp_register_read_word SLOT_STATUS failed\n", __FUNCTION__);			return retval;		}	dbg("%s : hp_register_read_word SLOT_STATUS %x\n", __FUNCTION__, slot_status);		if ((slot_status & CMD_COMPLETED) == CMD_COMPLETED ) { 		/* After 1 sec and CMD_COMPLETED still not set, just proceed forward to issue 		   the next command according to spec.  Just print out the error message */		dbg("%s : CMD_COMPLETED not clear after 1 sec.\n", __FUNCTION__);	}	dbg("%s: Before hp_register_write_word SLOT_CTRL %x\n", __FUNCTION__, cmd);	retval = hp_register_write_word(php_ctlr->pci_dev, SLOT_CTRL(slot->ctrl->cap_base), cmd | CMD_CMPL_INTR_ENABLE);	if (retval) {		err("%s : hp_register_write_word SLOT_CTRL failed\n", __FUNCTION__);		return retval;	}	dbg("%s : hp_register_write_word SLOT_CTRL %x\n", __FUNCTION__, cmd | CMD_CMPL_INTR_ENABLE);	dbg("%s : Exit\n", __FUNCTION__);	DBG_LEAVE_ROUTINE 	return retval;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/1a9ed1bfe2fb17cc30227a12a3c1212128bb78b6/pciehp_hpc.c/clean/drivers/pci/hotplug/pciehp_hpc.c