Home
last modified time | relevance | path

Searched refs:intnum (Results 1 – 4 of 4) sorted by relevance

/hal_xtensa-3.5.0/src/hal/
Dinterrupts.c523 int xthal_set_int_vpri(int intnum, int vpri) in xthal_set_int_vpri() argument
531 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() argument
600 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 …]
/hal_xtensa-3.5.0/include/xtensa/
Dcore-macros.h376 static inline void xthal_interrupt_enable(unsigned intnum) in xthal_interrupt_enable() argument
378 xthal_int_enable(1 << intnum); in xthal_interrupt_enable()
382 static inline void xthal_interrupt_disable(unsigned intnum) in xthal_interrupt_disable() argument
384 xthal_int_disable(1 << intnum); in xthal_interrupt_disable()
388 static inline void xthal_interrupt_trigger(unsigned intnum) in xthal_interrupt_trigger() argument
390 xthal_set_intset(1 << intnum); in xthal_interrupt_trigger()
394 static inline void xthal_interrupt_clear(unsigned intnum) in xthal_interrupt_clear() argument
396 xthal_set_intclear(1 << intnum); in xthal_interrupt_clear()
Dxtruntime.h159 static inline void _xtos_interrupt_enable(unsigned int intnum) in _xtos_interrupt_enable() argument
161 _xtos_ints_on(1 << intnum); in _xtos_interrupt_enable()
164 static inline void _xtos_interrupt_disable(unsigned int intnum) in _xtos_interrupt_disable() argument
166 _xtos_ints_off(1 << intnum); in _xtos_interrupt_disable()
Dhal.h759 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 );