lib/sw_apps/zynqmp_pmufw/src/pm_notifier.c
void PmNotifierEvent(const PmNode* const nd, const u32 event)
{
	u32 i;

	for (i = 0U; i < ARRAY_SIZE(pmNotifiers); i++) {
		/* Search for the given node */
		if (nd != pmNotifiers[i].node) {
			continue;
		}
		/* Node is matching, check for event */
		if (0U == (event & pmNotifiers[i].eventMask)) {
			continue;
		}
		PmNotifierProcessEvent(&pmNotifiers[i], event);
	}
}
/**
 * PmNotifierEvent() - Called to trigger the notification framework to check
 *              whether the notification callback should be sent for given
 *              arguments
 * @nd          Node regarding which the event is generated
 * @event       Event that occurred in the system (check for its PU recipients)
 */
Called to trigger the notification framework to check
whether the notification callback should be sent for given
arguments
@nd          Node regarding which the event is generated
@event       Event that occurred in the system (check for its PU recipients)
Called to trigger the notification framework to check whether the notification callback should be sent for given arguments @nd Node regarding which the event is generated @event Event that occurred in the system ( check for its PU recipients )
void PmNotifierEvent(const PmNode* const nd, const u32 event)
{
	u32 i;
	for (i = 0U; i < ARRAY_SIZE(pmNotifiers); i++) {
		if (nd != pmNotifiers[i].node) {
			continue;
		}
		if (0U == (event & pmNotifiers[i].eventMask)) {
			continue;
		}
		PmNotifierProcessEvent(&pmNotifiers[i], event);
	}
}
void PmNotifierEvent ( const PmNode * const nd , const u32 event ) { u32 i ; for ( i = 0U ; i < ARRAY_SIZE ( pmNotifiers ) ; i ++ ) { if ( nd != pmNotifiers [ i ] . node ) { continue ; } if ( 0U == ( event & pmNotifiers [ i ] . eventMask ) ) { continue ; } PmNotifierProcessEvent ( & pmNotifiers [ i ] , event ) ; } }
PmNotifierEvent() - Called to trigger the notification framework to check
              whether the notification callback should be sent for given
              arguments
 @nd          Node regarding which the event is generated
 @event       Event that occurred in the system (check for its PU recipients)
PmNotifierEvent () - Called to trigger the notification framework to check whether the notification callback should be sent for given arguments @nd Node regarding which the event is generated @event Event that occurred in the system ( check for its PU recipients )
/* Search for the given node */ /* Node is matching, check for event */