Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 3 of 3) sorted by relevance

/hal_renesas-3.6.0/smartbond/da1469x_hal/
Dda1469x_clock.c109 bool ret = 0; in da1469x_clock_sys_pll_switch_check_restrictions() local
112 ret |= !((CRG_TOP->CLK_AMBA_REG & CRG_TOP_CLK_AMBA_REG_HCLK_DIV_Msk) == 0 && in da1469x_clock_sys_pll_switch_check_restrictions()
117 ret |= !((CRG_TOP->CLK_CTRL_REG & CRG_TOP_CLK_CTRL_REG_RUNNING_AT_XTAL32M_Msk) || in da1469x_clock_sys_pll_switch_check_restrictions()
121 return ret; in da1469x_clock_sys_pll_switch_check_restrictions()
127 bool ret = 0; in da1469x_clock_sys_xtal32m_switch_check_restrictions() local
130 ret |= !((CRG_TOP->POWER_CTRL_REG & CRG_TOP_POWER_CTRL_REG_LDO_RADIO_ENABLE_Msk) || in da1469x_clock_sys_xtal32m_switch_check_restrictions()
137 ret |= !da1469x_clock_is_xtal32m_settled(); in da1469x_clock_sys_xtal32m_switch_check_restrictions()
140 return ret; in da1469x_clock_sys_xtal32m_switch_check_restrictions()
Dda1469x_pd.c256 int ret = 0; in da1469x_pd_acquire_internal() local
278 ret = 1; in da1469x_pd_acquire_internal()
283 return ret; in da1469x_pd_acquire_internal()
304 int ret = 0; in da1469x_pd_release_internal() local
323 ret = 1; in da1469x_pd_release_internal()
328 return ret; in da1469x_pd_release_internal()
Dda1469x_otp.c120 int ret = 0; in da1469x_otp_write() local
153 ret = OTP_ERR_PROGRAM_VERIFY_FAILED; in da1469x_otp_write()
168 return ret; in da1469x_otp_write()