Lines Matching refs:temp_word

884 	u16 temp_word;  in pcie_isr()  local
929 rc = hp_register_read_word(php_ctlr->pci_dev, SLOT_CTRL, temp_word); in pcie_isr()
935 temp_word = (temp_word & ~HP_INTR_ENABLE & ~CMD_CMPL_INTR_ENABLE) | 0x00; in pcie_isr()
937 rc = hp_register_write_word(php_ctlr->pci_dev, SLOT_CTRL, temp_word); in pcie_isr()
950 temp_word = 0x1f; in pcie_isr()
951 rc = hp_register_write_word(php_ctlr->pci_dev, SLOT_STATUS, temp_word); in pcie_isr()
979 temp_word = 0x1F; in pcie_isr()
980 rc = hp_register_write_word(php_ctlr->pci_dev, SLOT_STATUS, temp_word); in pcie_isr()
988 rc = hp_register_read_word(php_ctlr->pci_dev, SLOT_CTRL, temp_word); in pcie_isr()
993 temp_word = (temp_word & ~HP_INTR_ENABLE) | HP_INTR_ENABLE; in pcie_isr()
995 rc = hp_register_write_word(php_ctlr->pci_dev, SLOT_CTRL, temp_word); in pcie_isr()
1008 temp_word = 0x1F; in pcie_isr()
1009 rc = hp_register_write_word(php_ctlr->pci_dev, SLOT_STATUS, temp_word); in pcie_isr()
1258 u16 temp_word; in pcie_init() local
1366 rc = hp_register_read_word(pdev, SLOT_CTRL, temp_word); in pcie_init()
1371 dbg("%s: SLOT_CTRL %x value read %x\n", __FUNCTION__, SLOT_CTRL, temp_word); in pcie_init()
1372 temp_word = (temp_word & ~HP_INTR_ENABLE & ~CMD_CMPL_INTR_ENABLE) | 0x00; in pcie_init()
1374 rc = hp_register_write_word(pdev, SLOT_CTRL, temp_word); in pcie_init()
1379 dbg("%s : Mask HPIE hp_register_write_word SLOT_CTRL %x\n", __FUNCTION__, temp_word); in pcie_init()
1388 temp_word = 0x1F; /* Clear all events */ in pcie_init()
1389 rc = hp_register_write_word(php_ctlr->pci_dev, SLOT_STATUS, temp_word); in pcie_init()
1394 dbg("%s: SLOT_STATUS offset %x writes slot_status %x\n", __FUNCTION__, SLOT_STATUS, temp_word); in pcie_init()
1410 rc = hp_register_read_word(pdev, SLOT_CTRL, temp_word); in pcie_init()
1415 dbg("%s: SLOT_CTRL %x value read %x\n", __FUNCTION__, SLOT_CTRL, temp_word); in pcie_init()
1420 temp_word = (temp_word & ~intr_enable) | intr_enable; in pcie_init()
1423 temp_word = (temp_word & ~HP_INTR_ENABLE) | 0x0; in pcie_init()
1425 temp_word = (temp_word & ~HP_INTR_ENABLE) | HP_INTR_ENABLE; in pcie_init()
1427 dbg("%s: temp_word %x\n", __FUNCTION__, temp_word); in pcie_init()
1430 rc = hp_register_write_word(pdev, SLOT_CTRL, temp_word); in pcie_init()
1435 dbg("%s : Unmask HPIE hp_register_write_word SLOT_CTRL with %x\n", __FUNCTION__, temp_word); in pcie_init()
1445 temp_word = 0x1F; /* Clear all events */ in pcie_init()
1446 rc = hp_register_write_word(php_ctlr->pci_dev, SLOT_STATUS, temp_word); in pcie_init()
1451 dbg("%s: SLOT_STATUS offset %x writes slot_status %x\n", __FUNCTION__, SLOT_STATUS, temp_word); in pcie_init()