Lines Matching +full:40 +full:- +full:bit

1 // SPDX-License-Identifier: GPL-2.0
41 int qbbno = (irq >> 8) & (WILDFIRE_MAX_QBB - 1); in wildfire_update_irq_hw()
42 int pcano = (irq >> 6) & (WILDFIRE_PCA_PER_QBB - 1); in wildfire_update_irq_hw()
49 " got irq %d for non-existent PCA %d" in wildfire_update_irq_hw()
57 enable0 = (unsigned long *) &pca->pca_int[0].enable; /* ??? */ in wildfire_update_irq_hw()
72 enable0 = (unsigned long *) &pca->pca_int[0].enable; in wildfire_init_irq_hw()
73 enable1 = (unsigned long *) &pca->pca_int[1].enable; in wildfire_init_irq_hw()
74 enable2 = (unsigned long *) &pca->pca_int[2].enable; in wildfire_init_irq_hw()
75 enable3 = (unsigned long *) &pca->pca_int[3].enable; in wildfire_init_irq_hw()
77 target0 = (unsigned long *) &pca->pca_int[0].target; in wildfire_init_irq_hw()
78 target1 = (unsigned long *) &pca->pca_int[1].target; in wildfire_init_irq_hw()
79 target2 = (unsigned long *) &pca->pca_int[2].target; in wildfire_init_irq_hw()
80 target3 = (unsigned long *) &pca->pca_int[3].target; in wildfire_init_irq_hw()
108 unsigned int irq = d->irq; in wildfire_enable_irq()
122 unsigned int irq = d->irq; in wildfire_disable_irq()
136 unsigned int irq = d->irq; in wildfire_mask_and_ack_irq()
166 io_bias = WILDFIRE_IO(qbbno, pcano<<1) - WILDFIRE_IO_BIAS; in wildfire_init_irq_per_pca()
190 for (i = 40; i < 64; ++i) { in wildfire_init_irq_per_pca()
226 irq = (vector - 0x800) >> 4; in wildfire_device_interrupt()
229 * bits 10-8: source QBB ID in wildfire_device_interrupt()
230 * bits 7-6: PCA in wildfire_device_interrupt()
231 * bits 5-0: irq in PCA in wildfire_device_interrupt()
243 * Bit Meaning
244 * 0-15 ISA
250 *40 Interrupt Line A from slot 2 PCI0
279 * 1 64 bit PCI 0 option slot 1 (SCSI QLogic builtin)
280 * 2 64 bit PCI 0 option slot 2
281 * 3 64 bit PCI 0 option slot 3
282 * 4 64 bit PCI 1 option slot 4
283 * 5 64 bit PCI 1 option slot 5
284 * 6 64 bit PCI 1 option slot 6
285 * 7 64 bit PCI 1 option slot 7
293 { -1, -1, -1, -1, -1}, /* IdSel 0 ISA Bridge */ in wildfire_map_irq()
295 { 40, 40, 40+1, 40+2, 40+3}, /* IdSel 2 PCI 0 slot 2 */ in wildfire_map_irq()
304 struct pci_controller *hose = dev->sysdata; in wildfire_map_irq()
308 int qbbno = hose->index >> 3; in wildfire_map_irq()
309 int pcano = (hose->index >> 1) & 3; in wildfire_map_irq()