Lines Matching +full:1 +full:- +full:9 +full:a +full:- +full:d
1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 1995 David A Rusling
6 * Copyright (C) 1996 Jay A Estabrook
9 * Code supporting the NORITAKE (AlphaServer 1000A),
10 * CORELLE (AlphaServer 800), and ALCOR Primo (AlphaStation 600A).
50 noritake_enable_irq(struct irq_data *d) in noritake_enable_irq() argument
52 noritake_update_irq_hw(d->irq, cached_irq_mask |= 1 << (d->irq - 16)); in noritake_enable_irq()
56 noritake_disable_irq(struct irq_data *d) in noritake_disable_irq() argument
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()
112 irq = irq + 1; in noritake_srm_device_interrupt()
142 * Summary @ 0x542, summary register #1:
145 * 1 QLOGIC ISP1020A SCSI
146 * 2 Interrupt Line A from slot 0
148 * 4 Interrupt Line A from slot 1
149 * 5 Interrupt line B from slot 1
150 * 6 Interrupt Line A from slot 2
152 * 8 Interrupt Line A from slot 3
153 * 9 Interrupt Line B from slot 3
154 *10 Interrupt Line A from slot 4
156 *12 Interrupt Line A from slot 5
158 *14 Interrupt Line A from slot 6
164 * 1 OR of secondary bus ints
166 * 3 Interrupt Line D from slot 0
167 * 4 Interrupt Line C from slot 1
168 * 5 Interrupt line D from slot 1
170 * 7 Interrupt Line D from slot 2
172 * 9 Interrupt Line D from slot 3
174 *11 Interrupt Line D from slot 4
176 *13 Interrupt Line D from slot 5
178 *15 Interrupt Line D from slot 6
183 * 7 Intel PCI-EISA bridge chip
184 * 8 DEC PCI-PCI bridge chip
186 * 12 PCI on board slot 1
201 { 16+1, 16+1, 16+1, 16+1, 16+1}, /* IdSel 16, QLOGIC */ in noritake_map_irq()
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()
208 { 16+4, 16+4, 16+5, 32+4, 32+5}, /* IdSel 23, slot 1 */ in noritake_map_irq()
210 { 16+8, 16+8, 16+9, 32+8, 32+9}, /* IdSel 25, slot 3 */ in noritake_map_irq()
211 /* The following 5 are actually on PCI bus 1, which is in noritake_map_irq()
212 across the built-in bridge of the NORITAKE only. */ in noritake_map_irq()
213 { 16+1, 16+1, 16+1, 16+1, 16+1}, /* IdSel 16, QLOGIC */ in noritake_map_irq()
214 { 16+8, 16+8, 16+9, 32+8, 32+9}, /* IdSel 17, slot 3 */ 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",