lib/sw_apps/zynqmp_pmufw/src/pm_notifier.c
static void PmUnregisterEvent(const u32 entry, const u32 event)
{
	pmNotifiers[entry].eventMask &= ~event;
	pmNotifiers[entry].wakeMask &= ~event;
	if (0U == pmNotifiers[entry].eventMask) {
		(void)memset(&pmNotifiers[entry], (s32)0U, sizeof(PmNotifier));
	}
}
/**
 * PmUnregisterEvent() - Unregister event in pmNotifiers' array entry
 * @entry       Valid index in pmNotifiers array
 * @event       Event to be unregistered
 *
 * @note        This function also clears master/node pointer values if no other
 *              event is left registered for the entry, so the entry can be used
 *              for other pairs.
 */
Unregister event in pmNotifiers' array entry
@entry       Valid index in pmNotifiers array
@event       Event to be unregistered

@note        This function also clears master/node pointer values if no other
event is left registered for the entry, so the entry can be used
for other pairs.
Unregister event in pmNotifiers ' array entry @entry Valid index in pmNotifiers array @event Event to be unregistered @note This function also clears master / node pointer values if no other event is left registered for the entry so the entry can be used for other pairs .
static void PmUnregisterEvent(const u32 entry, const u32 event)
{
	pmNotifiers[entry].eventMask &= ~event;
	pmNotifiers[entry].wakeMask &= ~event;
	if (0U == pmNotifiers[entry].eventMask) {
		(void)memset(&pmNotifiers[entry], (s32)0U, sizeof(PmNotifier));
	}
}
static void PmUnregisterEvent ( const u32 entry , const u32 event ) { pmNotifiers [ entry ] . eventMask &= ~ event ; pmNotifiers [ entry ] . wakeMask &= ~ event ; if ( 0U == pmNotifiers [ entry ] . eventMask ) { ( void ) memset ( & pmNotifiers [ entry ] , ( s32 ) 0U , sizeof ( PmNotifier ) ) ; } }
PmUnregisterEvent() - Unregister event in pmNotifiers' array entry
 @entry       Valid index in pmNotifiers array
 @event       Event to be unregistered
PmUnregisterEvent () - Unregister event in pmNotifiers ' array entry @entry Valid index in pmNotifiers array @event Event to be unregistered