Searched refs:swlevel (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/mips/sgi-ip27/
H A Dip27-irq-pci.c140 int pin, swlevel; startup_bridge_irq() local
149 * "map" irq to a swlevel greater than 6 since the first 6 bits startup_bridge_irq()
152 swlevel = find_level(&cpu, d->irq); startup_bridge_irq()
153 bridge->b_int_addr[pin].addr = (0x20000 | swlevel | (bc->nasid << 8)); startup_bridge_irq()
177 intr_connect_level(cpu, swlevel); startup_bridge_irq()
187 int pin, swlevel; shutdown_bridge_irq() local
194 * map irq to a swlevel greater than 6 since the first 6 bits shutdown_bridge_irq()
197 swlevel = find_level(&cpu, d->irq); shutdown_bridge_irq()
198 intr_disconnect_level(cpu, swlevel); shutdown_bridge_irq()
207 int swlevel; enable_bridge_irq() local
209 swlevel = find_level(&cpu, d->irq); /* Criminal offence */ enable_bridge_irq()
210 intr_connect_level(cpu, swlevel); enable_bridge_irq()
216 int swlevel; disable_bridge_irq() local
218 swlevel = find_level(&cpu, d->irq); /* Criminal offence */ disable_bridge_irq()
219 intr_disconnect_level(cpu, swlevel); disable_bridge_irq()
238 int swlevel, cpu; request_bridge_irq() local
245 * "map" irq to a swlevel greater than 6 since the first 6 bits request_bridge_irq()
249 swlevel = alloc_level(cpu, irq); request_bridge_irq()
250 if (unlikely(swlevel < 0)) { request_bridge_irq()
258 REMOTE_HUB_CLR_INTR(nasid, swlevel); request_bridge_irq()
260 intr_connect_level(cpu, swlevel); request_bridge_irq()
H A Dip27-irq.c86 int irq, swlevel; ip27_do_irq_mask0() local
100 swlevel = ms1bit(pend0); ip27_do_irq_mask0()
117 /* "map" swlevel to irq */ ip27_do_irq_mask0()
120 irq = si->level_to_irq[swlevel]; ip27_do_irq_mask0()
129 int irq, swlevel; ip27_do_irq_mask1() local
143 swlevel = ms1bit(pend1); ip27_do_irq_mask1()
144 /* "map" swlevel to irq */ ip27_do_irq_mask1()
145 irq = si->level_to_irq[swlevel]; ip27_do_irq_mask1()
146 LOCAL_HUB_CLR_INTR(swlevel); ip27_do_irq_mask1()

Completed in 61 milliseconds