Home
last modified time | relevance | path

Searched refs:temp_word (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/hotplug/
Dpciehp_hpc.c884 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()
[all …]
Dcpqphp_ctrl.c84 u16 temp_word; in handle_switch_change() local
109 temp_word = ctrl->ctrl_int_comp >> 16; in handle_switch_change()
110 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_switch_change()
111 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_switch_change()
162 u16 temp_word; in handle_presence_change() local
194 temp_word = ctrl->ctrl_int_comp >> 16; in handle_presence_change()
195 temp_byte = (temp_word >> hp_slot) & 0x01; in handle_presence_change()
196 temp_byte |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_presence_change()
226 temp_word = ctrl->ctrl_int_comp >> 16; in handle_presence_change()
227 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_presence_change()
[all …]
Dpciehp_ctrl.c1940 u16 temp_word; in configure_new_function() local
2120 temp_word = (u32)(mem_node->base >> 16); in configure_new_function()
2121 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_BASE, temp_word); in configure_new_function()
2124 temp_word = (u32)((mem_node->base + mem_node->length - 1) >> 16); in configure_new_function()
2125 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2127 temp_word = 0xFFFF; in configure_new_function()
2128 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_BASE, temp_word); in configure_new_function()
2130 temp_word = 0x0000; in configure_new_function()
2131 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2147 temp_word = (u32)(p_mem_node->base >> 16); in configure_new_function()
[all …]
Dshpchp_ctrl.c2385 u16 temp_word; in configure_new_function() local
2563 temp_word = (u32)(mem_node->base >> 16); in configure_new_function()
2564 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_BASE, temp_word); in configure_new_function()
2567 temp_word = (u32)((mem_node->base + mem_node->length - 1) >> 16); in configure_new_function()
2568 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2570 temp_word = 0xFFFF; in configure_new_function()
2571 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_BASE, temp_word); in configure_new_function()
2573 temp_word = 0x0000; in configure_new_function()
2574 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_MEMORY_LIMIT, temp_word); in configure_new_function()
2590 temp_word = (u32)(p_mem_node->base >> 16); in configure_new_function()
[all …]
Dpciehp_pci.c331 u16 temp_word; in pciehp_set_irq() local
346 temp_word = inb(0x4d0); in pciehp_set_irq()
347 temp_word |= inb(0x4d1) << 8; in pciehp_set_irq()
349 temp_word |= 0x01 << irq_num; in pciehp_set_irq()
352 outb((u8) (temp_word & 0xFF), 0x4d0); in pciehp_set_irq()
353 outb((u8) ((temp_word & 0xFF00) >> 8), 0x4d1); in pciehp_set_irq()
Dshpchp_pci.c335 u16 temp_word; in shpchp_set_irq() local
350 temp_word = inb(0x4d0); in shpchp_set_irq()
351 temp_word |= inb(0x4d1) << 8; in shpchp_set_irq()
353 temp_word |= 0x01 << irq_num; in shpchp_set_irq()
356 outb((u8) (temp_word & 0xFF), 0x4d0); in shpchp_set_irq()
357 outb((u8) ((temp_word & 0xFF00) >> 8), 0x4d1); in shpchp_set_irq()
Dcpqphp_core.c836 u16 temp_word; in cpqhpc_probe() local
1190 temp_word = readw(ctrl->hpc_reg + MISC); in cpqhpc_probe()
1191 temp_word |= 0x4006; in cpqhpc_probe()
1192 writew(temp_word, ctrl->hpc_reg + MISC); in cpqhpc_probe()
1228 temp_word = ctrl->ctrl_int_comp >> 16; in cpqhpc_probe()
1229 func->presence_save = (temp_word >> hp_slot) & 0x01; in cpqhpc_probe()
1230 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in cpqhpc_probe()
Dcpqphp_pci.c350 u16 temp_word; in cpqhp_set_irq() local
365 temp_word = inb(0x4d0); in cpqhp_set_irq()
366 temp_word |= inb(0x4d1) << 8; in cpqhp_set_irq()
368 temp_word |= 0x01 << irq_num; in cpqhp_set_irq()
371 outb((u8) (temp_word & 0xFF), 0x4d0); in cpqhp_set_irq()
372 outb((u8) ((temp_word & 0xFF00) >> 8), 0x4d1); in cpqhp_set_irq()
Dshpchp_hpc.c286 u16 temp_word; in shpc_write_cmd() local
315 temp_word = (t_slot << 8) | (cmd & 0xFF); in shpc_write_cmd()
321 writew(temp_word, php_ctlr->creg + CMD); in shpc_write_cmd()
322 dbg("%s : temp_word written %x\n", __FUNCTION__, temp_word); in shpc_write_cmd()