22 #define NAP_INLINE( _subsys, _api_func ) \ 23 SINGLE_API_INLINE ( NAP_PREFIX_ ## _subsys, _api_func ) 32 #define PROVIDE_NAP( _subsys, _api_func, _func ) \ 33 PROVIDE_SINGLE_API ( NAP_PREFIX_ ## _subsys, _api_func, _func ) 41 #define PROVIDE_NAP_INLINE( _subsys, _api_func ) \ 42 PROVIDE_SINGLE_API_INLINE ( NAP_PREFIX_ ## _subsys, _api_func )
void cpu_halt(void)
Sleep until next CPU interrupt.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void cpu_nap(void)
Sleep with interrupts enabled until next CPU interrupt.