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 * BCM1x80/1x55-specific PCI support
15 * To access configuration space, we use ioremap. In the 32-bit
20 * XXX: AT THIS TIME, ONLY the NATIVE PCI-X INTERFACE IS SUPPORTED.
41 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where)
53 * Read/write 32-bit values in config space.
68 return -1; in pcibios_map_irq()
70 return K_BCM1480_INT_PCI_INTA - 1 + pin; in pcibios_map_irq()
81 * In PCI Device Mode, hide everything on bus 0 except the LDT host
91 if (bus->number == 0) { in bcm1480_pci_can_access()
95 else in bcm1480_pci_can_access()
97 } else in bcm1480_pci_can_access()
114 else if ((size == 4) && (where & 3)) in bcm1480_pcibios_read()
119 else in bcm1480_pcibios_read()
124 else if (size == 2) in bcm1480_pcibios_read()
126 else in bcm1480_pcibios_read()
140 else if ((size == 4) && (where & 3)) in bcm1480_pcibios_write()
151 else if (size == 2) in bcm1480_pcibios_write()
154 else in bcm1480_pcibios_write()
201 /* Set I/O resource limits. - unlimited for now to accommodate HT */ in bcm1480_pcibios_init()
213 } else { in bcm1480_pcibios_init()
233 * space. Use "match bytes" policy to make everything look in bcm1480_pcibios_init()
234 * little-endian. So, you need to also set in bcm1480_pcibios_init()
242 bcm1480_controller.io_map_base -= bcm1480_controller.io_offset; in bcm1480_pcibios_init()
249 do_take_over_console(&vga_con, 0, MAX_NR_CONSOLES-1, 1); in bcm1480_pcibios_init()