Lines Matching refs:vector
44 void rt_hw_interrupt_mask(int vector) in rt_hw_interrupt_mask() argument
46 if (vector > 0x1F || vector < 0x11) in rt_hw_interrupt_mask()
49 regs->irqmask &= ~(1 << (vector - 0x10)); in rt_hw_interrupt_mask()
56 void rt_hw_interrupt_umask(int vector) in rt_hw_interrupt_umask() argument
58 if (vector > 0x1F || vector < 0x11) in rt_hw_interrupt_umask()
61 regs->irqmask |= 1 << (vector - 0x10); in rt_hw_interrupt_umask()
70 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
75 if (vector < MAX_HANDLERS && vector >= 0) in rt_hw_interrupt_install()
77 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
82 rt_strncpy(isr_table[vector].name, name, RT_NAME_MAX); in rt_hw_interrupt_install()
84 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
85 isr_table[vector].param = param; in rt_hw_interrupt_install()
92 void rt_hw_interrupt_clear(int vector) in rt_hw_interrupt_clear() argument
94 if (vector > 0x1F || vector < 0x11) in rt_hw_interrupt_clear()
97 regs->irqclear |= 1 << (vector - 0x10); in rt_hw_interrupt_clear()