Lines Matching +full:3 +full:- +full:line

1 // SPDX-License-Identifier: GPL-2.0
39 irq = (vector - 0x800) >> 4; in miata_srm_device_interrupt()
47 * for reporting any interrupts (the PCI-ISA bridge, bit 7, isn't in miata_srm_device_interrupt()
49 * vectors 0x800-0x8f0). in miata_srm_device_interrupt()
53 * So, here's this grotty hack... :-( in miata_srm_device_interrupt()
75 /* Not interested in the bogus interrupts (3,10), Fan Fault (0), in miata_init_irq()
83 if (request_irq(16 + 2, no_action, 0, "halt-switch", NULL)) in miata_init_irq()
84 pr_err("Failed to register halt-switch interrupt\n"); in miata_init_irq()
85 if (request_irq(16 + 6, no_action, 0, "timer-cascade", NULL)) in miata_init_irq()
86 pr_err("Failed to register timer-cascade interrupt\n"); in miata_init_irq()
98 * 3 none
102 * 7 PCI-ISA Bridge
107 *12 Interrupt Line A from slot 4
108 *13 Interrupt Line B from slot 4
109 *14 Interrupt Line C from slot 4
110 *15 Interrupt Line D from slot 4
111 *16 Interrupt Line A from slot 5
112 *17 Interrupt line B from slot 5
113 *18 Interrupt Line C from slot 5
114 *19 Interrupt Line D from slot 5
115 *20 Interrupt Line A from slot 1
116 *21 Interrupt Line B from slot 1
117 *22 Interrupt Line C from slot 1
118 *23 Interrupt Line D from slot 1
119 *24 Interrupt Line A from slot 2
120 *25 Interrupt Line B from slot 2
121 *26 Interrupt Line C from slot 2
122 *27 Interrupt Line D from slot 2
123 *27 Interrupt Line A from slot 3
124 *29 Interrupt Line B from slot 3
125 *30 Interrupt Line C from slot 3
126 *31 Interrupt Line D from slot 3
131 * 3 DC21142 Ethernet
135 * 7 PCI-ISA bridge
136 * 8 PCI-PCI Bridge (SBU Riser)
146 * 15 PCI on board slot 3 (SBU Riser)
160 { -1, -1, -1, -1, -1}, /* IdSel 15, EIDE */ in miata_map_irq()
161 { -1, -1, -1, -1, -1}, /* IdSel 16, none */ in miata_map_irq()
162 { -1, -1, -1, -1, -1}, /* IdSel 17, none */ in miata_map_irq()
163 { -1, -1, -1, -1, -1}, /* IdSel 18, PCI-ISA */ in miata_map_irq()
164 { -1, -1, -1, -1, -1}, /* IdSel 19, PCI-PCI */ in miata_map_irq()
165 { -1, -1, -1, -1, -1}, /* IdSel 20, none */ in miata_map_irq()
166 { -1, -1, -1, -1, -1}, /* IdSel 21, none */ in miata_map_irq()
171 { -1, -1, -1, -1, -1}, /* IdSel 25, none */ in miata_map_irq()
172 { -1, -1, -1, -1, -1}, /* IdSel 26, none */ in miata_map_irq()
173 { -1, -1, -1, -1, -1}, /* IdSel 27, none */ in miata_map_irq()
176 {16+28, 16+28, 16+29, 16+30, 16+31}, /* IdSel 30, slot 3 */ in miata_map_irq()
178 { -1, -1, -1, -1, -1}, /* IdSel 31, PCI-PCI */ in miata_map_irq()
180 const long min_idsel = 3, max_idsel = 20, irqs_per_slot = 5; in miata_map_irq()
185 if((slot == 7) && (PCI_FUNC(dev->devfn) == 3)) { in miata_map_irq()
186 struct pci_dev *pdev = pci_get_slot(dev->bus, dev->devfn & ~7); in miata_map_irq()
191 return -1; in miata_map_irq()
196 return ret == PCIBIOS_SUCCESSFUL ? irq : -1; in miata_map_irq()
207 if (dev->bus->number == 0) { in miata_swizzle()
208 slot = PCI_SLOT(dev->devfn); in miata_swizzle()
210 /* Check for the built-in bridge. */ in miata_swizzle()
211 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle()
212 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle()
213 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle()
217 /* Must be a card-based bridge. */ in miata_swizzle()
219 if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle()
220 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle()
221 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle()
227 dev = dev->bus->self; in miata_swizzle()
229 slot = PCI_SLOT(dev->devfn); in miata_swizzle()
230 } while (dev->bus->self); in miata_swizzle()
252 /* Who said DEC engineers have no sense of humor? ;-) */ in miata_kill_arch()