Home
last modified time | relevance | path

Searched refs:eventType (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/ppc64/kernel/
DHvLpEvent.c22 int HvLpEvent_registerHandler( HvLpEvent_Type eventType, LpEventHandler handler ) in HvLpEvent_registerHandler() argument
25 if ( eventType < HvLpEvent_Type_NumTypes ) { in HvLpEvent_registerHandler()
26 lpEventHandler[eventType] = handler; in HvLpEvent_registerHandler()
33 int HvLpEvent_unregisterHandler( HvLpEvent_Type eventType ) in HvLpEvent_unregisterHandler() argument
36 if ( eventType < HvLpEvent_Type_NumTypes ) { in HvLpEvent_unregisterHandler()
37 if ( !lpEventHandlerPaths[eventType] ) { in HvLpEvent_unregisterHandler()
38 lpEventHandler[eventType] = NULL; in HvLpEvent_unregisterHandler()
49 int HvLpEvent_openPath( HvLpEvent_Type eventType, HvLpIndex lpIndex ) in HvLpEvent_openPath() argument
52 if ( eventType < HvLpEvent_Type_NumTypes && in HvLpEvent_openPath()
53 lpEventHandler[eventType] ) { in HvLpEvent_openPath()
[all …]
/linux-2.4.37.9/include/asm-ppc64/iSeries/
DHvLpEvent.h78 extern int HvLpEvent_registerHandler( HvLpEvent_Type eventType, LpEventHandler hdlr);
83 extern int HvLpEvent_unregisterHandler( HvLpEvent_Type eventType );
90 extern int HvLpEvent_openPath( HvLpEvent_Type eventType, HvLpIndex lpIndex );
95 extern int HvLpEvent_closePath( HvLpEvent_Type eventType, HvLpIndex lpIndex );