Home
last modified time | relevance | path

Searched refs:intlevel (Results 1 – 3 of 3) sorted by relevance

/hal_xtensa-3.5.0/include/xtensa/
Dxtruntime.h80 # define XTOS_SET_INTLEVEL(intlevel) 0 argument
81 # define XTOS_SET_MIN_INTLEVEL(intlevel) 0 argument
91 # define XTOS_SET_INTLEVEL(intlevel) ({ unsigned __tmp; \ argument
92 __asm__ __volatile__( "rsil %0, " XTSTR(intlevel) "\n" \
95 # define XTOS_SET_MIN_INTLEVEL(intlevel) ({ unsigned __tmp, __tmp2, __tmp3; \ argument
97 "movi %2, " XTSTR(intlevel) "\n" \
100 "rsil %0, " XTSTR(intlevel) "\n" \
113 # define XTOS_SET_INTLEVEL(intlevel) _xtos_set_vpri(~XCHAL_INTLEVEL_ANDBELOW_MASK(intlevel)) argument
114 # define XTOS_SET_MIN_INTLEVEL(intlevel) _xtos_set_vpri(_xtos_vpri_enabled & ~XCHAL_INTLEVEL_ANDBEL… argument
169 extern unsigned _xtos_set_intlevel( int intlevel );
[all …]
Dhal.h751 extern unsigned xthal_intlevel_to_vpri(unsigned intlevel);
763 extern void xthal_set_vpri_locklevel(unsigned intlevel);
769 extern unsigned xthal_set_vpri_intlevel(unsigned intlevel);
/hal_xtensa-3.5.0/src/hal/
Dinterrupts.c59 #define XTHAL_VPRI(intlevel,softpri) ((((intlevel)&0xF)<<4)|((softpri)&0xF)) argument
410 unsigned xthal_intlevel_to_vpri(unsigned intlevel) in xthal_intlevel_to_vpri() argument
413 return( XTHAL_VPRI( intlevel, 0xF ) ); in xthal_intlevel_to_vpri()
415 return( intlevel ); in xthal_intlevel_to_vpri()
488 void xthal_set_vpri_locklevel(unsigned intlevel) in xthal_set_vpri_locklevel() argument
491 if( intlevel < 1 ) in xthal_set_vpri_locklevel()
492 intlevel = 1; in xthal_set_vpri_locklevel()
493 else if( intlevel > XCHAL_NUM_INTLEVELS ) in xthal_set_vpri_locklevel()
494 intlevel = XCHAL_NUM_INTLEVELS; in xthal_set_vpri_locklevel()
495 Xthal_vpri_state.locklevel = intlevel; in xthal_set_vpri_locklevel()
[all …]