Searched refs:intnum (Results 1 – 4 of 4) sorted by relevance
523 int xthal_set_int_vpri(int intnum, int vpri) in xthal_set_int_vpri() argument531 if( (unsigned)intnum >= XCHAL_NUM_INTERRUPTS || (unsigned)vpri > 0xFF ) in xthal_set_int_vpri()538 intlevel = Xthal_intlevel[intnum]; /* intnum's intlevel */ in xthal_set_int_vpri()548 mask = 1L << intnum; in xthal_set_int_vpri()558 prevpri = Xthal_int_vpri[intnum]; /* save for return value */ in xthal_set_int_vpri()559 Xthal_int_vpri[intnum] = basepri | vpri; in xthal_set_int_vpri()597 int xthal_get_int_vpri(int intnum) in xthal_get_int_vpri() argument600 if( (unsigned)intnum >= XCHAL_NUM_INTERRUPTS ) in xthal_get_int_vpri()602 return( Xthal_int_vpri[intnum] ); in xthal_get_int_vpri()699 int xthal_tram_set_sync( int intnum, int sync ) in xthal_tram_set_sync() argument[all …]
376 static inline void xthal_interrupt_enable(unsigned intnum) in xthal_interrupt_enable() argument378 xthal_int_enable(1 << intnum); in xthal_interrupt_enable()382 static inline void xthal_interrupt_disable(unsigned intnum) in xthal_interrupt_disable() argument384 xthal_int_disable(1 << intnum); in xthal_interrupt_disable()388 static inline void xthal_interrupt_trigger(unsigned intnum) in xthal_interrupt_trigger() argument390 xthal_set_intset(1 << intnum); in xthal_interrupt_trigger()394 static inline void xthal_interrupt_clear(unsigned intnum) in xthal_interrupt_clear() argument396 xthal_set_intclear(1 << intnum); in xthal_interrupt_clear()
159 static inline void _xtos_interrupt_enable(unsigned int intnum) in _xtos_interrupt_enable() argument161 _xtos_ints_on(1 << intnum); in _xtos_interrupt_enable()164 static inline void _xtos_interrupt_disable(unsigned int intnum) in _xtos_interrupt_disable() argument166 _xtos_ints_off(1 << intnum); in _xtos_interrupt_disable()
759 extern int xthal_set_int_vpri(int intnum, int vpri);760 extern int xthal_get_int_vpri(int intnum);798 extern int xthal_tram_set_sync( int intnum, int sync );