Lines Matching +full:2 +full:- +full:layered

1 // SPDX-License-Identifier: GPL-2.0
53 noritake_update_irq_hw(d->irq, cached_irq_mask |= 1 << (d->irq - 16)); in noritake_enable_irq()
59 noritake_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << (d->irq - 16))); in noritake_disable_irq()
87 pld &= pld - 1; /* clear least bit set */ in noritake_device_interrupt()
101 irq = (vector - 0x800) >> 4; in noritake_srm_device_interrupt()
110 * So, here's this additional grotty hack... :-( in noritake_srm_device_interrupt()
145 * 0 All valid ints from summary regs 2 & 3
147 * 2 Interrupt Line A from slot 0
151 * 6 Interrupt Line A from slot 2
152 * 7 Interrupt Line B from slot 2
162 * Summary @ 0x544, summary register #2:
164 * 0 OR of all unmasked ints in SR #2
166 * 2 Interrupt Line C from slot 0
170 * 6 Interrupt Line C from slot 2
171 * 7 Interrupt Line D from slot 2
184 * 7 Intel PCI-EISA bridge chip
185 * 8 DEC PCI-PCI bridge chip
188 * 13 PCI on board slot 2
191 * This two layered interrupt approach means that we allocate IRQ 16 and
203 { -1, -1, -1, -1, -1}, /* IdSel 17, S3 Trio64 */ in noritake_map_irq()
204 { -1, -1, -1, -1, -1}, /* IdSel 18, PCEB */ in noritake_map_irq()
205 { -1, -1, -1, -1, -1}, /* IdSel 19, PPB */ in noritake_map_irq()
206 { -1, -1, -1, -1, -1}, /* IdSel 20, ???? */ in noritake_map_irq()
207 { -1, -1, -1, -1, -1}, /* IdSel 21, ???? */ in noritake_map_irq()
208 { 16+2, 16+2, 16+3, 32+2, 32+3}, /* IdSel 22, slot 0 */ in noritake_map_irq()
210 { 16+6, 16+6, 16+7, 32+6, 32+7}, /* IdSel 24, slot 2 */ in noritake_map_irq()
213 across the built-in bridge of the NORITAKE only. */ in noritake_map_irq()
229 if (dev->bus->number == 0) { in noritake_swizzle()
230 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
232 /* Check for the built-in bridge */ in noritake_swizzle()
233 else if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle()
234 slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */ in noritake_swizzle()
238 /* Must be a card-based bridge. */ in noritake_swizzle()
240 if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle()
241 slot = PCI_SLOT(dev->devfn) + 15; in noritake_swizzle()
247 dev = dev->bus->self; in noritake_swizzle()
249 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
250 } while (dev->bus->self); in noritake_swizzle()
276 code = mchk_header->code; in noritake_apecs_machine_check()
315 .vector_name = "Noritake-Primo",