Lines Matching refs:_FLD2BOOL
323 retVal = _FLD2BOOL(PERI_DIV_8_CTL_EN, PERI_DIV_8_CTL(instNum, grpNum, dividerNum)); in Cy_SysClk_PeriPclkGetDividerEnabled()
326 retVal = _FLD2BOOL(PERI_DIV_16_CTL_EN, PERI_DIV_16_CTL(instNum, grpNum, dividerNum)); in Cy_SysClk_PeriPclkGetDividerEnabled()
329 … retVal = _FLD2BOOL(PERI_DIV_16_5_CTL_EN, PERI_DIV_16_5_CTL(instNum, grpNum, dividerNum)); in Cy_SysClk_PeriPclkGetDividerEnabled()
332 … retVal = _FLD2BOOL(PERI_DIV_24_5_CTL_EN, PERI_DIV_24_5_CTL(instNum, grpNum, dividerNum)); in Cy_SysClk_PeriPclkGetDividerEnabled()
508 return (_FLD2BOOL(SRSS_CLK_SELECT_PUMP_ENABLE, SRSS_CLK_SELECT)); in Cy_SysClk_ClkPumpIsEnabled()
856 retVal = _FLD2BOOL(SRSS_CLK_ROOT_SELECT_ENABLE, SRSS_CLK_ROOT_SELECT[clkHf]); in Cy_SysClk_ClkHfIsEnabled()
955 return !(_FLD2BOOL(SRSS_CLK_DIRECT_SELECT_DIRECT_MUX, SRSS_CLK_DIRECT_SELECT[clkHf])); in Cy_SysClk_IsClkHfDirectSelEnabled()
976 return !(_FLD2BOOL(SRSS_CLK_ROOT_SELECT_DIRECT_MUX, SRSS_CLK_ROOT_SELECT[clkHf])); in Cy_SysClk_IsClkHfDirectSelEnabled()
1155 return (_FLD2BOOL(BACKUP_STATUS_WCO_OK, BACKUP_STATUS)); in Cy_SysClk_WcoOkay()
1157 return (_FLD2BOOL(SRSS_CLK_WCO_STATUS_WCO_OK, BACKUP_WCO_STATUS)); in Cy_SysClk_WcoOkay()
1159 return (_FLD2BOOL(BACKUP_WCO_STATUS_WCO_OK, BACKUP_STATUS)); in Cy_SysClk_WcoOkay()
1240 return (_FLD2BOOL(SRSS_CLK_PILO_CONFIG_PILO_EN, SRSS_CLK_PILO_CONFIG)); in Cy_SysClk_PiloIsEnabled()
1294 return (_FLD2BOOL(SRSS_CLK_ALTHF_CTL_ALTHF_ENABLED, SRSS_CLK_ALTHF_CTL)); in Cy_SysClk_IsAltHfEnabled()
1347 if (!_FLD2BOOL(WDT_CTL_ENABLED, SRSS_WDT_CTL)) /* if disabled */ in Cy_SysClk_IloSrcDisable()
1367 return (_FLD2BOOL(SRSS_CLK_ILO0_CONFIG_ENABLE, SRSS_CLK_ILO0_CONFIG)); in Cy_SysClk_IloSrcIsEnabled()
1371 return (_FLD2BOOL(SRSS_CLK_ILO1_CONFIG_ENABLE, SRSS_CLK_ILO1_CONFIG)); in Cy_SysClk_IloSrcIsEnabled()
1396 if (!_FLD2BOOL(SRSS_WDT_CTL_WDT_EN, SRSS_WDT_CTL)) /* if disabled */ in Cy_SysClk_IloDisable()
1410 return (_FLD2BOOL(SRSS_CLK_ILO_CONFIG_ENABLE, SRSS_CLK_ILO_CONFIG)); in Cy_SysClk_IloIsEnabled()
2434 return (_FLD2BOOL(SRSS_CLK_ECO_PRESCALE_ECO_DIV_ENABLED, SRSS_CLK_ECO_PRESCALE)); in Cy_SysClk_EcoPrescaleIsEnabled()
2499 return (_FLD2BOOL(SRSS_CLK_IHO_CONFIG_ENABLE, SRSS_CLK_IHO_CONFIG)); in Cy_SysClk_IhoIsEnabled()
2532 return (_FLD2BOOL(SRSS_CLK_IHO_CONFIG_DPSLP_ENABLE, SRSS_CLK_IHO_CONFIG)); in Cy_SysClk_IhoIsDeepsleepEnabled()
2587 return (_FLD2BOOL(SRSS_CLK_IMO_CONFIG_ENABLE, SRSS_CLK_IMO_CONFIG)); in Cy_SysClk_ImoIsEnabled()
2606 return (_FLD2BOOL(SRSS_CLK_IMO_CONFIG_DPSLP_ENABLE, SRSS_CLK_IMO_CONFIG)); in Cy_SysClk_ImoIsDeepsleepEnabled()
2825 return (_FLD2BOOL(SRSS_CLK_FLL_CONFIG_FLL_ENABLE, SRSS_CLK_FLL_CONFIG)); in Cy_SysClk_FllIsEnabled()
2835 return (_FLD2BOOL(SRSS_CLK_FLL_STATUS_LOCKED, SRSS_CLK_FLL_STATUS)); in Cy_SysClk_FllLocked()
3088 config->enableOutputDiv = _FLD2BOOL(SRSS_CLK_FLL_CONFIG_FLL_OUTPUT_DIV, tempReg); in Cy_SysClk_FllGetConfiguration()
3123 … for (; (!_FLD2BOOL(SRSS_CLK_FLL_STATUS_CCO_READY, SRSS_CLK_FLL_STATUS)) && /* if cco_ready == 0 */ in Cy_SysClk_FllEnable()
3314 return (_FLD2BOOL(CLK_PLL400M_CONFIG_ENABLE, SRSS_CLK_PLL_400M_CONFIG(pllNum))); in Cy_SysClk_Pll400MIsEnabled()
3326 return (_FLD2BOOL(CLK_PLL400M_STATUS_LOCKED, SRSS_CLK_PLL_400M_STATUS(pllNum))); in Cy_SysClk_Pll400MLocked()
3339 bool retVal = _FLD2BOOL(CLK_PLL400M_STATUS_UNLOCK_OCCURRED, SRSS_CLK_PLL_400M_STATUS(pllNum)); in Cy_SysClk_Pll400MLostLock()
3644 return (_FLD2BOOL(SRSS_CLK_PLL_CONFIG_ENABLE, SRSS_CLK_PLL_CONFIG[pllNum])); in Cy_SysClk_Pll200MIsEnabled()
3651 return (_FLD2BOOL(SRSS_CLK_PLL_STATUS_LOCKED, SRSS_CLK_PLL_STATUS[pllNum])); in Cy_SysClk_Pll200MLocked()
3658 bool retVal = _FLD2BOOL(SRSS_CLK_PLL_STATUS_UNLOCK_OCCURRED, SRSS_CLK_PLL_STATUS[pllNum]); in Cy_SysClk_Pll200MLostLock()
3813 config->lfMode = _FLD2BOOL(SRSS_CLK_PLL_CONFIG_PLL_LF_MODE, tempReg); in Cy_SysClk_Pll200MGetConfiguration()
3902 return (_FLD2BOOL(CLK_DPLL_LP_CONFIG_ENABLE, SRSS_CLK_DPLL_LP_CONFIG(pllNum))); in Cy_SysClk_DpllLpIsEnabled()
3914 return (_FLD2BOOL(CLK_DPLL_LP_STATUS_LOCKED, SRSS_CLK_DPLL_LP_STATUS(pllNum))); in Cy_SysClk_DpllLpLocked()
3927 bool retVal = _FLD2BOOL(CLK_DPLL_LP_STATUS_UNLOCK_OCCURRED, SRSS_CLK_DPLL_LP_STATUS(pllNum)); in Cy_SysClk_DpllLpLostLock()
4322 return (_FLD2BOOL(CLK_DPLL_HP_CONFIG_ENABLE, SRSS_CLK_DPLL_HP_CONFIG(pllNum))); in Cy_SysClk_DpllHpIsEnabled()
4334 return (_FLD2BOOL(CLK_DPLL_HP_STATUS_LOCKED, SRSS_CLK_DPLL_HP_STATUS(pllNum))); in Cy_SysClk_DpllHpLocked()
4347 bool retVal = _FLD2BOOL(CLK_DPLL_HP_STATUS_UNLOCK_OCCURRED, SRSS_CLK_DPLL_HP_STATUS(pllNum)); in Cy_SysClk_DpllHpLostLock()
5135 return (_FLD2BOOL(SRSS_CLK_CAL_CNT1_CAL_COUNTER_DONE, SRSS_CLK_CAL_CNT1)); in Cy_SysClk_ClkMeasurementCountersDone()