Lines Matching +full:1 +full:- +full:16
1 // SPDX-License-Identifier: GPL-2.0
40 int ofs = (irq - 16) / 8; in cabriolet_update_irq_hw()
41 outb(mask >> (16 + ofs * 8), 0x804 + ofs); in cabriolet_update_irq_hw()
47 cabriolet_update_irq_hw(d->irq, cached_irq_mask &= ~(1UL << d->irq)); in cabriolet_enable_irq()
53 cabriolet_update_irq_hw(d->irq, cached_irq_mask |= 1UL << d->irq); in cabriolet_disable_irq()
70 pld = inb(0x804) | (inb(0x805) << 8) | (inb(0x806) << 16); in cabriolet_device_interrupt()
78 pld &= pld - 1; /* clear least bit set */ in cabriolet_device_interrupt()
82 handle_irq(16 + i); in cabriolet_device_interrupt()
103 for (i = 16; i < 35; ++i) { in common_init_irq()
111 if (request_irq(16 + 4, no_action, 0, "isa-cascade", NULL)) in common_init_irq()
112 pr_err("Failed to register isa-cascade interrupt\n"); in common_init_irq()
162 * the on-board NCR and Tulip chips. In the code below, I have used
170 * In the table, -1 means don't assign an IRQ number. This is usually
179 {16+0, 16+0, 16+5, 16+9, 16+13}, /* IdSel 6, slot 0, J25 */ in eb66p_map_irq()
180 {16+1, 16+1, 16+6, 16+10, 16+14}, /* IdSel 7, slot 1, J26 */ in eb66p_map_irq()
181 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in eb66p_map_irq()
182 {16+2, 16+2, 16+7, 16+11, 16+15}, /* IdSel 9, slot 2, J27 */ in eb66p_map_irq()
183 {16+3, 16+3, 16+8, 16+12, 16+6} /* IdSel 10, slot 3, J28 */ in eb66p_map_irq()
200 * In the table, -1 means don't assign an IRQ number. This is usually
209 { 16+2, 16+2, 16+7, 16+11, 16+15}, /* IdSel 5, slot 2, J21 */ in cabriolet_map_irq()
210 { 16+0, 16+0, 16+5, 16+9, 16+13}, /* IdSel 6, slot 0, J19 */ in cabriolet_map_irq()
211 { 16+1, 16+1, 16+6, 16+10, 16+14}, /* IdSel 7, slot 1, J20 */ in cabriolet_map_irq()
212 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in cabriolet_map_irq()
213 { 16+3, 16+3, 16+8, 16+12, 16+16} /* IdSel 9, slot 3, J22 */ in cabriolet_map_irq()
222 if (pc873xx_probe() == -1) { in cabriolet_enable_ide()
245 * A bit is set by writing a "1" to the desired position in the mask
258 * ISA +--------------------------------------------------------------+
259 * ADDRESS | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
262 * +--------------------------------------------------------------+
264 * +--------------------------------------------------------------+
266 * +--------------------------------------------------------------+
268 * Note: The mask register is write-only.
273 * 7 64 bit PCI option slot 1
286 { 16+2, 16+2, 16+9, 16+13, 16+17}, /* IdSel 5, slot 2, J20 */ in alphapc164_map_irq()
287 { 16+0, 16+0, 16+7, 16+11, 16+15}, /* IdSel 6, slot 0, J29 */ in alphapc164_map_irq()
288 { 16+1, 16+1, 16+8, 16+12, 16+16}, /* IdSel 7, slot 1, J26 */ in alphapc164_map_irq()
289 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in alphapc164_map_irq()
290 { 16+3, 16+3, 16+10, 16+14, 16+18}, /* IdSel 9, slot 3, J19 */ in alphapc164_map_irq()
291 { 16+6, 16+6, 16+6, 16+6, 16+6}, /* IdSel 10, USB */ in alphapc164_map_irq()
292 { 16+5, 16+5, 16+5, 16+5, 16+5} /* IdSel 11, IDE */ in alphapc164_map_irq()