Lines Matching +full:2 +full:- +full:layered
1 // SPDX-License-Identifier: GPL-2.0
52 noritake_update_irq_hw(d->irq, cached_irq_mask |= 1 << (d->irq - 16)); in noritake_enable_irq()
58 noritake_update_irq_hw(d->irq, cached_irq_mask &= ~(1 << (d->irq - 16))); in noritake_disable_irq()
86 pld &= pld - 1; /* clear least bit set */ in noritake_device_interrupt()
100 irq = (vector - 0x800) >> 4; in noritake_srm_device_interrupt()
109 * So, here's this additional grotty hack... :-( in noritake_srm_device_interrupt()
144 * 0 All valid ints from summary regs 2 & 3
146 * 2 Interrupt Line A from slot 0
150 * 6 Interrupt Line A from slot 2
151 * 7 Interrupt Line B from slot 2
161 * Summary @ 0x544, summary register #2:
163 * 0 OR of all unmasked ints in SR #2
165 * 2 Interrupt Line C from slot 0
169 * 6 Interrupt Line C from slot 2
170 * 7 Interrupt Line D from slot 2
183 * 7 Intel PCI-EISA bridge chip
184 * 8 DEC PCI-PCI bridge chip
187 * 13 PCI on board slot 2
190 * This two layered interrupt approach means that we allocate IRQ 16 and
202 { -1, -1, -1, -1, -1}, /* IdSel 17, S3 Trio64 */ in noritake_map_irq()
203 { -1, -1, -1, -1, -1}, /* IdSel 18, PCEB */ in noritake_map_irq()
204 { -1, -1, -1, -1, -1}, /* IdSel 19, PPB */ in noritake_map_irq()
205 { -1, -1, -1, -1, -1}, /* IdSel 20, ???? */ in noritake_map_irq()
206 { -1, -1, -1, -1, -1}, /* IdSel 21, ???? */ in noritake_map_irq()
207 { 16+2, 16+2, 16+3, 32+2, 32+3}, /* IdSel 22, slot 0 */ in noritake_map_irq()
209 { 16+6, 16+6, 16+7, 32+6, 32+7}, /* IdSel 24, slot 2 */ in noritake_map_irq()
212 across the built-in bridge of the NORITAKE only. */ in noritake_map_irq()
228 if (dev->bus->number == 0) { in noritake_swizzle()
229 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
231 /* Check for the built-in bridge */ in noritake_swizzle()
232 else if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle()
233 slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */ in noritake_swizzle()
237 /* Must be a card-based bridge. */ in noritake_swizzle()
239 if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle()
240 slot = PCI_SLOT(dev->devfn) + 15; in noritake_swizzle()
246 dev = dev->bus->self; in noritake_swizzle()
248 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
249 } while (dev->bus->self); in noritake_swizzle()
256 .vector_name = "Noritake-Primo",