/linux-2.4.37.9/drivers/hotplug/ |
D | cpqphp_ctrl.c | 161 u8 temp_byte; in handle_presence_change() local 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() 198 if (temp_byte != func->presence_save) { in handle_presence_change() 1181 u8 temp_byte; in board_replaced() local 1213 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced() 1215 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced() 1387 u8 temp_byte; in board_added() local 1413 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added() 1415 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added() [all …]
|
D | shpchprm_nonacpi.c | 343 u8 temp_byte; in shpchprm_set_hpp() local 351 temp_byte = 0x40; /* hard coded value for LT */ in shpchprm_set_hpp() 354 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte); in shpchprm_set_hpp() 363 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte); in shpchprm_set_hpp() 371 temp_byte = 0x08; /* hard coded value for CLS */ in shpchprm_set_hpp() 373 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte); in shpchprm_set_hpp()
|
D | shpchprm_legacy.c | 352 u8 temp_byte; in shpchprm_set_hpp() local 360 temp_byte = 0x40; /* Hard coded value for LT */ in shpchprm_set_hpp() 363 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte); in shpchprm_set_hpp() 371 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte); in shpchprm_set_hpp() 378 temp_byte = 0x08; /* hard coded value for CLS */ in shpchprm_set_hpp() 379 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte); in shpchprm_set_hpp()
|
D | pciehp_ctrl.c | 1830 u8 temp_byte, function, max_functions, stop_it; in configure_new_device() local 1846 rc = pci_bus_read_config_byte(pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_byte); in configure_new_device() 1852 if (temp_byte & 0x80) /* Multi-function device */ in configure_new_device() 1937 u8 temp_byte; in configure_new_function() local 1965 rc = pci_bus_read_config_byte (pci_bus, devfn, PCI_HEADER_TYPE, &temp_byte); in configure_new_function() 1969 func->bus, func->device, func->function, temp_byte); in configure_new_function() 1971 if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { /* PCI-PCI Bridge */ in configure_new_function() 1989 dbg("set Secondary bus = 0x%x\n", temp_byte); in configure_new_function() 1992 temp_byte = (u8)bus_node->base; in configure_new_function() 1993 dbg("set Secondary bus = 0x%x\n", temp_byte); in configure_new_function() [all …]
|
D | shpchp_ctrl.c | 2276 u8 temp_byte, function, max_functions, stop_it; in configure_new_device() local 2291 rc = pci_bus_read_config_byte(pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_byte); in configure_new_device() 2297 if (temp_byte & 0x80) /* Multi-function device */ in configure_new_device() 2382 u8 temp_byte; in configure_new_function() local 2413 rc = pci_bus_read_config_byte (pci_bus, devfn, PCI_HEADER_TYPE, &temp_byte); in configure_new_function() 2417 if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { /* PCI-PCI Bridge */ in configure_new_function() 2435 temp_byte = (u8)bus_node->base; in configure_new_function() 2436 dbg("set Secondary bus = 0x%x\n", temp_byte); in configure_new_function() 2437 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SECONDARY_BUS, temp_byte); in configure_new_function() 2442 temp_byte = (u8)(bus_node->base + bus_node->length - 1); in configure_new_function() [all …]
|
D | pciehprm_nonacpi.c | 408 u8 temp_byte; in pciehprm_set_hpp() local 416 temp_byte = 0x40; /* Hard coded value for LT */ in pciehprm_set_hpp() 419 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte); in pciehprm_set_hpp() 428 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte); in pciehprm_set_hpp() 437 temp_byte = 0x08; /* hard coded value for CLS */ in pciehprm_set_hpp() 439 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte); in pciehprm_set_hpp()
|
D | pciehp_pci.c | 670 u8 temp_byte; in pciehp_save_used_resources() local 718 pci_bus_read_config_byte (pci_bus, devfn, PCI_SUBORDINATE_BUS, &temp_byte); in pciehp_save_used_resources() 725 bus_node->length = (ulong)(temp_byte - secondary_bus + 1); in pciehp_save_used_resources() 731 pci_bus_read_config_byte (pci_bus, devfn, PCI_IO_BASE, &temp_byte); in pciehp_save_used_resources() 732 base = temp_byte; in pciehp_save_used_resources() 733 pci_bus_read_config_byte (pci_bus, devfn, PCI_IO_LIMIT, &temp_byte); in pciehp_save_used_resources() 734 length = temp_byte; in pciehp_save_used_resources()
|
D | shpchp_pci.c | 662 u8 temp_byte; in shpchp_save_used_resources() local 710 pci_bus_read_config_byte (pci_bus, devfn, PCI_SUBORDINATE_BUS, &temp_byte); in shpchp_save_used_resources() 717 bus_node->length = (ulong)(temp_byte - secondary_bus + 1); in shpchp_save_used_resources() 723 pci_bus_read_config_byte (pci_bus, devfn, PCI_IO_BASE, &temp_byte); in shpchp_save_used_resources() 724 base = temp_byte; in shpchp_save_used_resources() 725 pci_bus_read_config_byte (pci_bus, devfn, PCI_IO_LIMIT, &temp_byte); in shpchp_save_used_resources() 726 length = temp_byte; in shpchp_save_used_resources()
|
D | shpchp_hpc.c | 1062 u8 temp_byte; in shpc_isr() local 1141 temp_byte = (temp_dword >> 16) & 0xFF; in shpc_isr() 1143 __FUNCTION__, temp_byte); in shpc_isr() 1144 if ((php_ctlr->switch_change_callback) && (temp_byte & 0x08)) in shpc_isr() 1147 if ((php_ctlr->attention_button_callback) && (temp_byte & 0x04)) in shpc_isr() 1150 if ((php_ctlr->presence_change_callback) && (temp_byte & 0x01)) in shpc_isr() 1153 if ((php_ctlr->power_fault_callback) && (temp_byte & 0x12)) in shpc_isr()
|
D | cpqphp_nvram.c | 204 u8 temp_byte = 0xFF; in load_HRT() local 223 rc = access_EV(WRITE_EV, "CQTHPS", &temp_byte, &temp_dword); in load_HRT()
|
D | cpqphp_pci.c | 884 u8 temp_byte; in cpqhp_save_used_resources() local 920 …te_nodev (ctrl->pci_ops, func->bus, func->device, func->function, PCI_SUBORDINATE_BUS, &temp_byte); in cpqhp_save_used_resources() 927 bus_node->length = temp_byte - secondary_bus + 1; in cpqhp_save_used_resources()
|