HelenOS sources

irq                95 kernel/arch/abs32le/src/abs32le.c void irq_initialize_arch(irq_t *irq)
irq                97 kernel/arch/abs32le/src/abs32le.c 	(void) irq;
irq               286 kernel/arch/amd64/src/amd64.c void irq_initialize_arch(irq_t *irq)
irq               288 kernel/arch/amd64/src/amd64.c 	(void) irq;
irq                65 kernel/arch/amd64/src/drivers/i8254.c static irq_ownership_t i8254_claim(irq_t *irq)
irq                70 kernel/arch/amd64/src/drivers/i8254.c static void i8254_irq_handler(irq_t *irq)
irq                78 kernel/arch/amd64/src/drivers/i8254.c 	irq_spinlock_unlock(&irq->lock, false);
irq                80 kernel/arch/amd64/src/drivers/i8254.c 	irq_spinlock_lock(&irq->lock, false);
irq               164 kernel/arch/amd64/src/interrupt.c 	irq_t *irq = irq_dispatch_and_lock(inum);
irq               165 kernel/arch/amd64/src/interrupt.c 	if (irq) {
irq               170 kernel/arch/amd64/src/interrupt.c 		if (irq->preack) {
irq               175 kernel/arch/amd64/src/interrupt.c 		irq->handler(irq);
irq               176 kernel/arch/amd64/src/interrupt.c 		irq_spinlock_unlock(&irq->lock, false);
irq               166 kernel/arch/amd64/src/smp/apic.c static irq_ownership_t l_apic_timer_claim(irq_t *irq)
irq               171 kernel/arch/amd64/src/smp/apic.c static void l_apic_timer_irq_handler(irq_t *irq)
irq               178 kernel/arch/amd64/src/smp/apic.c 	irq_spinlock_unlock(&irq->lock, false);
irq               180 kernel/arch/amd64/src/smp/apic.c 	irq_spinlock_lock(&irq->lock, false);
irq               103 kernel/arch/amd64/src/smp/mps.c static int mps_irq_to_pin(unsigned int irq)
irq               108 kernel/arch/amd64/src/smp/mps.c 		if (io_intr_entries[i].src_bus_irq == irq &&
irq               191 kernel/arch/amd64/src/smp/smp.c int smp_irq_to_pin(unsigned int irq)
irq               194 kernel/arch/amd64/src/smp/smp.c 	return ops->irq_to_pin(irq);
irq               172 kernel/arch/arm32/src/arm32.c void irq_initialize_arch(irq_t *irq)
irq               174 kernel/arch/arm32/src/arm32.c 	(void) irq;
irq                81 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c static irq_ownership_t bb_timer_irq_claim(irq_t *irq)
irq                86 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c static void bb_timer_irq_handler(irq_t *irq)
irq                94 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c 	irq_spinlock_unlock(&irq->lock, false);
irq                96 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c 	irq_spinlock_lock(&irq->lock, false);
irq               154 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c 	irq_t *irq = irq_dispatch_and_lock(inum);
irq               155 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c 	if (irq) {
irq               157 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c 		irq->handler(irq);
irq               158 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c 		irq_spinlock_unlock(&irq->lock, false);
irq               111 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c static irq_ownership_t bbone_timer_irq_claim(irq_t *irq)
irq               116 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c static void bbone_timer_irq_handler(irq_t *irq)
irq               119 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c 	irq_spinlock_unlock(&irq->lock, false);
irq               121 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c 	irq_spinlock_lock(&irq->lock, false);
irq               182 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c 	irq_t *irq = irq_dispatch_and_lock(inum);
irq               183 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c 	if (irq) {
irq               185 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c 		irq->handler(irq);
irq               186 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c 		irq_spinlock_unlock(&irq->lock, false);
irq                78 kernel/arch/arm32/src/mach/gta02/gta02.c static irq_ownership_t gta02_timer_irq_claim(irq_t *irq);
irq                79 kernel/arch/arm32/src/mach/gta02/gta02.c static void gta02_timer_irq_handler(irq_t *irq);
irq               144 kernel/arch/arm32/src/mach/gta02/gta02.c 	irq_t *irq = irq_dispatch_and_lock(inum);
irq               145 kernel/arch/arm32/src/mach/gta02/gta02.c 	if (irq) {
irq               147 kernel/arch/arm32/src/mach/gta02/gta02.c 		irq->handler(irq);
irq               148 kernel/arch/arm32/src/mach/gta02/gta02.c 		irq_spinlock_unlock(&irq->lock, false);
irq               249 kernel/arch/arm32/src/mach/gta02/gta02.c static irq_ownership_t gta02_timer_irq_claim(irq_t *irq)
irq               254 kernel/arch/arm32/src/mach/gta02/gta02.c static void gta02_timer_irq_handler(irq_t *irq)
irq               260 kernel/arch/arm32/src/mach/gta02/gta02.c 	irq_spinlock_unlock(&irq->lock, false);
irq               262 kernel/arch/arm32/src/mach/gta02/gta02.c 	irq_spinlock_lock(&irq->lock, false);
irq               119 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c static inline void icp_irqc_mask(uint32_t irq)
irq               121 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 	*((uint32_t *) icp.hw_map.irqc_mask) = (1 << irq);
irq               128 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c static inline void icp_irqc_unmask(uint32_t irq)
irq               130 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 	*((uint32_t *) icp.hw_map.irqc_unmask) |= (1 << irq);
irq               178 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c static irq_ownership_t icp_timer_claim(irq_t *irq)
irq               192 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c static void icp_timer_irq_handler(irq_t *irq)
irq               199 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 	irq_spinlock_unlock(&irq->lock, false);
irq               201 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 	irq_spinlock_lock(&irq->lock, false);
irq               266 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 			irq_t *irq = irq_dispatch_and_lock(i);
irq               267 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 			if (irq) {
irq               269 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 				irq->handler(irq);
irq               270 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c 				irq_spinlock_unlock(&irq->lock, false);
irq                88 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c static irq_ownership_t raspberrypi_timer_irq_claim(irq_t *irq)
irq                93 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c static void raspberrypi_timer_irq_handler(irq_t *irq)
irq                96 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c 	irq_spinlock_unlock(&irq->lock, false);
irq                98 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c 	irq_spinlock_lock(&irq->lock, false);
irq               157 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c 	irq_t *irq = irq_dispatch_and_lock(inum);
irq               158 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c 	if (irq) {
irq               160 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c 		irq->handler(irq);
irq               161 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c 		irq_spinlock_unlock(&irq->lock, false);
irq               256 kernel/arch/arm64/src/arm64.c void irq_initialize_arch(irq_t *irq __attribute__((unused)))
irq               125 kernel/arch/arm64/src/interrupt.c static irq_ownership_t timer_claim(irq_t *irq)
irq               131 kernel/arch/arm64/src/interrupt.c static void timer_irq_handler(irq_t *irq)
irq               147 kernel/arch/arm64/src/interrupt.c 	irq_spinlock_unlock(&irq->lock, false);
irq               149 kernel/arch/arm64/src/interrupt.c 	irq_spinlock_lock(&irq->lock, false);
irq                73 kernel/arch/arm64/src/mach/hikey960/hikey960.c 	irq_t *irq = irq_dispatch_and_lock(inum);
irq                74 kernel/arch/arm64/src/mach/hikey960/hikey960.c 	if (irq) {
irq                76 kernel/arch/arm64/src/mach/hikey960/hikey960.c 		irq->handler(irq);
irq                77 kernel/arch/arm64/src/mach/hikey960/hikey960.c 		irq_spinlock_unlock(&irq->lock, false);
irq                91 kernel/arch/arm64/src/mach/virt/virt.c 	irq_t *irq = irq_dispatch_and_lock(inum);
irq                92 kernel/arch/arm64/src/mach/virt/virt.c 	if (irq) {
irq                94 kernel/arch/arm64/src/mach/virt/virt.c 		irq->handler(irq);
irq                95 kernel/arch/arm64/src/mach/virt/virt.c 		irq_spinlock_unlock(&irq->lock, false);
irq                65 kernel/arch/ia32/src/drivers/i8254.c static irq_ownership_t i8254_claim(irq_t *irq)
irq                70 kernel/arch/ia32/src/drivers/i8254.c static void i8254_irq_handler(irq_t *irq)
irq                78 kernel/arch/ia32/src/drivers/i8254.c 	irq_spinlock_unlock(&irq->lock, false);
irq                80 kernel/arch/ia32/src/drivers/i8254.c 	irq_spinlock_lock(&irq->lock, false);
irq               273 kernel/arch/ia32/src/ia32.c void irq_initialize_arch(irq_t *irq)
irq               275 kernel/arch/ia32/src/ia32.c 	(void) irq;
irq               185 kernel/arch/ia32/src/interrupt.c 	irq_t *irq = irq_dispatch_and_lock(inum);
irq               186 kernel/arch/ia32/src/interrupt.c 	if (irq) {
irq               191 kernel/arch/ia32/src/interrupt.c 		if (irq->preack) {
irq               196 kernel/arch/ia32/src/interrupt.c 		irq->handler(irq);
irq               197 kernel/arch/ia32/src/interrupt.c 		irq_spinlock_unlock(&irq->lock, false);
irq               166 kernel/arch/ia32/src/smp/apic.c static irq_ownership_t l_apic_timer_claim(irq_t *irq)
irq               171 kernel/arch/ia32/src/smp/apic.c static void l_apic_timer_irq_handler(irq_t *irq)
irq               178 kernel/arch/ia32/src/smp/apic.c 	irq_spinlock_unlock(&irq->lock, false);
irq               180 kernel/arch/ia32/src/smp/apic.c 	irq_spinlock_lock(&irq->lock, false);
irq               103 kernel/arch/ia32/src/smp/mps.c static int mps_irq_to_pin(unsigned int irq)
irq               108 kernel/arch/ia32/src/smp/mps.c 		if (io_intr_entries[i].src_bus_irq == irq &&
irq               191 kernel/arch/ia32/src/smp/smp.c int smp_irq_to_pin(unsigned int irq)
irq               194 kernel/arch/ia32/src/smp/smp.c 	return ops->irq_to_pin(irq);
irq               106 kernel/arch/ia64/src/drivers/it.c irq_ownership_t it_claim(irq_t *irq)
irq               112 kernel/arch/ia64/src/drivers/it.c void it_interrupt(irq_t *irq)
irq               136 kernel/arch/ia64/src/drivers/it.c 	irq_spinlock_unlock(&irq->lock, false);
irq               138 kernel/arch/ia64/src/drivers/it.c 	irq_spinlock_lock(&irq->lock, false);
irq               283 kernel/arch/ia64/src/ia64.c void irq_initialize_arch(irq_t *irq)
irq               285 kernel/arch/ia64/src/ia64.c 	(void) irq;
irq               249 kernel/arch/ia64/src/interrupt.c 	irq_t *irq;
irq               266 kernel/arch/ia64/src/interrupt.c 		irq = irq_dispatch_and_lock(ivr.vector);
irq               267 kernel/arch/ia64/src/interrupt.c 		if (irq) {
irq               268 kernel/arch/ia64/src/interrupt.c 			irq->handler(irq);
irq               269 kernel/arch/ia64/src/interrupt.c 			irq_spinlock_unlock(&irq->lock, false);
irq               276 kernel/arch/ia64/src/interrupt.c 		irq = irq_dispatch_and_lock(ivr.vector);
irq               277 kernel/arch/ia64/src/interrupt.c 		if (irq) {
irq               281 kernel/arch/ia64/src/interrupt.c 			if (irq->preack) {
irq               285 kernel/arch/ia64/src/interrupt.c 			irq->handler(irq);
irq               286 kernel/arch/ia64/src/interrupt.c 			if (!irq->preack)
irq               288 kernel/arch/ia64/src/interrupt.c 			irq_spinlock_unlock(&irq->lock, false);
irq                85 kernel/arch/mips32/src/mach/malta/malta.c 	irq_t *irq = irq_dispatch_and_lock(isa_irq);
irq                86 kernel/arch/mips32/src/mach/malta/malta.c 	if (irq) {
irq                87 kernel/arch/mips32/src/mach/malta/malta.c 		irq->handler(irq);
irq                88 kernel/arch/mips32/src/mach/malta/malta.c 		irq_spinlock_unlock(&irq->lock, false);
irq                54 kernel/arch/mips32/src/mach/msim/dorder.c static irq_ownership_t dorder_claim(irq_t *irq)
irq                59 kernel/arch/mips32/src/mach/msim/dorder.c static void dorder_irq_handler(irq_t *irq)
irq                65 kernel/arch/mips32/src/mach/msim/msim.c 	irq_t *irq = irq_dispatch_and_lock(i);
irq                66 kernel/arch/mips32/src/mach/msim/msim.c 	if (irq) {
irq                67 kernel/arch/mips32/src/mach/msim/msim.c 		irq->handler(irq);
irq                68 kernel/arch/mips32/src/mach/msim/msim.c 		irq_spinlock_unlock(&irq->lock, false);
irq               219 kernel/arch/mips32/src/mips32.c void irq_initialize_arch(irq_t *irq)
irq               221 kernel/arch/mips32/src/mips32.c 	(void) irq;
irq               115 kernel/arch/ppc32/src/interrupt.c 		irq_t *irq = irq_dispatch_and_lock(inum);
irq               116 kernel/arch/ppc32/src/interrupt.c 		if (irq) {
irq               121 kernel/arch/ppc32/src/interrupt.c 			if (irq->preack) {
irq               123 kernel/arch/ppc32/src/interrupt.c 				if (irq->cir)
irq               124 kernel/arch/ppc32/src/interrupt.c 					irq->cir(irq->cir_arg, irq->inr);
irq               127 kernel/arch/ppc32/src/interrupt.c 			irq->handler(irq);
irq               129 kernel/arch/ppc32/src/interrupt.c 			if (!irq->preack) {
irq               130 kernel/arch/ppc32/src/interrupt.c 				if (irq->cir)
irq               131 kernel/arch/ppc32/src/interrupt.c 					irq->cir(irq->cir_arg, irq->inr);
irq               134 kernel/arch/ppc32/src/interrupt.c 			irq_spinlock_unlock(&irq->lock, false);
irq               269 kernel/arch/ppc32/src/ppc32.c void irq_initialize_arch(irq_t *irq)
irq               271 kernel/arch/ppc32/src/ppc32.c 	irq->cir = pic_cir;
irq               272 kernel/arch/ppc32/src/ppc32.c 	irq->cir_arg = pic_cir_arg;
irq               273 kernel/arch/ppc32/src/ppc32.c 	irq->preack = true;
irq               123 kernel/arch/riscv64/src/riscv64.c void irq_initialize_arch(irq_t *irq)
irq               125 kernel/arch/riscv64/src/riscv64.c 	(void) irq;
irq               198 kernel/arch/sparc64/src/sun4u/sparc64.c void irq_initialize_arch(irq_t *irq)
irq               200 kernel/arch/sparc64/src/sun4u/sparc64.c 	(void) irq;
irq               196 kernel/arch/sparc64/src/sun4v/sparc64.c void irq_initialize_arch(irq_t *irq)
irq               198 kernel/arch/sparc64/src/sun4v/sparc64.c 	(void) irq;
irq                69 kernel/arch/sparc64/src/trap/sun4u/interrupt.c 	irq_t *irq = irq_dispatch_and_lock(data0);
irq                70 kernel/arch/sparc64/src/trap/sun4u/interrupt.c 	if (irq) {
irq                74 kernel/arch/sparc64/src/trap/sun4u/interrupt.c 		irq->handler(irq);
irq                79 kernel/arch/sparc64/src/trap/sun4u/interrupt.c 		if (irq->cir)
irq                80 kernel/arch/sparc64/src/trap/sun4u/interrupt.c 			irq->cir(irq->cir_arg, irq->inr);
irq                82 kernel/arch/sparc64/src/trap/sun4u/interrupt.c 		irq_spinlock_unlock(&irq->lock, false);
irq                49 kernel/genarch/include/genarch/drivers/dsrln/dsrlnin.h 	irq_t irq;
irq                49 kernel/genarch/include/genarch/drivers/i8042/i8042.h 	irq_t irq;
irq                83 kernel/genarch/include/genarch/drivers/ns16550/ns16550.h 	irq_t irq;
irq                45 kernel/genarch/include/genarch/drivers/omap/uart.h 	irq_t irq;
irq               152 kernel/genarch/include/genarch/drivers/pl011/pl011.h 	irq_t irq;
irq                91 kernel/genarch/include/genarch/drivers/pl050/pl050.h 	irq_t	irq;
irq                84 kernel/genarch/include/genarch/drivers/s3c24xx/uart.h 	irq_t irq;
irq               106 kernel/genarch/include/genarch/drivers/via-cuda/cuda.h 	irq_t irq;
irq               115 kernel/genarch/src/acpi/madt.c static int madt_irq_to_pin(unsigned int irq)
irq               117 kernel/genarch/src/acpi/madt.c 	if (irq >= sizeof(isa_irq_map) / sizeof(int))
irq               118 kernel/genarch/src/acpi/madt.c 		return (int) irq;
irq               120 kernel/genarch/src/acpi/madt.c 	return isa_irq_map[irq];
irq                43 kernel/genarch/src/drivers/dsrln/dsrlnin.c static irq_ownership_t dsrlnin_claim(irq_t *irq)
irq                48 kernel/genarch/src/drivers/dsrln/dsrlnin.c static void dsrlnin_irq_handler(irq_t *irq)
irq                50 kernel/genarch/src/drivers/dsrln/dsrlnin.c 	dsrlnin_instance_t *instance = irq->instance;
irq                64 kernel/genarch/src/drivers/dsrln/dsrlnin.c 		irq_initialize(&instance->irq);
irq                65 kernel/genarch/src/drivers/dsrln/dsrlnin.c 		instance->irq.inr = inr;
irq                66 kernel/genarch/src/drivers/dsrln/dsrlnin.c 		instance->irq.claim = dsrlnin_claim;
irq                67 kernel/genarch/src/drivers/dsrln/dsrlnin.c 		instance->irq.handler = dsrlnin_irq_handler;
irq                68 kernel/genarch/src/drivers/dsrln/dsrlnin.c 		instance->irq.instance = instance;
irq                80 kernel/genarch/src/drivers/dsrln/dsrlnin.c 	irq_register(&instance->irq);
irq                57 kernel/genarch/src/drivers/i8042/i8042.c static irq_ownership_t i8042_claim(irq_t *irq)
irq                59 kernel/genarch/src/drivers/i8042/i8042.c 	i8042_instance_t *i8042_instance = irq->instance;
irq                68 kernel/genarch/src/drivers/i8042/i8042.c static void i8042_irq_handler(irq_t *irq)
irq                70 kernel/genarch/src/drivers/i8042/i8042.c 	i8042_instance_t *instance = irq->instance;
irq               113 kernel/genarch/src/drivers/i8042/i8042.c 		irq_initialize(&instance->irq);
irq               114 kernel/genarch/src/drivers/i8042/i8042.c 		instance->irq.inr = inr;
irq               115 kernel/genarch/src/drivers/i8042/i8042.c 		instance->irq.claim = i8042_claim;
irq               116 kernel/genarch/src/drivers/i8042/i8042.c 		instance->irq.handler = i8042_irq_handler;
irq               117 kernel/genarch/src/drivers/i8042/i8042.c 		instance->irq.instance = instance;
irq               131 kernel/genarch/src/drivers/i8042/i8042.c 	irq_register(&instance->irq);
irq               148 kernel/genarch/src/drivers/i8259/i8259.c void i8259_eoi(unsigned int irq)
irq               150 kernel/genarch/src/drivers/i8259/i8259.c 	if (irq >= I8259_IRQ_COUNT)
irq               155 kernel/genarch/src/drivers/i8259/i8259.c bool i8259_is_spurious(unsigned int irq)
irq               161 kernel/genarch/src/drivers/i8259/i8259.c 	return !(((isr_hi << I8259_IRQ_COUNT) | isr_lo) & (1 << irq));
irq               164 kernel/genarch/src/drivers/i8259/i8259.c void i8259_handle_spurious(unsigned int irq)
irq               167 kernel/genarch/src/drivers/i8259/i8259.c 	if (irq >= I8259_IRQ_COUNT)
irq                77 kernel/genarch/src/drivers/ns16550/ns16550.c static irq_ownership_t ns16550_claim(irq_t *irq)
irq                79 kernel/genarch/src/drivers/ns16550/ns16550.c 	ns16550_instance_t *instance = irq->instance;
irq                87 kernel/genarch/src/drivers/ns16550/ns16550.c static void ns16550_irq_handler(irq_t *irq)
irq                89 kernel/genarch/src/drivers/ns16550/ns16550.c 	ns16550_instance_t *instance = irq->instance;
irq               202 kernel/genarch/src/drivers/ns16550/ns16550.c 		irq_initialize(&instance->irq);
irq               203 kernel/genarch/src/drivers/ns16550/ns16550.c 		instance->irq.inr = inr;
irq               204 kernel/genarch/src/drivers/ns16550/ns16550.c 		instance->irq.claim = ns16550_claim;
irq               205 kernel/genarch/src/drivers/ns16550/ns16550.c 		instance->irq.handler = ns16550_irq_handler;
irq               206 kernel/genarch/src/drivers/ns16550/ns16550.c 		instance->irq.instance = instance;
irq               207 kernel/genarch/src/drivers/ns16550/ns16550.c 		instance->irq.cir = cir;
irq               208 kernel/genarch/src/drivers/ns16550/ns16550.c 		instance->irq.cir_arg = cir_arg;
irq               228 kernel/genarch/src/drivers/ns16550/ns16550.c 	irq_register(&instance->irq);
irq                70 kernel/genarch/src/drivers/omap/uart.c static irq_ownership_t omap_uart_claim(irq_t *irq)
irq                75 kernel/genarch/src/drivers/omap/uart.c static void omap_uart_handler(irq_t *irq)
irq                77 kernel/genarch/src/drivers/omap/uart.c 	omap_uart_t *uart = irq->instance;
irq               166 kernel/genarch/src/drivers/omap/uart.c 	irq_initialize(&uart->irq);
irq               167 kernel/genarch/src/drivers/omap/uart.c 	uart->irq.inr = interrupt;
irq               168 kernel/genarch/src/drivers/omap/uart.c 	uart->irq.claim = omap_uart_claim;
irq               169 kernel/genarch/src/drivers/omap/uart.c 	uart->irq.handler = omap_uart_handler;
irq               170 kernel/genarch/src/drivers/omap/uart.c 	uart->irq.instance = uart;
irq               181 kernel/genarch/src/drivers/omap/uart.c 	irq_register(&uart->irq);
irq                82 kernel/genarch/src/drivers/pl011/pl011.c static irq_ownership_t pl011_uart_claim(irq_t *irq)
irq                87 kernel/genarch/src/drivers/pl011/pl011.c static void pl011_uart_irq_handler(irq_t *irq)
irq                89 kernel/genarch/src/drivers/pl011/pl011.c 	pl011_uart_t *uart = irq->instance;
irq               131 kernel/genarch/src/drivers/pl011/pl011.c 	irq_initialize(&uart->irq);
irq               132 kernel/genarch/src/drivers/pl011/pl011.c 	uart->irq.inr = interrupt;
irq               133 kernel/genarch/src/drivers/pl011/pl011.c 	uart->irq.claim = pl011_uart_claim;
irq               134 kernel/genarch/src/drivers/pl011/pl011.c 	uart->irq.handler = pl011_uart_irq_handler;
irq               135 kernel/genarch/src/drivers/pl011/pl011.c 	uart->irq.instance = uart;
irq               153 kernel/genarch/src/drivers/pl011/pl011.c 	irq_register(&uart->irq);
irq                51 kernel/genarch/src/drivers/pl050/pl050.c static irq_ownership_t pl050_claim(irq_t *irq)
irq                61 kernel/genarch/src/drivers/pl050/pl050.c static void pl050_irq_handler(irq_t *irq)
irq                65 kernel/genarch/src/drivers/pl050/pl050.c 	pl050_instance_t *instance = irq->instance;
irq                87 kernel/genarch/src/drivers/pl050/pl050.c 		irq_initialize(&instance->irq);
irq                88 kernel/genarch/src/drivers/pl050/pl050.c 		instance->irq.inr = inr;
irq                89 kernel/genarch/src/drivers/pl050/pl050.c 		instance->irq.claim = pl050_claim;
irq                90 kernel/genarch/src/drivers/pl050/pl050.c 		instance->irq.handler = pl050_irq_handler;
irq                91 kernel/genarch/src/drivers/pl050/pl050.c 		instance->irq.instance = instance;
irq               102 kernel/genarch/src/drivers/pl050/pl050.c 	irq_register(&instance->irq);
irq                79 kernel/genarch/src/drivers/s3c24xx/uart.c static irq_ownership_t s3c24xx_uart_claim(irq_t *irq)
irq                84 kernel/genarch/src/drivers/s3c24xx/uart.c static void s3c24xx_uart_irq_handler(irq_t *irq)
irq                86 kernel/genarch/src/drivers/s3c24xx/uart.c 	s3c24xx_uart_t *uart = irq->instance;
irq               123 kernel/genarch/src/drivers/s3c24xx/uart.c 	irq_initialize(&uart->irq);
irq               124 kernel/genarch/src/drivers/s3c24xx/uart.c 	uart->irq.inr = inr;
irq               125 kernel/genarch/src/drivers/s3c24xx/uart.c 	uart->irq.claim = s3c24xx_uart_claim;
irq               126 kernel/genarch/src/drivers/s3c24xx/uart.c 	uart->irq.handler = s3c24xx_uart_irq_handler;
irq               127 kernel/genarch/src/drivers/s3c24xx/uart.c 	uart->irq.instance = uart;
irq               166 kernel/genarch/src/drivers/s3c24xx/uart.c 	irq_register(&uart->irq);
irq                45 kernel/genarch/src/drivers/via-cuda/cuda.c static irq_ownership_t cuda_claim(irq_t *irq);
irq                46 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_handler(irq_t *irq);
irq                48 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_listen(irq_t *irq);
irq                49 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_receive(irq_t *irq);
irq                50 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_rcv_end(irq_t *irq, void *buf, size_t *len);
irq                51 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_send_start(irq_t *irq);
irq                52 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_send(irq_t *irq);
irq               106 kernel/genarch/src/drivers/via-cuda/cuda.c 		irq_initialize(&instance->irq);
irq               107 kernel/genarch/src/drivers/via-cuda/cuda.c 		instance->irq.inr = inr;
irq               108 kernel/genarch/src/drivers/via-cuda/cuda.c 		instance->irq.claim = cuda_claim;
irq               109 kernel/genarch/src/drivers/via-cuda/cuda.c 		instance->irq.handler = cuda_irq_handler;
irq               110 kernel/genarch/src/drivers/via-cuda/cuda.c 		instance->irq.instance = instance;
irq               111 kernel/genarch/src/drivers/via-cuda/cuda.c 		instance->irq.cir = cir;
irq               112 kernel/genarch/src/drivers/via-cuda/cuda.c 		instance->irq.cir_arg = cir_arg;
irq               113 kernel/genarch/src/drivers/via-cuda/cuda.c 		instance->irq.preack = true;
irq               128 kernel/genarch/src/drivers/via-cuda/cuda.c 	irq_register(&instance->irq);
irq               138 kernel/genarch/src/drivers/via-cuda/cuda.c static irq_ownership_t cuda_claim(irq_t *irq)
irq               140 kernel/genarch/src/drivers/via-cuda/cuda.c 	cuda_instance_t *instance = irq->instance;
irq               154 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_handler(irq_t *irq)
irq               156 kernel/genarch/src/drivers/via-cuda/cuda.c 	cuda_instance_t *instance = irq->instance;
irq               171 kernel/genarch/src/drivers/via-cuda/cuda.c 		cuda_irq_listen(irq);
irq               174 kernel/genarch/src/drivers/via-cuda/cuda.c 		cuda_irq_receive(irq);
irq               177 kernel/genarch/src/drivers/via-cuda/cuda.c 		cuda_irq_rcv_end(irq, rbuf, &len);
irq               181 kernel/genarch/src/drivers/via-cuda/cuda.c 		cuda_irq_send_start(irq);
irq               184 kernel/genarch/src/drivers/via-cuda/cuda.c 		cuda_irq_send(irq);
irq               199 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_listen(irq_t *irq)
irq               201 kernel/genarch/src/drivers/via-cuda/cuda.c 	cuda_instance_t *instance = irq->instance;
irq               221 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_receive(irq_t *irq)
irq               223 kernel/genarch/src/drivers/via-cuda/cuda.c 	cuda_instance_t *instance = irq->instance;
irq               246 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_rcv_end(irq_t *irq, void *buf, size_t *len)
irq               248 kernel/genarch/src/drivers/via-cuda/cuda.c 	cuda_instance_t *instance = irq->instance;
irq               272 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_send_start(irq_t *irq)
irq               274 kernel/genarch/src/drivers/via-cuda/cuda.c 	cuda_instance_t *instance = irq->instance;
irq               300 kernel/genarch/src/drivers/via-cuda/cuda.c static void cuda_irq_send(irq_t *irq)
irq               302 kernel/genarch/src/drivers/via-cuda/cuda.c 	cuda_instance_t *instance = irq->instance;
irq                64 kernel/generic/include/cap/cap.h struct irq;
irq                92 kernel/generic/include/cap/cap.h 		struct irq *irq;
irq                57 kernel/generic/include/ddi/irq.h struct irq;
irq                59 kernel/generic/include/ddi/irq.h typedef void (*irq_handler_t)(struct irq *);
irq               116 kernel/generic/include/ddi/irq.h 	irq_ownership_t (*claim)(struct irq *);
irq                63 kernel/generic/include/ipc/irq.h #define ipc_irq_send_msg_0(irq) \
irq                64 kernel/generic/include/ipc/irq.h 	ipc_irq_send_msg((irq), 0, 0, 0, 0, 0)
irq                66 kernel/generic/include/ipc/irq.h #define ipc_irq_send_msg_1(irq, a1) \
irq                67 kernel/generic/include/ipc/irq.h 	ipc_irq_send_msg((irq), (a1), 0, 0, 0, 0)
irq                69 kernel/generic/include/ipc/irq.h #define ipc_irq_send_msg_2(irq, a1, a2) \
irq                70 kernel/generic/include/ipc/irq.h 	ipc_irq_send_msg((irq), (a1), (a2), 0, 0, 0)
irq                72 kernel/generic/include/ipc/irq.h #define ipc_irq_send_msg_3(irq, a1, a2, a3) \
irq                73 kernel/generic/include/ipc/irq.h 	ipc_irq_send_msg((irq), (a1), (a2), (a3), 0, 0)
irq                75 kernel/generic/include/ipc/irq.h #define ipc_irq_send_msg_4(irq, a1, a2, a3, a4) \
irq                76 kernel/generic/include/ipc/irq.h 	ipc_irq_send_msg((irq), (a1), (a2), (a3), (a4), 0)
irq                78 kernel/generic/include/ipc/irq.h #define ipc_irq_send_msg_5(irq, a1, a2, a3, a4, a5) \
irq                79 kernel/generic/include/ipc/irq.h 	ipc_irq_send_msg((irq), (a1), (a2), (a3), (a4), (a5))
irq               112 kernel/generic/src/ddi/irq.c void irq_initialize(irq_t *irq)
irq               114 kernel/generic/src/ddi/irq.c 	memsetb(irq, sizeof(irq_t), 0);
irq               115 kernel/generic/src/ddi/irq.c 	irq_spinlock_initialize(&irq->lock, "irq.lock");
irq               116 kernel/generic/src/ddi/irq.c 	irq->inr = -1;
irq               118 kernel/generic/src/ddi/irq.c 	irq_initialize_arch(irq);
irq               129 kernel/generic/src/ddi/irq.c void irq_register(irq_t *irq)
irq               132 kernel/generic/src/ddi/irq.c 	irq_spinlock_lock(&irq->lock, false);
irq               133 kernel/generic/src/ddi/irq.c 	hash_table_insert(&irq_kernel_hash_table, &irq->link);
irq               134 kernel/generic/src/ddi/irq.c 	irq_spinlock_unlock(&irq->lock, false);
irq               146 kernel/generic/src/ddi/irq.c 		irq_t *irq = hash_table_get_inst(lnk, irq_t, link);
irq               147 kernel/generic/src/ddi/irq.c 		irq_spinlock_lock(&irq->lock, false);
irq               148 kernel/generic/src/ddi/irq.c 		if (irq->claim(irq) == IRQ_ACCEPT) {
irq               151 kernel/generic/src/ddi/irq.c 			return irq;
irq               153 kernel/generic/src/ddi/irq.c 		irq_spinlock_unlock(&irq->lock, false);
irq               184 kernel/generic/src/ddi/irq.c 		irq_t *irq = irq_dispatch_and_lock_table(&irq_kernel_hash_table,
irq               186 kernel/generic/src/ddi/irq.c 		if (irq)
irq               187 kernel/generic/src/ddi/irq.c 			return irq;
irq               193 kernel/generic/src/ddi/irq.c 	irq_t *irq = irq_dispatch_and_lock_table(&irq_uspace_hash_table,
irq               195 kernel/generic/src/ddi/irq.c 	if (irq)
irq               196 kernel/generic/src/ddi/irq.c 		return irq;
irq               205 kernel/generic/src/ddi/irq.c 	irq_t *irq = hash_table_get_inst(item, irq_t, link);
irq               206 kernel/generic/src/ddi/irq.c 	return hash_mix(irq->inr);
irq               228 kernel/generic/src/ddi/irq.c 	irq_t *irq = hash_table_get_inst(item, irq_t, link);
irq               229 kernel/generic/src/ddi/irq.c 	return irq->inr == *inr;
irq               282 kernel/generic/src/ipc/irq.c static void irq_hash_out(irq_t *irq)
irq               285 kernel/generic/src/ipc/irq.c 	irq_spinlock_lock(&irq->lock, false);
irq               287 kernel/generic/src/ipc/irq.c 	if (irq->notif_cfg.hashed_in) {
irq               289 kernel/generic/src/ipc/irq.c 		hash_table_remove_item(&irq_uspace_hash_table, &irq->link);
irq               290 kernel/generic/src/ipc/irq.c 		irq->notif_cfg.hashed_in = false;
irq               293 kernel/generic/src/ipc/irq.c 	irq_spinlock_unlock(&irq->lock, false);
irq               299 kernel/generic/src/ipc/irq.c 	irq_t *irq = (irq_t *) arg;
irq               301 kernel/generic/src/ipc/irq.c 	irq_hash_out(irq);
irq               304 kernel/generic/src/ipc/irq.c 	code_free(irq->notif_cfg.code);
irq               305 kernel/generic/src/ipc/irq.c 	slab_free(irq_cache, irq);
irq               352 kernel/generic/src/ipc/irq.c 	irq_t *irq = (irq_t *) slab_alloc(irq_cache, FRAME_ATOMIC);
irq               353 kernel/generic/src/ipc/irq.c 	if (!irq) {
irq               361 kernel/generic/src/ipc/irq.c 		slab_free(irq_cache, irq);
irq               365 kernel/generic/src/ipc/irq.c 	irq_initialize(irq);
irq               366 kernel/generic/src/ipc/irq.c 	irq->inr = inr;
irq               367 kernel/generic/src/ipc/irq.c 	irq->claim = ipc_irq_top_half_claim;
irq               368 kernel/generic/src/ipc/irq.c 	irq->handler = ipc_irq_top_half_handler;
irq               369 kernel/generic/src/ipc/irq.c 	irq->notif_cfg.notify = true;
irq               370 kernel/generic/src/ipc/irq.c 	irq->notif_cfg.answerbox = box;
irq               371 kernel/generic/src/ipc/irq.c 	irq->notif_cfg.imethod = imethod;
irq               372 kernel/generic/src/ipc/irq.c 	irq->notif_cfg.code = code;
irq               373 kernel/generic/src/ipc/irq.c 	irq->notif_cfg.counter = 0;
irq               379 kernel/generic/src/ipc/irq.c 	irq_spinlock_lock(&irq->lock, false);
irq               381 kernel/generic/src/ipc/irq.c 	irq->notif_cfg.hashed_in = true;
irq               382 kernel/generic/src/ipc/irq.c 	hash_table_insert(&irq_uspace_hash_table, &irq->link);
irq               384 kernel/generic/src/ipc/irq.c 	irq_spinlock_unlock(&irq->lock, false);
irq               387 kernel/generic/src/ipc/irq.c 	kobject_initialize(kobject, KOBJECT_TYPE_IRQ, irq);
irq               407 kernel/generic/src/ipc/irq.c 	assert(kobj->irq->notif_cfg.answerbox == box);
irq               409 kernel/generic/src/ipc/irq.c 	irq_hash_out(kobj->irq);
irq               425 kernel/generic/src/ipc/irq.c static void send_call(irq_t *irq, call_t *call)
irq               427 kernel/generic/src/ipc/irq.c 	irq_spinlock_lock(&irq->notif_cfg.answerbox->irq_lock, false);
irq               428 kernel/generic/src/ipc/irq.c 	list_append(&call->ab_link, &irq->notif_cfg.answerbox->irq_notifs);
irq               429 kernel/generic/src/ipc/irq.c 	irq_spinlock_unlock(&irq->notif_cfg.answerbox->irq_lock, false);
irq               431 kernel/generic/src/ipc/irq.c 	waitq_wake_one(&irq->notif_cfg.answerbox->wq);
irq               442 kernel/generic/src/ipc/irq.c irq_ownership_t ipc_irq_top_half_claim(irq_t *irq)
irq               444 kernel/generic/src/ipc/irq.c 	irq_code_t *code = irq->notif_cfg.code;
irq               445 kernel/generic/src/ipc/irq.c 	uint32_t *scratch = irq->notif_cfg.scratch;
irq               447 kernel/generic/src/ipc/irq.c 	if (!irq->notif_cfg.notify)
irq               524 kernel/generic/src/ipc/irq.c void ipc_irq_top_half_handler(irq_t *irq)
irq               526 kernel/generic/src/ipc/irq.c 	assert(irq);
irq               529 kernel/generic/src/ipc/irq.c 	assert(irq_spinlock_locked(&irq->lock));
irq               531 kernel/generic/src/ipc/irq.c 	if (irq->notif_cfg.answerbox) {
irq               538 kernel/generic/src/ipc/irq.c 		call->priv = ++irq->notif_cfg.counter;
irq               541 kernel/generic/src/ipc/irq.c 		ipc_set_imethod(&call->data, irq->notif_cfg.imethod);
irq               542 kernel/generic/src/ipc/irq.c 		ipc_set_arg1(&call->data, irq->notif_cfg.scratch[1]);
irq               543 kernel/generic/src/ipc/irq.c 		ipc_set_arg2(&call->data, irq->notif_cfg.scratch[2]);
irq               544 kernel/generic/src/ipc/irq.c 		ipc_set_arg3(&call->data, irq->notif_cfg.scratch[3]);
irq               545 kernel/generic/src/ipc/irq.c 		ipc_set_arg4(&call->data, irq->notif_cfg.scratch[4]);
irq               546 kernel/generic/src/ipc/irq.c 		ipc_set_arg5(&call->data, irq->notif_cfg.scratch[5]);
irq               548 kernel/generic/src/ipc/irq.c 		send_call(irq, call);
irq               562 kernel/generic/src/ipc/irq.c void ipc_irq_send_msg(irq_t *irq, sysarg_t a1, sysarg_t a2, sysarg_t a3,
irq               565 kernel/generic/src/ipc/irq.c 	irq_spinlock_lock(&irq->lock, true);
irq               567 kernel/generic/src/ipc/irq.c 	if (irq->notif_cfg.answerbox) {
irq               570 kernel/generic/src/ipc/irq.c 			irq_spinlock_unlock(&irq->lock, true);
irq               576 kernel/generic/src/ipc/irq.c 		call->priv = ++irq->notif_cfg.counter;
irq               578 kernel/generic/src/ipc/irq.c 		ipc_set_imethod(&call->data, irq->notif_cfg.imethod);
irq               585 kernel/generic/src/ipc/irq.c 		send_call(irq, call);
irq               588 kernel/generic/src/ipc/irq.c 	irq_spinlock_unlock(&irq->lock, true);
irq                51 uspace/drv/audio/sb16/main.c     addr_range_t **pp_mpu_regs, int *irq, int *dma8, int *dma16);
irq                52 uspace/drv/audio/sb16/main.c static errno_t sb_enable_interrupt(ddf_dev_t *device, int irq);
irq               113 uspace/drv/audio/sb16/main.c 	int irq = 0, dma8 = 0, dma16 = 0;
irq               115 uspace/drv/audio/sb16/main.c 	rc = sb_get_res(device, &p_sb_regs, &p_mpu_regs, &irq, &dma8, &dma16);
irq               130 uspace/drv/audio/sb16/main.c 	rc = register_interrupt_handler(device, irq, irq_handler,
irq               140 uspace/drv/audio/sb16/main.c 	rc = sb_enable_interrupt(device, irq);
irq               181 uspace/drv/audio/sb16/main.c     addr_range_t **pp_mpu_regs, int *irq, int *dma8, int *dma16)
irq               204 uspace/drv/audio/sb16/main.c 	if (irq)
irq               205 uspace/drv/audio/sb16/main.c 		*irq = hw_res.irqs.irqs[0];
irq               248 uspace/drv/audio/sb16/main.c static errno_t sb_enable_interrupt(ddf_dev_t *device, int irq)
irq               254 uspace/drv/audio/sb16/main.c 	return hw_res_enable_interrupt(parent_sess, irq);
irq               138 uspace/drv/audio/sb16/mixer.c 	const uint8_t irq = pio_read_8(&regs->mixer_data);
irq               141 uspace/drv/audio/sb16/mixer.c 	ddf_log_debug("SB16 setup with IRQ 0x%hhx and DMA 0x%hhx.", irq, dma);
irq                82 uspace/drv/block/ddisk/ddisk.c 	int irq;
irq               309 uspace/drv/block/ddisk/ddisk.c 	ddisk_res->irq = hw_res.irqs.irqs[0];
irq               518 uspace/drv/block/ddisk/ddisk.c 	rc = register_interrupt_handler(dev, ddisk->ddisk_res.irq,
irq               531 uspace/drv/block/ddisk/ddisk.c 	    ddisk->size, ddisk->ddisk_res.irq);
irq               111 uspace/drv/block/isa-ide/isa-ide.c 		chan->irq = res->irq1;
irq               115 uspace/drv/block/isa-ide/isa-ide.c 		chan->irq = res->irq2;
irq               138 uspace/drv/block/isa-ide/isa-ide.c 	params.have_irq = (chan->irq >= 0) ? true : false;
irq               236 uspace/drv/block/isa-ide/isa-ide.c 	if (chan->irq < 0)
irq               259 uspace/drv/block/isa-ide/isa-ide.c 	ddf_msg(LVL_NOTE, "IRQ %d", chan->irq);
irq               260 uspace/drv/block/isa-ide/isa-ide.c 	rc = register_interrupt_handler(chan->ctrl->dev, chan->irq,
irq               285 uspace/drv/block/isa-ide/isa-ide.c 	rc = hw_res_disable_interrupt(parent_sess, chan->irq);
irq               307 uspace/drv/block/isa-ide/isa-ide.c 	hw_res_clear_interrupt(parent_sess, chan->irq);
irq               404 uspace/drv/block/isa-ide/isa-ide.c 	    chan->irq, chan->chan_id);
irq               408 uspace/drv/block/isa-ide/isa-ide.c 	rc = hw_res_enable_interrupt(parent_sess, chan->irq);
irq               432 uspace/drv/block/isa-ide/isa-ide.c 	rc = hw_res_disable_interrupt(parent_sess, chan->irq);
irq                71 uspace/drv/block/isa-ide/isa-ide.h 	int irq;
irq               108 uspace/drv/block/pc-floppy/main.c 		res->irq = hw_res.irqs.irqs[0];
irq               110 uspace/drv/block/pc-floppy/main.c 		res->irq = -1;
irq               154 uspace/drv/block/pc-floppy/pc-floppy.c 	fdc->irq = res->irq;
irq               302 uspace/drv/block/pc-floppy/pc-floppy.c 	if (fdc->irq < 0)
irq               324 uspace/drv/block/pc-floppy/pc-floppy.c 	ddf_msg(LVL_NOTE, "IRQ %d", fdc->irq);
irq               326 uspace/drv/block/pc-floppy/pc-floppy.c 	rc = register_interrupt_handler(fdc->dev, fdc->irq,
irq               335 uspace/drv/block/pc-floppy/pc-floppy.c 	rc = hw_res_enable_interrupt(parent_sess, fdc->irq);
irq               362 uspace/drv/block/pc-floppy/pc-floppy.c 	rc = hw_res_disable_interrupt(parent_sess, fdc->irq);
irq               924 uspace/drv/block/pc-floppy/pc-floppy.c 	hw_res_clear_interrupt(parent_sess, fdc->irq);
irq                52 uspace/drv/block/pc-floppy/pc-floppy.h 	int irq;
irq                67 uspace/drv/block/pc-floppy/pc-floppy.h 	int irq;
irq               198 uspace/drv/block/pci-ide/pci-ide.c 		chan->irq = res->irq1;
irq               202 uspace/drv/block/pci-ide/pci-ide.c 		chan->irq = res->irq2;
irq               265 uspace/drv/block/pci-ide/pci-ide.c 	params.have_irq = (chan->irq >= 0) ? true : false;
irq               380 uspace/drv/block/pci-ide/pci-ide.c 	if (chan->irq < 0)
irq               412 uspace/drv/block/pci-ide/pci-ide.c 	ddf_msg(LVL_NOTE, "IRQ %d", chan->irq);
irq               413 uspace/drv/block/pci-ide/pci-ide.c 	rc = register_interrupt_handler(chan->ctrl->dev, chan->irq,
irq               438 uspace/drv/block/pci-ide/pci-ide.c 	rc = hw_res_disable_interrupt(parent_sess, chan->irq);
irq               460 uspace/drv/block/pci-ide/pci-ide.c 	hw_res_clear_interrupt(parent_sess, chan->irq);
irq               557 uspace/drv/block/pci-ide/pci-ide.c 	    chan->irq, chan->chan_id);
irq               561 uspace/drv/block/pci-ide/pci-ide.c 	rc = hw_res_enable_interrupt(parent_sess, chan->irq);
irq               585 uspace/drv/block/pci-ide/pci-ide.c 	rc = hw_res_disable_interrupt(parent_sess, chan->irq);
irq                73 uspace/drv/block/pci-ide/pci-ide.h 	int irq;
irq               118 uspace/drv/block/virtio-blk/virtio-blk.c 	virtio_blk->irq = res.irqs.irqs[0];
irq               151 uspace/drv/block/virtio-blk/virtio-blk.c 	return register_interrupt_handler(dev, virtio_blk->irq,
irq               407 uspace/drv/block/virtio-blk/virtio-blk.c 	    virtio_blk->irq);
irq               413 uspace/drv/block/virtio-blk/virtio-blk.c 	ddf_msg(LVL_NOTE, "Registered IRQ %d", virtio_blk->irq);
irq                82 uspace/drv/block/virtio-blk/virtio-blk.h 	int irq;
irq                61 uspace/drv/bus/adb/cuda_adb/cuda_adb.h 	int irq;
irq                91 uspace/drv/bus/adb/cuda_adb/main.c 	res->irq = hw_res.irqs.irqs[0];
irq               118 uspace/drv/bus/isa/isa.c static bool isa_fun_owns_interrupt(isa_fun_t *fun, int irq)
irq               125 uspace/drv/bus/isa/isa.c 		    res->resources[i].res.interrupt.irq == irq) {
irq               133 uspace/drv/bus/isa/isa.c static errno_t isa_fun_enable_interrupt(ddf_fun_t *fnode, int irq)
irq               137 uspace/drv/bus/isa/isa.c 	if (!isa_fun_owns_interrupt(fun, irq))
irq               140 uspace/drv/bus/isa/isa.c 	return irc_enable_interrupt(irq);
irq               143 uspace/drv/bus/isa/isa.c static errno_t isa_fun_disable_interrupt(ddf_fun_t *fnode, int irq)
irq               147 uspace/drv/bus/isa/isa.c 	if (!isa_fun_owns_interrupt(fun, irq))
irq               150 uspace/drv/bus/isa/isa.c 	return irc_disable_interrupt(irq);
irq               153 uspace/drv/bus/isa/isa.c static errno_t isa_fun_clear_interrupt(ddf_fun_t *fnode, int irq)
irq               157 uspace/drv/bus/isa/isa.c 	if (!isa_fun_owns_interrupt(fun, irq))
irq               160 uspace/drv/bus/isa/isa.c 	return irc_clear_interrupt(irq);
irq               401 uspace/drv/bus/isa/isa.c static void isa_fun_add_irq(isa_fun_t *fun, int irq)
irq               408 uspace/drv/bus/isa/isa.c 		resources[count].res.interrupt.irq = irq;
irq               412 uspace/drv/bus/isa/isa.c 		ddf_msg(LVL_NOTE, "Added irq 0x%x to function %s", irq,
irq               498 uspace/drv/bus/isa/isa.c 	int irq = 0;
irq               502 uspace/drv/bus/isa/isa.c 	irq = (int) strtol(val, &end, 10);
irq               505 uspace/drv/bus/isa/isa.c 		isa_fun_add_irq(fun, irq);
irq               100 uspace/drv/bus/pci/pciintel/pci.c static bool pciintel_fun_owns_interrupt(pci_fun_t *fun, int irq)
irq               107 uspace/drv/bus/pci/pciintel/pci.c 		    res->resources[i].res.interrupt.irq == irq) {
irq               115 uspace/drv/bus/pci/pciintel/pci.c static errno_t pciintel_enable_interrupt(ddf_fun_t *fnode, int irq)
irq               119 uspace/drv/bus/pci/pciintel/pci.c 	if (!pciintel_fun_owns_interrupt(fun, irq))
irq               122 uspace/drv/bus/pci/pciintel/pci.c 	return irc_enable_interrupt(irq);
irq               125 uspace/drv/bus/pci/pciintel/pci.c static errno_t pciintel_disable_interrupt(ddf_fun_t *fnode, int irq)
irq               129 uspace/drv/bus/pci/pciintel/pci.c 	if (!pciintel_fun_owns_interrupt(fun, irq))
irq               132 uspace/drv/bus/pci/pciintel/pci.c 	return irc_disable_interrupt(irq);
irq               135 uspace/drv/bus/pci/pciintel/pci.c static errno_t pciintel_clear_interrupt(ddf_fun_t *fnode, int irq)
irq               139 uspace/drv/bus/pci/pciintel/pci.c 	if (!pciintel_fun_owns_interrupt(fun, irq))
irq               142 uspace/drv/bus/pci/pciintel/pci.c 	return irc_clear_interrupt(irq);
irq               600 uspace/drv/bus/pci/pciintel/pci.c void pci_add_interrupt(pci_fun_t *fun, int irq)
irq               610 uspace/drv/bus/pci/pciintel/pci.c 	hw_resources[count].res.interrupt.irq = irq;
irq               614 uspace/drv/bus/pci/pciintel/pci.c 	ddf_msg(LVL_NOTE, "Function %s uses irq %x.", ddf_fun_get_name(fun->fnode), irq);
irq               619 uspace/drv/bus/pci/pciintel/pci.c 	uint8_t irq = pci_conf_read_8(fun, PCI_BRIDGE_INT_LINE);
irq               622 uspace/drv/bus/pci/pciintel/pci.c 	if (pin != 0 && irq != 0xff)
irq               623 uspace/drv/bus/pci/pciintel/pci.c 		pci_add_interrupt(fun, irq);
irq               102 uspace/drv/bus/usb/ehci/hc.c errno_t hc_gen_irq_code(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)
irq               143 uspace/drv/bus/usb/ehci/hc.c 	*irq = hw_res->irqs.irqs[0];
irq               105 uspace/drv/bus/usb/ohci/hc.c errno_t hc_gen_irq_code(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)
irq               143 uspace/drv/bus/usb/ohci/hc.c 	*irq = hw_res->irqs.irqs[0];
irq               113 uspace/drv/bus/usb/uhci/hc.c errno_t hc_gen_irq_code(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)
irq               149 uspace/drv/bus/usb/uhci/hc.c 	*irq = hw_res->irqs.irqs[0];
irq               363 uspace/drv/bus/usb/xhci/hc.c errno_t hc_irq_code_gen(irq_code_t *code, xhci_hc_t *hc, const hw_res_list_parsed_t *hw_res, int *irq)
irq               406 uspace/drv/bus/usb/xhci/hc.c 	*irq = hw_res->irqs.irqs[0];
irq                71 uspace/drv/bus/usb/xhci/main.c     const hw_res_list_parsed_t *hw_res, int *irq)
irq                74 uspace/drv/bus/usb/xhci/main.c 	return hc_irq_code_gen(code, hc, hw_res, irq);
irq               149 uspace/drv/char/i8042/i8042.c 	hw_res_clear_interrupt(parent_sess, port->irq);
irq               208 uspace/drv/char/i8042/i8042.c 	dev->kbd->irq = irq_kbd;
irq               233 uspace/drv/char/i8042/i8042.c 	dev->aux->irq = irq_mouse;
irq                79 uspace/drv/char/i8042/i8042.h 	int irq;
irq                91 uspace/drv/char/msim-con/main.c 	res->irq = hw_res.irqs.irqs[0];
irq               130 uspace/drv/char/msim-con/msim-con.c 	rc = async_irq_subscribe(res->irq, msim_irq_handler, con,
irq                54 uspace/drv/char/msim-con/msim-con.h 	int irq;
irq               164 uspace/drv/char/ns8250/ns8250.c 	int irq;
irq               430 uspace/drv/char/ns8250/ns8250.c 	bool irq = false;
irq               437 uspace/drv/char/ns8250/ns8250.c 			ns->irq = res->res.interrupt.irq;
irq               438 uspace/drv/char/ns8250/ns8250.c 			irq = true;
irq               440 uspace/drv/char/ns8250/ns8250.c 			    ddf_dev_get_name(ns->dev), ns->irq);
irq               461 uspace/drv/char/ns8250/ns8250.c 	if (!irq || !ioport) {
irq               508 uspace/drv/char/ns8250/ns8250.c 	errno_t rc = hw_res_enable_interrupt(ns->parent_sess, ns->irq);
irq               800 uspace/drv/char/ns8250/ns8250.c 	hw_res_clear_interrupt(ns->parent_sess, ns->irq);
irq               810 uspace/drv/char/ns8250/ns8250.c 	return register_interrupt_handler(ns->dev, ns->irq,
irq                91 uspace/drv/char/pc-lpt/main.c 	res->irq = hw_res.irqs.irqs[0];
irq               126 uspace/drv/char/pc-lpt/pc-lpt.c 	rc = async_irq_subscribe(res->irq, pc_lpt_irq_handler, lpt,
irq                50 uspace/drv/char/pc-lpt/pc-lpt.h 	int irq;
irq                91 uspace/drv/char/pl011/main.c 	res->irq = hw_res.irqs.irqs[0];
irq               270 uspace/drv/char/pl011/pl011.c 	rc = async_irq_subscribe(res->irq, pl011_irq_handler, pl011,
irq                54 uspace/drv/char/pl011/pl011.h 	int irq;
irq               133 uspace/drv/intctl/apic/apic.c static int irq_to_pin(int irq)
irq               137 uspace/drv/intctl/apic/apic.c 	if (irq == 0)
irq               139 uspace/drv/intctl/apic/apic.c 	return irq;
irq               142 uspace/drv/intctl/apic/apic.c static errno_t apic_enable_irq(apic_t *apic, sysarg_t irq)
irq               146 uspace/drv/intctl/apic/apic.c 	if (irq > APIC_MAX_IRQ)
irq               149 uspace/drv/intctl/apic/apic.c 	int pin = irq_to_pin(irq);
irq               162 uspace/drv/intctl/gicv2/gicv2.c static errno_t gicv2_enable_irq(gicv2_t *gicv2, sysarg_t irq)
irq               164 uspace/drv/intctl/gicv2/gicv2.c 	if (irq > gicv2->max_irq)
irq               167 uspace/drv/intctl/gicv2/gicv2.c 	ddf_msg(LVL_NOTE, "Enable interrupt '%" PRIun "'.", irq);
irq               170 uspace/drv/intctl/gicv2/gicv2.c 	pio_write_32(&distr->isenabler[irq / 32], BIT_V(uint32_t, irq % 32));
irq                66 uspace/drv/intctl/i8259/i8259.c static errno_t pic_enable_irq(i8259_t *i8259, sysarg_t irq)
irq                68 uspace/drv/intctl/i8259/i8259.c 	if (irq > PIC_MAX_IRQ)
irq                71 uspace/drv/intctl/i8259/i8259.c 	uint16_t irqmask = 1 << irq;
irq                54 uspace/drv/intctl/icp-ic/icp-ic.c static errno_t icpic_enable_irq(icpic_t *icpic, sysarg_t irq)
irq                56 uspace/drv/intctl/icp-ic/icp-ic.c 	if (irq > icpic_max_irq)
irq                59 uspace/drv/intctl/icp-ic/icp-ic.c 	ddf_msg(LVL_NOTE, "Enable IRQ %zu", irq);
irq                61 uspace/drv/intctl/icp-ic/icp-ic.c 	pio_write_32(&icpic->regs->irq_enableset, BIT_V(uint32_t, irq));
irq               163 uspace/drv/nic/e1k/e1k.c 	int irq;
irq              1283 uspace/drv/nic/e1k/e1k.c 	errno_t rc = register_interrupt_handler(nic_get_ddf_dev(nic), e1000->irq,
irq              1769 uspace/drv/nic/e1k/e1k.c 	errno_t rc = hw_res_enable_interrupt(e1000->parent_sess, e1000->irq);
irq              1814 uspace/drv/nic/e1k/e1k.c 	hw_res_disable_interrupt(e1000->parent_sess, e1000->irq);
irq              1959 uspace/drv/nic/e1k/e1k.c 	e1000->irq = hw_resources->irqs.irqs[0];
irq               235 uspace/drv/nic/ne2k/dp8390.h 	int irq;
irq               163 uspace/drv/nic/ne2k/ne2k.c 	    ne2k->irq, ne2k_interrupt_handler, (void *)nic_data, &ne2k->code,
irq               208 uspace/drv/nic/ne2k/ne2k.c 	ne2k->irq = hw_res_parsed.irqs.irqs[0];
irq               260 uspace/drv/nic/ne2k/ne2k.c 		rc = hw_res_enable_interrupt(ne2k->parent_sess, ne2k->irq);
irq               273 uspace/drv/nic/ne2k/ne2k.c 	(void) hw_res_disable_interrupt(ne2k->parent_sess, ne2k->irq);
irq               860 uspace/drv/nic/rtl8139/driver.c 	    rtl8139->irq, rtl8139_interrupt_handler, (void *)nic_data,
irq               922 uspace/drv/nic/rtl8139/driver.c 	errno_t rc = hw_res_enable_interrupt(rtl8139->parent_sess, rtl8139->irq);
irq               928 uspace/drv/nic/rtl8139/driver.c 	ddf_msg(LVL_DEBUG, "Device activated, interrupt %d registered", rtl8139->irq);
irq              1045 uspace/drv/nic/rtl8139/driver.c 	rtl8139->irq = hw_resources->irqs.irqs[0];
irq              1046 uspace/drv/nic/rtl8139/driver.c 	ddf_msg(LVL_DEBUG, "%s device: irq 0x%x assigned", ddf_dev_get_name(dev), rtl8139->irq);
irq                98 uspace/drv/nic/rtl8139/driver.h 	int irq;
irq               219 uspace/drv/nic/rtl8169/driver.c 	rtl8169->irq = hw_resources->irqs.irqs[0];
irq               220 uspace/drv/nic/rtl8169/driver.c 	ddf_msg(LVL_DEBUG, "%s device: irq 0x%x assigned", ddf_dev_get_name(dev), rtl8169->irq);
irq               374 uspace/drv/nic/rtl8169/driver.c 	    rtl8169->irq, rtl8169_irq_handler, (void *)rtl8169,
irq               753 uspace/drv/nic/rtl8169/driver.c 	hw_res_enable_interrupt(rtl8169->parent_sess, rtl8169->irq);
irq                60 uspace/drv/nic/rtl8169/driver.h 	int irq;
irq               137 uspace/drv/nic/virtio-net/virtio-net.c 	virtio_net->irq = res.irqs.irqs[0];
irq               170 uspace/drv/nic/virtio-net/virtio-net.c 	return register_interrupt_handler(dev, virtio_net->irq,
irq               297 uspace/drv/nic/virtio-net/virtio-net.c 	    virtio_net->irq);
irq               303 uspace/drv/nic/virtio-net/virtio-net.c 	ddf_msg(LVL_NOTE, "Registered IRQ %d", virtio_net->irq);
irq                76 uspace/drv/nic/virtio-net/virtio-net.h 	int irq;
irq                80 uspace/drv/platform/amdm37x/main.c 		.res.interrupt = { .irq = 76 },
irq                96 uspace/drv/platform/amdm37x/main.c 		.res.interrupt = { .irq = 77 },
irq               127 uspace/drv/platform/amdm37x/main.c 		.res.interrupt = { .irq = 25 },
irq               267 uspace/drv/platform/amdm37x/main.c static errno_t amdm37x_enable_interrupt(ddf_fun_t *fun, int irq)
irq               109 uspace/drv/platform/arm64virt/arm64virt.c 			.irq = arm64virt_uart_irq
irq               149 uspace/drv/platform/arm64virt/arm64virt.c static errno_t arm64virt_enable_interrupt(ddf_fun_t *fun, int irq)
irq               109 uspace/drv/platform/hikey960/hikey960.c 			.irq = hikey960_uart_irq
irq               149 uspace/drv/platform/hikey960/hikey960.c static errno_t hikey960_enable_interrupt(ddf_fun_t *fun, int irq)
irq                87 uspace/drv/platform/icp/icp.c 			.irq = icp_kbd_irq
irq               105 uspace/drv/platform/icp/icp.c 			.irq = icp_mouse_irq
irq               164 uspace/drv/platform/icp/icp.c static bool icp_fun_owns_interrupt(icp_fun_t *fun, int irq)
irq               171 uspace/drv/platform/icp/icp.c 		    res->resources[i].res.interrupt.irq == irq) {
irq               179 uspace/drv/platform/icp/icp.c static errno_t icp_fun_enable_interrupt(ddf_fun_t *fnode, int irq)
irq               183 uspace/drv/platform/icp/icp.c 	if (!icp_fun_owns_interrupt(fun, irq))
irq               186 uspace/drv/platform/icp/icp.c 	return irc_enable_interrupt(irq);
irq               189 uspace/drv/platform/icp/icp.c static errno_t icp_fun_disable_interrupt(ddf_fun_t *fnode, int irq)
irq               193 uspace/drv/platform/icp/icp.c 	if (!icp_fun_owns_interrupt(fun, irq))
irq               196 uspace/drv/platform/icp/icp.c 	return irc_disable_interrupt(irq);
irq               199 uspace/drv/platform/icp/icp.c static errno_t icp_fun_clear_interrupt(ddf_fun_t *fnode, int irq)
irq               203 uspace/drv/platform/icp/icp.c 	if (!icp_fun_owns_interrupt(fun, irq))
irq               206 uspace/drv/platform/icp/icp.c 	return irc_clear_interrupt(irq);
irq                66 uspace/drv/platform/mac/mac.c 			.irq = 0 /* patched at run time */
irq               199 uspace/drv/platform/mac/mac.c 	adb_res[1].res.interrupt.irq = cuda_inr;
irq               228 uspace/drv/platform/mac/mac.c static errno_t mac_enable_interrupt(ddf_fun_t *fun, int irq)
irq               144 uspace/drv/platform/malta/malta.c static errno_t malta_enable_interrupt(ddf_fun_t *fun, int irq)
irq                90 uspace/drv/platform/msim/msim.c 			.irq = MSIM_DDISK_IRQ
irq               121 uspace/drv/platform/msim/msim.c 			.irq = MSIM_KBD_IRQ
irq               153 uspace/drv/platform/msim/msim.c static errno_t msim_enable_interrupt(ddf_fun_t *fun, int irq)
irq               127 uspace/drv/platform/pc/pc.c static errno_t pc_enable_interrupt(ddf_fun_t *fun, int irq)
irq               159 uspace/drv/platform/sun4u/sun4u.c static errno_t sun4u_enable_interrupt(ddf_fun_t *fun, int irq)
irq               115 uspace/drv/platform/sun4v/sun4v.c static errno_t sun4v_enable_interrupt(ddf_fun_t *fun, int irq)
irq                78 uspace/lib/c/generic/device/hw_res.c errno_t hw_res_enable_interrupt(async_sess_t *sess, int irq)
irq                83 uspace/lib/c/generic/device/hw_res.c 	    HW_RES_ENABLE_INTERRUPT, irq);
irq                89 uspace/lib/c/generic/device/hw_res.c errno_t hw_res_disable_interrupt(async_sess_t *sess, int irq)
irq                94 uspace/lib/c/generic/device/hw_res.c 	    HW_RES_DISABLE_INTERRUPT, irq);
irq               100 uspace/lib/c/generic/device/hw_res.c errno_t hw_res_clear_interrupt(async_sess_t *sess, int irq)
irq               105 uspace/lib/c/generic/device/hw_res.c 	    HW_RES_CLEAR_INTERRUPT, irq);
irq                67 uspace/lib/c/generic/device/hw_res_parsed.c 	int irq = res->res.interrupt.irq;
irq                73 uspace/lib/c/generic/device/hw_res_parsed.c 			if (out->irqs.irqs[i] == irq)
irq                78 uspace/lib/c/generic/device/hw_res_parsed.c 	out->irqs.irqs[count] = irq;
irq                95 uspace/lib/c/include/device/hw_res.h 			int irq;
irq                94 uspace/lib/device/src/irc.c errno_t irc_enable_interrupt(int irq)
irq               105 uspace/lib/device/src/irc.c 	rc = async_req_1_0(exch, IRC_ENABLE_INTERRUPT, irq);
irq               117 uspace/lib/device/src/irc.c errno_t irc_disable_interrupt(int irq)
irq               128 uspace/lib/device/src/irc.c 	rc = async_req_1_0(exch, IRC_DISABLE_INTERRUPT, irq);
irq               141 uspace/lib/device/src/irc.c errno_t irc_clear_interrupt(int irq)
irq               152 uspace/lib/device/src/irc.c 	rc = async_req_1_0(exch, IRC_CLEAR_INTERRUPT, irq);
irq                45 uspace/lib/drv/generic/interrupt.c errno_t register_interrupt_handler(ddf_dev_t *dev, int irq,
irq                50 uspace/lib/drv/generic/interrupt.c 	return async_irq_subscribe(irq, (async_notification_handler_t) handler,
irq                77 uspace/lib/drv/generic/remote_hw_res.c 	const int irq = DEV_IPC_GET_ARG1(*call);
irq                78 uspace/lib/drv/generic/remote_hw_res.c 	const errno_t ret = hw_res_ops->enable_interrupt(fun, irq);
irq                92 uspace/lib/drv/generic/remote_hw_res.c 	const int irq = DEV_IPC_GET_ARG1(*call);
irq                93 uspace/lib/drv/generic/remote_hw_res.c 	const errno_t ret = hw_res_ops->disable_interrupt(fun, irq);
irq               107 uspace/lib/drv/generic/remote_hw_res.c 	const int irq = DEV_IPC_GET_ARG1(*call);
irq               108 uspace/lib/drv/generic/remote_hw_res.c 	const errno_t ret = hw_res_ops->clear_interrupt(fun, irq);
irq                95 uspace/lib/posix/include/libc/device/hw_res.h 			int irq;
irq               170 uspace/lib/usbhost/src/hcd.c 	int irq;
irq               172 uspace/lib/usbhost/src/hcd.c 	ret = hc_driver->irq_code_gen(&irq_code, hcd, hw_res, &irq);
irq               181 uspace/lib/usbhost/src/hcd.c 	ret = register_interrupt_handler(hcd->ddf_dev, irq, irq_handler,
irq               191 uspace/lib/usbhost/src/hcd.c 	ret = hcd_ddf_enable_interrupt(hcd, irq);
HelenOS homepage, sources at GitHub