XilinxProcessorIPLib/drivers/board_common/src/rfclk/src/xrfclk.c
static u32 XRFClk_SetConfigLMK(u32 ConfigId)
{
	for (int i = 0; i < LMK_COUNT; i++) {
		if (XST_SUCCESS !=
		    XRFClk_WriteReg(RFCLK_LMK, LMK_CKin[ConfigId][i])) {
			LOG("write reg in LMK");
			return XST_FAILURE;
		}
	}
	return XST_SUCCESS;
}
/****************************************************************************/
/**
*
* This function is used to set config on LMK.
*
* @param	ConfigId indicates the config Id.
*
* @return
*	- XST_SUCCESS if successful.
*	- XST_FAILURE if failed.
*
* @note		None
*
****************************************************************************/
This function is used to set config on LMK.
This function is used to set config on LMK .
static u32 XRFClk_SetConfigLMK(u32 ConfigId)
{
	for (int i = 0; i < LMK_COUNT; i++) {
		if (XST_SUCCESS !=
		    XRFClk_WriteReg(RFCLK_LMK, LMK_CKin[ConfigId][i])) {
			LOG("write reg in LMK");
			return XST_FAILURE;
		}
	}
	return XST_SUCCESS;
}
static u32 XRFClk_SetConfigLMK ( u32 ConfigId ) { for ( int i = 0 ; i < LMK_COUNT ; i ++ ) { if ( XST_SUCCESS != XRFClk_WriteReg ( RFCLK_LMK , LMK_CKin [ ConfigId ] [ i ] ) ) { LOG ( " " ) ; return XST_FAILURE ; } } return XST_SUCCESS ; }
This function is used to set config on LMK.
This function is used to set config on LMK .