Lines Matching +full:everything +full:- +full:else
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org)
8 * BCM1250-specific PCI support
15 * To access configuration space, we use ioremap. In the 32-bit
41 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where)
56 * HT's level-sensitive interrupts require EOI, which is generated
57 * through a 4MB memory-mapped region
63 * Read/write 32-bit values in config space.
77 return dev->irq; in pcibios_map_irq()
88 * In PCI Device Mode, hide everything on bus 0 except the LDT host
98 if (bus->number == 0) { in sb1250_pci_can_access()
102 else if (sb1250_bus_status & PCI_DEVICE_MODE) in sb1250_pci_can_access()
104 else in sb1250_pci_can_access()
106 } else in sb1250_pci_can_access()
123 else if ((size == 4) && (where & 3)) in sb1250_pcibios_read()
128 else in sb1250_pcibios_read()
133 else if (size == 2) in sb1250_pcibios_read()
135 else in sb1250_pcibios_read()
149 else if ((size == 4) && (where & 3)) in sb1250_pcibios_write()
160 else if (size == 2) in sb1250_pcibios_write()
163 else in sb1250_pcibios_write()
222 } else { in sb1250_pcibios_init()
238 * space. Use "match bytes" policy to make everything look in sb1250_pcibios_init()
239 * little-endian. So, you need to also set in sb1250_pcibios_init()
261 * this consumes 4MB of kernel-mapped memory in sb1250_pcibios_init()
262 * (Kseg2/Kseg3) for 32-bit kernel. in sb1250_pcibios_init()
274 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES - 1, 1); in sb1250_pcibios_init()