Lines Matching refs:temp_byte

131 	u8 temp_byte;  in handle_presence_change()  local
169 temp_byte = (temp_word >> hp_slot) & 0x01; in handle_presence_change()
170 temp_byte |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_presence_change()
172 if (temp_byte != func->presence_save) { in handle_presence_change()
1258 u8 temp_byte; in board_replaced() local
1287 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1289 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1408 u8 temp_byte; in board_added() local
1435 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1437 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
1616 u8 temp_byte; in remove_board() local
1665 temp_byte = readb(ctrl->hpc_reg + SLOT_SERR); in remove_board()
1666 temp_byte &= ~(0x01 << hp_slot); in remove_board()
1667 writeb(temp_byte, ctrl->hpc_reg + SLOT_SERR); in remove_board()
2225 u8 temp_byte, function, max_functions, stop_it; in configure_new_device() local
2236 …pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_byte); in configure_new_device()
2242 if (temp_byte & 0x80) /* Multi-function device */ in configure_new_device()
2324 u8 temp_byte; in configure_new_function() local
2353 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &temp_byte); in configure_new_function()
2357 if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { in configure_new_function()
2373 temp_byte = bus_node->base; in configure_new_function()
2375 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SECONDARY_BUS, temp_byte); in configure_new_function()
2380 temp_byte = bus_node->base + bus_node->length - 1; in configure_new_function()
2382 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2387 temp_byte = 0x40; in configure_new_function()
2388 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte); in configure_new_function()
2391 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte); in configure_new_function()
2396 temp_byte = 0x08; in configure_new_function()
2397 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte); in configure_new_function()
2476 temp_byte = io_node->base >> 8; in configure_new_function()
2477 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2479 temp_byte = (io_node->base + io_node->length - 1) >> 8; in configure_new_function()
2480 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2569 temp_byte = temp_resources.bus_head->base - 1; in configure_new_function()
2572 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2592 temp_byte = (hold_IO_node->base) >> 8; in configure_new_function()
2593 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2611 temp_byte = (io_node->base - 1) >> 8; in configure_new_function()
2612 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2754 } else if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_NORMAL) { in configure_new_function()
2847 PCI_INTERRUPT_PIN, &temp_byte); in configure_new_function()
2852 if (temp_byte && resources->irqs && in configure_new_function()
2854 (0x01 << ((temp_byte + resources->irqs->barber_pole - 1) & 0x03)))) { in configure_new_function()
2856 IRQ = resources->irqs->interrupt[(temp_byte + in configure_new_function()
2873 rc = cpqhp_set_irq(func->bus, func->device, temp_byte, IRQ); in configure_new_function()
2879 resources->irqs->interrupt[(temp_byte + resources->irqs->barber_pole - 1) & 0x03] = IRQ; in configure_new_function()
2880 resources->irqs->valid_INT |= 0x01 << (temp_byte + resources->irqs->barber_pole - 1) & 0x03; in configure_new_function()
2884 temp_byte = 0x40; in configure_new_function()
2886 PCI_LATENCY_TIMER, temp_byte); in configure_new_function()
2889 temp_byte = 0x08; in configure_new_function()
2891 PCI_CACHE_LINE_SIZE, temp_byte); in configure_new_function()