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

1 // SPDX-License-Identifier: GPL-2.0
61 unsigned int irq = d->irq; in rawhide_enable_irq()
63 irq -= 16; in rawhide_enable_irq()
65 if (!hose_exists(hose)) /* if hose non-existent, exit */ in rawhide_enable_irq()
68 irq -= hose * 24; in rawhide_enable_irq()
82 unsigned int irq = d->irq; in rawhide_disable_irq()
84 irq -= 16; in rawhide_disable_irq()
86 if (!hose_exists(hose)) /* if hose non-existent, exit */ in rawhide_disable_irq()
89 irq -= hose * 24; in rawhide_disable_irq()
103 unsigned int irq = d->irq; in rawhide_mask_and_ack_irq()
105 irq -= 16; in rawhide_mask_and_ack_irq()
107 if (!hose_exists(hose)) /* if hose non-existent, exit */ in rawhide_mask_and_ack_irq()
110 irq -= hose * 24; in rawhide_mask_and_ack_irq()
138 irq = (vector - 0x800) >> 4; in rawhide_srm_device_interrupt()
144 * it line up with the actual bit numbers from the REQ registers, in rawhide_srm_device_interrupt()
147 * Also, PCI #1 interrupts are offset some more... :-( in rawhide_srm_device_interrupt()
156 irq -= ((irq + 16) >> 2) & 0x38; in rawhide_srm_device_interrupt()
169 /* Clear them all; only hoses that exist will be non-zero. */ in rawhide_init_irq()
172 for (hose = hose_head; hose; hose = hose->next) { in rawhide_init_irq()
173 unsigned int h = hose->index; in rawhide_init_irq()
196 * 0 Interrupt Line A from slot 2 PCI0
197 * 1 Interrupt Line B from slot 2 PCI0
198 * 2 Interrupt Line C from slot 2 PCI0
199 * 3 Interrupt Line D from slot 2 PCI0
200 * 4 Interrupt Line A from slot 3 PCI0
201 * 5 Interrupt Line B from slot 3 PCI0
202 * 6 Interrupt Line C from slot 3 PCI0
203 * 7 Interrupt Line D from slot 3 PCI0
204 * 8 Interrupt Line A from slot 4 PCI0
205 * 9 Interrupt Line B from slot 4 PCI0
206 * 10 Interrupt Line C from slot 4 PCI0
207 * 11 Interrupt Line D from slot 4 PCI0
208 * 12 Interrupt Line A from slot 5 PCI0
209 * 13 Interrupt Line B from slot 5 PCI0
210 * 14 Interrupt Line C from slot 5 PCI0
211 * 15 Interrupt Line D from slot 5 PCI0
213 * 17-23 NA
218 * 3 PCI option slot 3
230 { 16+ 0, 16+ 0, 16+ 1, 16+ 2, 16+ 3}, /* IdSel 2 slot 2 */ in rawhide_map_irq()
231 { 16+ 4, 16+ 4, 16+ 5, 16+ 6, 16+ 7}, /* IdSel 3 slot 3 */ in rawhide_map_irq()
237 struct pci_controller *hose = dev->sysdata; in rawhide_map_irq()
240 irq += 24 * hose->index; in rawhide_map_irq()