Lines Matching refs:vector
26 void rt_hw_interrupt_handler(int vector) in rt_hw_interrupt_handler() argument
28 rt_kprintf("Unhandled interrupt %d occured!!!\n", vector); in rt_hw_interrupt_handler()
54 void rt_hw_interrupt_mask(int vector) in rt_hw_interrupt_mask() argument
57 AT91C_AIC_IDCR = 1 << vector; in rt_hw_interrupt_mask()
60 AT91C_AIC_ICCR = 1 << vector; in rt_hw_interrupt_mask()
67 void rt_hw_interrupt_umask(int vector) in rt_hw_interrupt_umask() argument
69 AT91C_AIC_IECR = 1 << vector; in rt_hw_interrupt_umask()
78 void rt_hw_interrupt_install(int vector, rt_isr_handler_t new_handler, rt_isr_handler_t *old_handle… in rt_hw_interrupt_install() argument
80 if(vector >= 0 && vector < MAX_HANDLERS) in rt_hw_interrupt_install()
82 if (*old_handler != RT_NULL) *old_handler = (rt_isr_handler_t)AT91C_AIC_SVR(vector); in rt_hw_interrupt_install()
83 if (new_handler != RT_NULL) AT91C_AIC_SVR(vector) = (rt_uint32_t)new_handler; in rt_hw_interrupt_install()