plat/xilinx/zynqmp/pm_service/pm_api_clock.c
/**
 * pm_clock_init_enable - Check if clock needs to be enabled at init
 * @clock_id	Id of the clock to be queried
 *
 * This function is used to check if given clock needs to be enabled
 * at boot up or not. Some clocks needs to be enabled at init.
 *
 * Return: Returns 1 if clock needs to be enabled at boot up else 0.
 */
Check if clock needs to be enabled at init
@clock_id    Id of the clock to be queried

This function is used to check if given clock needs to be enabled
at boot up or not. Some clocks needs to be enabled at init.

Returns 1 if clock needs to be enabled at boot up else 0.
Check if clock needs to be enabled at init @clock_id Id of the clock to be queried This function is used to check if given clock needs to be enabled at boot up or not . Some clocks needs to be enabled at init . Returns 1 if clock needs to be enabled at boot up else 0 .
static unsigned int pm_clock_init_enable(unsigned int clock_id)
{
	unsigned int i;
	for (i = 0; i < ARRAY_SIZE(pm_clk_init_enable_list); i++)
		if (pm_clk_init_enable_list[i] == clock_id)
			return 1;
	return 0;
}
static unsigned int pm_clock_init_enable ( unsigned int clock_id ) { unsigned int i ; for ( i = 0 ; i < ARRAY_SIZE ( pm_clk_init_enable_list ) ; i ++ ) if ( pm_clk_init_enable_list [ i ] == clock_id ) return 1 ; return 0 ; }
pm_clock_init_enable - Check if clock needs to be enabled at init
 @clock_id    Id of the clock to be queried
pm_clock_init_enable - Check if clock needs to be enabled at init @clock_id Id of the clock to be queried