Lines Matching refs:temp_byte
145 u8 temp_byte; in handle_presence_change() local
183 temp_byte = (temp_word >> hp_slot) & 0x01; in handle_presence_change()
184 temp_byte |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_presence_change()
186 if (temp_byte != func->presence_save) { in handle_presence_change()
1274 u8 temp_byte; in board_replaced() local
1303 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1305 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1424 u8 temp_byte; in board_added() local
1451 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1453 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
1632 u8 temp_byte; in remove_board() local
1681 temp_byte = readb(ctrl->hpc_reg + SLOT_SERR); in remove_board()
1682 temp_byte &= ~(0x01 << hp_slot); in remove_board()
1683 writeb(temp_byte, ctrl->hpc_reg + SLOT_SERR); in remove_board()
2271 u8 temp_byte, function, max_functions, stop_it; in configure_new_device() local
2282 …ci_bus_read_config_byte (ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_byte); in configure_new_device()
2288 if (temp_byte & 0x80) /* Multi-function device */ in configure_new_device()
2370 u8 temp_byte; in configure_new_function() local
2399 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &temp_byte); in configure_new_function()
2403 if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { in configure_new_function()
2419 temp_byte = bus_node->base; in configure_new_function()
2421 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SECONDARY_BUS, temp_byte); in configure_new_function()
2426 temp_byte = bus_node->base + bus_node->length - 1; in configure_new_function()
2428 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2433 temp_byte = 0x40; in configure_new_function()
2434 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte); in configure_new_function()
2437 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte); in configure_new_function()
2442 temp_byte = 0x08; in configure_new_function()
2443 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte); in configure_new_function()
2522 temp_byte = io_node->base >> 8; in configure_new_function()
2523 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2525 temp_byte = (io_node->base + io_node->length - 1) >> 8; in configure_new_function()
2526 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2615 temp_byte = temp_resources.bus_head->base - 1; in configure_new_function()
2618 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2638 temp_byte = (hold_IO_node->base) >> 8; in configure_new_function()
2639 rc = pci_bus_write_config_word (pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2657 temp_byte = (io_node->base - 1) >> 8; in configure_new_function()
2658 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2800 } else if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_NORMAL) { in configure_new_function()
2895 PCI_INTERRUPT_PIN, &temp_byte); in configure_new_function()
2900 if (temp_byte && resources->irqs && in configure_new_function()
2902 (0x01 << ((temp_byte + resources->irqs->barber_pole - 1) & 0x03)))) { in configure_new_function()
2904 IRQ = resources->irqs->interrupt[(temp_byte + in configure_new_function()
2921 rc = cpqhp_set_irq(func->bus, func->device, temp_byte, IRQ); in configure_new_function()
2927 resources->irqs->interrupt[(temp_byte + resources->irqs->barber_pole - 1) & 0x03] = IRQ; in configure_new_function()
2928 resources->irqs->valid_INT |= 0x01 << (temp_byte + resources->irqs->barber_pole - 1) & 0x03; in configure_new_function()
2932 temp_byte = 0x40; in configure_new_function()
2934 PCI_LATENCY_TIMER, temp_byte); in configure_new_function()
2937 temp_byte = 0x08; in configure_new_function()
2939 PCI_CACHE_LINE_SIZE, temp_byte); in configure_new_function()