Searched refs:intlevel (Results 1 – 3 of 3) sorted by relevance
80 # define XTOS_SET_INTLEVEL(intlevel) 0 argument81 # define XTOS_SET_MIN_INTLEVEL(intlevel) 0 argument91 # define XTOS_SET_INTLEVEL(intlevel) ({ unsigned __tmp; \ argument92 __asm__ __volatile__( "rsil %0, " XTSTR(intlevel) "\n" \95 # define XTOS_SET_MIN_INTLEVEL(intlevel) ({ unsigned __tmp, __tmp2, __tmp3; \ argument97 "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)) argument114 # define XTOS_SET_MIN_INTLEVEL(intlevel) _xtos_set_vpri(_xtos_vpri_enabled & ~XCHAL_INTLEVEL_ANDBEL… argument169 extern unsigned _xtos_set_intlevel( int intlevel );[all …]
751 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);
59 #define XTHAL_VPRI(intlevel,softpri) ((((intlevel)&0xF)<<4)|((softpri)&0xF)) argument410 unsigned xthal_intlevel_to_vpri(unsigned intlevel) in xthal_intlevel_to_vpri() argument413 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() argument491 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 …]