Lines Matching refs:vector
30 static void rt_hw_interrupt_handle(int vector, void *param) in rt_hw_interrupt_handle() argument
32 rt_kprintf("Unhandled interrupt %d occured!!!\n", vector); in rt_hw_interrupt_handle()
78 void rt_hw_interrupt_mask(int vector) in rt_hw_interrupt_mask() argument
80 INTMSK |= 1 << vector; in rt_hw_interrupt_mask()
87 void rt_hw_interrupt_umask(int vector) in rt_hw_interrupt_umask() argument
89 if (vector == INTNOTUSED6) in rt_hw_interrupt_umask()
91 rt_kprintf("Interrupt vec %d is not used!\n", vector); in rt_hw_interrupt_umask()
94 else if (vector == INTGLOBAL) in rt_hw_interrupt_umask()
97 INTMSK &= ~(1 << vector); in rt_hw_interrupt_umask()
106 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
111 if(vector < MAX_HANDLERS) in rt_hw_interrupt_install()
113 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
118 rt_strncpy(isr_table[vector].name, name, RT_NAME_MAX); in rt_hw_interrupt_install()
120 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
121 isr_table[vector].param = param; in rt_hw_interrupt_install()