dbg("%s: \n", __FUNCTION__); 
DBG_ENTER_ROUTINE  
static int hpc_set_attention_status(struct slot *slot, u8 value){	struct php_ctlr_state_s *php_ctlr = slot->ctrl->hpc_ctlr_handle;	u16 slot_cmd = 0;	u16 slot_ctrl;	int rc = 0;	dbg("%s: \n", __FUNCTION__);	if (!php_ctlr) {		err("%s: Invalid HPC controller handle!\n", __FUNCTION__);		return -1;	}	if (slot->hp_slot >= php_ctlr->num_slots) {		err("%s: Invalid HPC slot number!\n", __FUNCTION__);		return -1;	}	rc = hp_register_read_word(php_ctlr->pci_dev, SLOT_CTRL(slot->ctrl->cap_base), slot_ctrl);	if (rc) {		err("%s : hp_register_read_word SLOT_CTRL failed\n", __FUNCTION__);		return rc;	}	dbg("%s : hp_register_read_word SLOT_CTRL %x\n", __FUNCTION__, slot_ctrl);	switch (value) {		case 0 :	/* turn off */			slot_cmd = (slot_ctrl & ~ATTN_LED_CTRL) | 0x00C0;			break;		case 1:		/* turn on */			slot_cmd = (slot_ctrl & ~ATTN_LED_CTRL) | 0x0040;			break;		case 2:		/* turn blink */			slot_cmd = (slot_ctrl & ~ATTN_LED_CTRL) | 0x0080;			break;		default:			return -1;	}	if (!pciehp_poll_mode)		slot_cmd = slot_cmd | HP_INTR_ENABLE; 	pcie_write_cmd(slot, slot_cmd);	dbg("%s: SLOT_CTRL %x write cmd %x\n", __FUNCTION__, SLOT_CTRL(slot->ctrl->cap_base), slot_cmd);		return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/1a9ed1bfe2fb17cc30227a12a3c1212128bb78b6/pciehp_hpc.c/clean/drivers/pci/hotplug/pciehp_hpc.c