Lines Matching refs:temp_byte

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()
1994 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_SECONDARY_BUS, temp_byte); in configure_new_function()
1999 temp_byte = (u8)(bus_node->base + bus_node->length - 1); in configure_new_function()
2000 dbg("set subordinate bus = 0x%x\n", temp_byte); in configure_new_function()
2001 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2099 temp_byte = (u8)(io_node->base >> 8); in configure_new_function()
2100 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2103 temp_byte = (u8)((io_node->base + io_node->length - 1) >> 8); in configure_new_function()
2104 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2243 temp_byte = (u8)(temp_resources.bus_head->base - 1); in configure_new_function()
2246 dbg("re-set subordinate bus = 0x%x\n", temp_byte); in configure_new_function()
2248 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_SUBORDINATE_BUS, temp_byte); in configure_new_function()
2272 temp_byte = (u8)((hold_IO_node->base) >> 8); in configure_new_function()
2273 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_IO_BASE, temp_byte); in configure_new_function()
2291 temp_byte = (u8)((io_node->base - 1) >> 8); in configure_new_function()
2292 rc = pci_bus_write_config_byte (pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2297 temp_byte = 0x00; in configure_new_function()
2298 rc = pci_bus_write_config_byte(pci_bus, devfn, PCI_IO_LIMIT, temp_byte); in configure_new_function()
2431 } else if ((temp_byte & 0x7F) == PCI_HEADER_TYPE_NORMAL) { in configure_new_function()