lib/sw_apps/zynqmp_pmufw/src/pm_notifier.c
static void PmRegisterEvent(const u32 entry, const u32 event, const u32 wake)
{
	pmNotifiers[entry].eventMask |= event;
	if (0U != wake) {
		/* Wake master for this event (event mask matches wake mask) */
		pmNotifiers[entry].wakeMask |= event;
	}
}
/**
 * PmRegisterEvent() - Register one event in pmNotifiers array's entry
 * @entry       Valid index in pmNotifiers array
 * @event       Event to be registered for
 * @wake        Flag specifying whether the master should be woken up to
 *              handle event
 *
 * @note        Master and node pointers for the entry are set by the function
 *              calling this.
 */
Register one event in pmNotifiers array's entry
@entry       Valid index in pmNotifiers array
@event       Event to be registered for
@wake        Flag specifying whether the master should be woken up to
handle event

@note        Master and node pointers for the entry are set by the function
calling this.
Register one event in pmNotifiers array ' s entry @entry Valid index in pmNotifiers array @event Event to be registered for @wake Flag specifying whether the master should be woken up to handle event @note Master and node pointers for the entry are set by the function calling this .
static void PmRegisterEvent(const u32 entry, const u32 event, const u32 wake)
{
	pmNotifiers[entry].eventMask |= event;
	if (0U != wake) {
		pmNotifiers[entry].wakeMask |= event;
	}
}
static void PmRegisterEvent ( const u32 entry , const u32 event , const u32 wake ) { pmNotifiers [ entry ] . eventMask |= event ; if ( 0U != wake ) { pmNotifiers [ entry ] . wakeMask |= event ; } }
PmRegisterEvent() - Register one event in pmNotifiers array's entry
 @entry       Valid index in pmNotifiers array
 @event       Event to be registered for
 @wake        Flag specifying whether the master should be woken up to
              handle event
PmRegisterEvent () - Register one event in pmNotifiers array ' s entry @entry Valid index in pmNotifiers array @event Event to be registered for @wake Flag specifying whether the master should be woken up to handle event
/* Wake master for this event (event mask matches wake mask) */