Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 59) sorted by relevance

123

/libcpu/risc-v/t-head/c906/
A Dplic.c54 if (handler->present) in plic_irq_toggle()
56 plic_toggle(handler, hwirq, enable); in plic_irq_toggle()
76 isr = isr_table[IRQ_OFFSET + irq].handler; in generic_handle_irq()
118 if (c906_plic_regs == RT_NULL || !handler->present) in plic_handle_irq()
183 struct plic_handler *handler; in plic_init() local
195 handler = &c906_plic_handlers[cpu]; in plic_init()
196 if (handler->present) in plic_init()
202 handler->present = RT_TRUE; in plic_init()
206 handler->hart_base = (void *)rt_ioremap(handler->hart_base, 0x1000); in plic_init()
207 handler->enable_base = (void *)rt_ioremap(handler->enable_base, 0x1000); in plic_init()
[all …]
A Dinterrupt.c42 isr_table[idx].handler = rt_hw_interrupt_handler; in rt_hw_interrupt_init()
87 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
96 old_handler = isr_table[IRQ_OFFSET + vector].handler; in rt_hw_interrupt_install()
101 isr_table[IRQ_OFFSET + vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/risc-v/t-head/c908/
A Dplic.c54 if (handler->present) in plic_irq_toggle()
56 plic_toggle(handler, hwirq, enable); in plic_irq_toggle()
76 isr = isr_table[IRQ_OFFSET + irq].handler; in generic_handle_irq()
118 if (plic_regs == RT_NULL || !handler->present) in plic_handle_irq()
183 struct plic_handler *handler; in plic_init() local
195 handler = &plic_handlers[cpu]; in plic_init()
196 if (handler->present) in plic_init()
202 handler->present = RT_TRUE; in plic_init()
206 handler->hart_base = (void *)rt_ioremap(handler->hart_base, 0x1000); in plic_init()
207 handler->enable_base = (void *)rt_ioremap(handler->enable_base, 0x1000); in plic_init()
[all …]
A Dinterrupt.c42 isr_table[idx].handler = rt_hw_interrupt_handler; in rt_hw_interrupt_init()
87 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
96 old_handler = isr_table[IRQ_OFFSET + vector].handler; in rt_hw_interrupt_install()
101 isr_table[IRQ_OFFSET + vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/arm/cortex-r4/
A Dinterrupt.c56 irq_desc[i].handler = rt_hw_int_not_handle; in rt_hw_interrupt_init()
88 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
95 old_handler = irq_desc[vector].handler; in rt_hw_interrupt_install()
96 if (handler != RT_NULL) in rt_hw_interrupt_install()
98 irq_desc[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/arm/AT91SAM7X/
A Dinterrupt.c46 irq_desc[index].handler = (rt_isr_handler_t)rt_hw_interrupt_handler; in rt_hw_interrupt_init()
93 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
99 old_handler = irq_desc[vector].handler; in rt_hw_interrupt_install()
100 if (handler != RT_NULL) in rt_hw_interrupt_install()
102 irq_desc[vector].handler = (rt_isr_handler_t)handler; in rt_hw_interrupt_install()
/libcpu/arm/sep4020/
A Dinterrupt.c69 isr_table[idx].handler = rt_hw_interrupt_handle; in rt_hw_interrupt_init()
109 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
116 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
118 if (handler != RT_NULL) in rt_hw_interrupt_install()
123 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/risc-v/virt64/
A Dinterrupt.c55 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
62 old_handler = irq_desc[vector].handler; in rt_hw_interrupt_install()
63 if (handler != RT_NULL) in rt_hw_interrupt_install()
65 irq_desc[vector].handler = (rt_isr_handler_t)handler; in rt_hw_interrupt_install()
85 irq_desc[idx].handler = (rt_isr_handler_t)rt_hw_interrupt_handle; in rt_hw_interrupt_init()
/libcpu/arm/s3c24x0/
A Dinterrupt.c64 isr_table[idx].handler = rt_hw_interrupt_handle; in rt_hw_interrupt_init()
106 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
113 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
115 if (handler != RT_NULL) in rt_hw_interrupt_install()
120 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/arm/lpc24xx/
A Dinterrupt.c51 irq_desc[i].handler = rt_hw_interrupt_handler; in rt_hw_interrupt_init()
85 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
92 old_handler = irq_desc[vector].handler; in rt_hw_interrupt_install()
93 if (handler != RT_NULL) in rt_hw_interrupt_install()
95 irq_desc[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/ti-dsp/c6x/
A Dintexc.asm105 ; handler NMI interrupt
150 ; handler bad interrupt
159 ; handler INT4 interrupt
168 ; handler INT5 interrupt
177 ; handler INT6 interrupt
186 ; handler INT7 interrupt
194 ; handler INT8 interrupt
203 ; handler INT9 interrupt
212 ; handler INT10 interrupt
221 ; handler INT11 interrupt
[all …]
A Dinterrupt.c76 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
83 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
85 if (handler != RT_NULL) in rt_hw_interrupt_install()
90 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/arm/zynqmp-r5/
A Dinterrupt.c42 isr_table[idx].handler = rt_hw_interrupt_handle; in rt_hw_interrupt_init()
101 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
108 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
110 if (handler != RT_NULL) in rt_hw_interrupt_install()
115 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/risc-v/common/
A Dtrap_common.c32 rv32irq_table[idx].handler = (rt_isr_handler_t)rt_hw_interrupt_handle; in rt_hw_interrupt_init()
46 rt_weak rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
53 old_handler = rv32irq_table[vector].handler; in rt_hw_interrupt_install()
54 if (handler != RT_NULL) in rt_hw_interrupt_install()
56 rv32irq_table[vector].handler = (rt_isr_handler_t)handler; in rt_hw_interrupt_install()
81 rv32irq_table[irq_id].handler(irq_id, rv32irq_table[irq_id].param); in rt_rv32_system_irq_handler()
/libcpu/ia32/
A Dinterrupt.c66 irq_desc[vector].handler(vector, irq_desc[vector].param); in rt_hw_isr()
84 irq_desc[idx].handler = (rt_isr_handler_t)rt_hw_interrupt_handle; in rt_hw_interrupt_init()
108 rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
116 old_handler = irq_desc[vector].handler; in rt_hw_interrupt_install()
117 if (handler != RT_NULL) in rt_hw_interrupt_install()
119 irq_desc[vector].handler = (rt_isr_handler_t)handler; in rt_hw_interrupt_install()
/libcpu/arm/lpc214x/
A Dcpuport.c97 irq_desc[index].handler = rt_hw_interrupt_handler; in rt_hw_interrupt_init()
139 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
151 old_handler = irq_desc[vector].handler; in rt_hw_interrupt_install()
152 if (handler != RT_NULL) in rt_hw_interrupt_install()
154 irq_desc[vector].handler = handler; in rt_hw_interrupt_install()
172 irq->handler(irqno, irq->param); in rt_hw_trap_irq()
/libcpu/arm/realview-a8-vmm/
A Dinterrupt.c91 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
98 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
100 if (handler != RT_NULL) in rt_hw_interrupt_install()
105 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/sparc-v8/bm3803/
A Dinterrupt.c70 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
77 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
79 if (handler != RT_NULL) in rt_hw_interrupt_install()
84 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/mips/gs232/
A Dinterrupt.c66 irq_handle_table[idx].handler = rt_hw_interrupt_handler; in rt_hw_interrupt_init()
95 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
102 old_handler = irq_handle_table[vector].handler; in rt_hw_interrupt_install()
107 irq_handle_table[vector].handler = handler; in rt_hw_interrupt_install()
124 irq_func = irq_handle_table[IRQn].handler; in gs232_do_IRQ()
/libcpu/arm/am335x/
A Dinterrupt.c170 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
177 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
179 if (handler != RT_NULL) in rt_hw_interrupt_install()
184 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
214 isr_table[idx].handler, isr_table[idx].param); in rt_dump_isr_table()
217 idx, isr_table[idx].handler, isr_table[idx].param); in rt_dump_isr_table()
/libcpu/unicore32/sep6200/
A Dinterrupt.c137 isr_table[idx].handler = (rt_isr_handler_t)rt_hw_interrupt_handle; in rt_hw_interrupt_init()
187 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
194 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
196 if (handler != RT_NULL) in rt_hw_interrupt_install()
201 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/ppc/ppc405/
A Dinterrupt.c41 if (isr_table [vec].handler != 0) in uic_int_handler()
43 (*isr_table[vec].handler)(vec, isr_table[vec].param); in uic_int_handler()
91 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
92 isr_table[vector].handler = new_handler; in rt_hw_interrupt_install()
122 isr_table [vector].handler = (rt_isr_handler_t)rt_hw_interrupt_handler; in rt_hw_interrupt_init()
/libcpu/arm/cortex-r52/
A Dinterrupt.c261 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
268 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
270 if (handler != RT_NULL) in rt_hw_interrupt_install()
275 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
/libcpu/aarch64/common/
A Dinterrupt.c71 isr_table[index].handler = default_isr_handler; in rt_hw_interrupt_init()
354 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
361 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
363 if (handler != RT_NULL) in rt_hw_interrupt_install()
368 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
435 if (isr_table[idx].handler != RT_NULL) in list_isr()
437 … rt_kprintf("%*.s %4d %p %p %16d", RT_NAME_MAX, isr_table[idx].name, idx, isr_table[idx].handler, in list_isr()
/libcpu/arm/cortex-a/
A Dinterrupt.c303 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
310 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
312 if (handler != RT_NULL) in rt_hw_interrupt_install()
317 isr_table[vector].handler = handler; in rt_hw_interrupt_install()

Completed in 35 milliseconds

123