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()
1260 u8 temp_byte; in board_replaced() local
1289 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1291 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1410 u8 temp_byte; in board_added() local
1437 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1439 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
1618 u8 temp_byte; in remove_board() local
1667 temp_byte = readb(ctrl->hpc_reg + SLOT_SERR); in remove_board()
1668 temp_byte &= ~(0x01 << hp_slot); in remove_board()
1669 writeb(temp_byte, ctrl->hpc_reg + SLOT_SERR); in remove_board()
2258 u8 temp_byte, function, max_functions, stop_it; in configure_new_device() local
2269 …pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(func->device, func->function), 0x0E, &temp_byte); in configure_new_device()
2275 if (temp_byte & 0x80) /* Multi-function device */ in configure_new_device()
2357 u8 temp_byte; in configure_new_function() local
2386 rc = pci_bus_read_config_byte(pci_bus, devfn, PCI_HEADER_TYPE, &temp_byte); in configure_new_function()
2390 if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_BRIDGE) { in configure_new_function()
2406 temp_byte = bus_node->base; in configure_new_function()
2408 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SECONDARY_BUS, temp_byte); in configure_new_function()
2413 temp_byte = bus_node->base + bus_node->length - 1; in configure_new_function()
2415 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2420 temp_byte = 0x40; in configure_new_function()
2421 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SEC_LATENCY_TIMER, temp_byte); in configure_new_function()
2424 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_LATENCY_TIMER, temp_byte); in configure_new_function()
2429 temp_byte = 0x08; in configure_new_function()
2430 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_CACHE_LINE_SIZE, temp_byte); in configure_new_function()
2509 temp_byte = io_node->base >> 8; in configure_new_function()
2510 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2512 temp_byte = (io_node->base + io_node->length - 1) >> 8; in configure_new_function()
2513 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2602 temp_byte = temp_resources.bus_head->base - 1; in configure_new_function()
2605 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2625 temp_byte = (hold_IO_node->base) >> 8; in configure_new_function()
2626 rc = pci_bus_write_config_word(pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2644 temp_byte = (io_node->base - 1) >> 8; in configure_new_function()
2645 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2787 } else if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_NORMAL) { in configure_new_function()
2880 PCI_INTERRUPT_PIN, &temp_byte); in configure_new_function()
2885 if (temp_byte && resources->irqs && in configure_new_function()
2887 (0x01 << ((temp_byte + resources->irqs->barber_pole - 1) & 0x03)))) { in configure_new_function()
2889 IRQ = resources->irqs->interrupt[(temp_byte + in configure_new_function()
2906 rc = cpqhp_set_irq(func->bus, func->device, temp_byte, IRQ); in configure_new_function()
2912 resources->irqs->interrupt[(temp_byte + resources->irqs->barber_pole - 1) & 0x03] = IRQ; in configure_new_function()
2913 resources->irqs->valid_INT |= 0x01 << (temp_byte + resources->irqs->barber_pole - 1) & 0x03; in configure_new_function()
2917 temp_byte = 0x40; in configure_new_function()
2919 PCI_LATENCY_TIMER, temp_byte); in configure_new_function()
2922 temp_byte = 0x08; in configure_new_function()
2924 PCI_CACHE_LINE_SIZE, temp_byte); in configure_new_function()