Home
last modified time | relevance | path

Searched refs:retVal (Results 1 – 25 of 25) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/codec/port/
Dfsl_codec_adapter.c38 status_t retVal = kStatus_Success; in HAL_CODEC_Init() local
44 retVal = HAL_CODEC_WM8904_Init(handle, config); in HAL_CODEC_Init()
50 retVal = HAL_CODEC_WM8960_Init(handle, config); in HAL_CODEC_Init()
56 retVal = HAL_CODEC_WM8962_Init(handle, config); in HAL_CODEC_Init()
62 retVal = HAL_CODEC_WM8524_Init(handle, config); in HAL_CODEC_Init()
68 retVal = HAL_CODEC_SGTL5000_Init(handle, config); in HAL_CODEC_Init()
74 retVal = HAL_CODEC_DA7212_Init(handle, config); in HAL_CODEC_Init()
80 retVal = HAL_CODEC_CS42888_Init(handle, config); in HAL_CODEC_Init()
86 retVal = HAL_CODEC_CS42448_Init(handle, config); in HAL_CODEC_Init()
92 retVal = HAL_CODEC_AK4497_Init(handle, config); in HAL_CODEC_Init()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/lin/
Dlin_driver.c96 lin_status_t retVal = LIN_IFC_NOT_SUPPORT; in LIN_DRV_Init() local
102 retVal = LIN_LPUART_Init(base, linUserConfig, linCurrentState, LIN_LPUART_CLOCK_FREQ); in LIN_DRV_Init()
110 return retVal; in LIN_DRV_Init()
121 lin_status_t retVal = LIN_IFC_NOT_SUPPORT; in LIN_DRV_Deinit() local
128 retVal = LIN_LPUART_Deinit(base); in LIN_DRV_Deinit()
136 return retVal; in LIN_DRV_Deinit()
184 lin_status_t retVal = LIN_IFC_NOT_SUPPORT; in LIN_DRV_SendFrameDataBlocking() local
190 retVal = LIN_LPUART_SendFrameDataBlocking(base, txBuff, txSize, timeoutMSec); in LIN_DRV_SendFrameDataBlocking()
193 return retVal; in LIN_DRV_SendFrameDataBlocking()
216 lin_status_t retVal = LIN_IFC_NOT_SUPPORT; in LIN_DRV_SendFrameData() local
[all …]
Dfsl_lin.c178 lin_status_t retVal = LIN_IFC_NOT_SUPPORT; in LIN_Init() local
184 retVal = LIN_LPUART_Init(base, linUserConfig, linCurrentState, clockSource); in LIN_Init()
192 return retVal; in LIN_Init()
203 lin_status_t retVal = LIN_IFC_NOT_SUPPORT; in LIN_Deinit() local
210 retVal = LIN_LPUART_Deinit(base); in LIN_Deinit()
218 return retVal; in LIN_Deinit()
263 lin_status_t retVal = LIN_IFC_NOT_SUPPORT; in LIN_SendFrameDataBlocking() local
269 retVal = LIN_LPUART_SendFrameDataBlocking(base, txBuff, txSize, timeoutMSec); in LIN_SendFrameDataBlocking()
272 return retVal; in LIN_SendFrameDataBlocking()
295 lin_status_t retVal = LIN_IFC_NOT_SUPPORT; in LIN_SendFrameData() local
[all …]
Dfsl_lin_lpuart.c986 lin_status_t retVal = LIN_SUCCESS; in LIN_LPUART_Init() local
996 retVal = LIN_LPUART_STAT_CLOCK_GATED_OFF; in LIN_LPUART_Init()
1109 retVal = LIN_ERROR; in LIN_LPUART_Init()
1113 return retVal; in LIN_LPUART_Init()
1124 lin_status_t retVal = LIN_SUCCESS; in LIN_LPUART_Deinit() local
1129 retVal = LIN_ERROR; in LIN_LPUART_Deinit()
1162 return retVal; in LIN_LPUART_Deinit()
1188 lin_status_t retVal = LIN_SUCCESS; in LIN_LPUART_SendFrameDataBlocking() local
1196 retVal = LIN_ERROR; in LIN_LPUART_SendFrameDataBlocking()
1203 retVal = LIN_BUS_BUSY; in LIN_LPUART_SendFrameDataBlocking()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/codec/da7212/
Dfsl_dialog7212.c418 status_t retVal = kStatus_Success; in DA7212_SetPLLConfig() local
466 retVal = DA7212_WriteRegister(handle, DIALOG7212_PLL_FRAC_TOP, pllFracTop); in DA7212_SetPLLConfig()
468 retVal = DA7212_WriteRegister(handle, DIALOG7212_PLL_FRAC_BOT, pllFracBottom); in DA7212_SetPLLConfig()
470 retVal = DA7212_WriteRegister(handle, DIALOG7212_PLL_INTEGER, pllInteger); in DA7212_SetPLLConfig()
474 retVal = DA7212_WriteRegister(handle, DIALOG7212_PLL_CTRL, regVal); in DA7212_SetPLLConfig()
479 retVal = DA7212_ReadRegister(handle, DIALOG7212_PLL_STATUS, &regVal); in DA7212_SetPLLConfig()
482 return retVal; in DA7212_SetPLLConfig()
496 status_t retVal = kStatus_Success; in DA7212_ConfigAudioFormat() local
501 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_8KHZ); in DA7212_ConfigAudioFormat()
504 retVal = DA7212_WriteRegister(handle, DIALOG7212_SR, DIALOG7212_SR_11_025KHZ); in DA7212_ConfigAudioFormat()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/codec/port/tfa9xxx/
Dfsl_codec_tfa9xxx_adapter.c96 status_t retVal = kStatus_Success; in HAL_CODEC_TFA9XXX_SetVolume() local
98retVal = TFA9XXX_SetVolume((tfa9xxx_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHan… in HAL_CODEC_TFA9XXX_SetVolume()
100 return retVal; in HAL_CODEC_TFA9XXX_SetVolume()
115 status_t retVal = kStatus_Success; in HAL_CODEC_TFA9XXX_SetMute() local
117retVal = TFA9XXX_SetMute((tfa9xxx_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandl… in HAL_CODEC_TFA9XXX_SetMute()
119 return retVal; in HAL_CODEC_TFA9XXX_SetMute()
134 status_t retVal = kStatus_Success; in HAL_CODEC_TFA9XXX_SetPower() local
138retVal = TFA9XXX_Start((tfa9xxx_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)… in HAL_CODEC_TFA9XXX_SetPower()
142retVal = TFA9XXX_Stop((tfa9xxx_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle))… in HAL_CODEC_TFA9XXX_SetPower()
145 return retVal; in HAL_CODEC_TFA9XXX_SetPower()
/hal_nxp-latest/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_zephyr.c22 #define OSA_RETURN_IF_HANDLE_IS_NULL(handlePtr, retVal) \ argument
27 return retVal; \
31 #define OSA_RETURN_IF_IS_IN_ISR(retVal) \ argument
36 return retVal; \
40 #define OSA_RETURN_IF_WRONG_CHECKMARK(checked, expected, retVal) \ argument
45 return retVal; \
49 #define OSA_RETURN_IF_WAITING_IN_ISR(timeToWait, retVal) \ argument
54 return retVal; \
549 int retVal = k_mutex_lock(&z_mutexHandle->handle, s_OSA_ConvertTimeoutToZephyr(millisec)); in OSA_MutexLock()
550 switch (retVal) in OSA_MutexLock()
[all …]
Dfsl_os_abstraction_bm.c1110 osa_status_t retVal = KOSA_StatusIdle; in OSA_EventWait() local
1138 retVal = KOSA_StatusSuccess; in OSA_EventWait()
1145 retVal = KOSA_StatusTimeout; in OSA_EventWait()
1155 retVal = KOSA_StatusTimeout; in OSA_EventWait()
1176 return retVal; in OSA_EventWait()
/hal_nxp-latest/mcux/mcux-sdk/components/codec/port/wm8962/
Dfsl_codec_wm8962_adapter.c132 status_t retVal = kStatus_Success; in HAL_CODEC_WM8962_SetVolume() local
144retVal = WM8962_SetModuleVolume((wm8962_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecD… in HAL_CODEC_WM8962_SetVolume()
157retVal = WM8962_SetModuleVolume((wm8962_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecD… in HAL_CODEC_WM8962_SetVolume()
169retVal = WM8962_SetModuleVolume((wm8962_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecD… in HAL_CODEC_WM8962_SetVolume()
173 return retVal; in HAL_CODEC_WM8962_SetVolume()
188 status_t retVal = kStatus_Success; in HAL_CODEC_WM8962_SetMute() local
193retVal = WM8962_SetModuleMute((wm8962_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecDev… in HAL_CODEC_WM8962_SetMute()
199retVal = WM8962_SetModuleMute((wm8962_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecDev… in HAL_CODEC_WM8962_SetMute()
203 return retVal; in HAL_CODEC_WM8962_SetMute()
/hal_nxp-latest/mcux/mcux-sdk/components/codec/port/wm8960/
Dfsl_codec_wm8960_adapter.c134 status_t retVal = kStatus_Success; in HAL_CODEC_WM8960_SetVolume() local
146retVal = WM8960_SetVolume((wm8960_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecDevHand… in HAL_CODEC_WM8960_SetVolume()
158retVal = WM8960_SetVolume((wm8960_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecDevHand… in HAL_CODEC_WM8960_SetVolume()
170retVal = WM8960_SetVolume((wm8960_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecDevHand… in HAL_CODEC_WM8960_SetVolume()
174 return retVal; in HAL_CODEC_WM8960_SetVolume()
189 status_t retVal = kStatus_Success; in HAL_CODEC_WM8960_SetMute() local
194retVal = WM8960_SetMute((wm8960_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecDevHandle… in HAL_CODEC_WM8960_SetMute()
200retVal = WM8960_SetMute((wm8960_handle_t *)((uintptr_t)(((codec_handle_t *)handle)->codecDevHandle… in HAL_CODEC_WM8960_SetMute()
204 return retVal; in HAL_CODEC_WM8960_SetMute()
/hal_nxp-latest/mcux/mcux-sdk/components/codec/port/sgtl5000/
Dfsl_codec_sgtl_adapter.c180 status_t retVal = kStatus_Success; in HAL_CODEC_SGTL5000_SetMute() local
184retVal = SGTL_SetMute((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), k… in HAL_CODEC_SGTL5000_SetMute()
189 (retVal == kStatus_Success)) in HAL_CODEC_SGTL5000_SetMute()
191retVal = SGTL_SetMute((sgtl_handle_t *)((uint32_t)(((codec_handle_t *)handle)->codecDevHandle)), in HAL_CODEC_SGTL5000_SetMute()
195 return retVal; in HAL_CODEC_SGTL5000_SetMute()
/hal_nxp-latest/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c166 register uint32_t retVal; in hashcrypt_get_word_from_unaligned()
169 LDR retVal, [srcAddr] in hashcrypt_get_word_from_unaligned()
171 return retVal; in hashcrypt_get_word_from_unaligned()
184 status_t retVal = kStatus_InvalidArgument; in hashcrypt_get_key_from_unaligned_src() local
191 return retVal; in hashcrypt_get_key_from_unaligned_src()
1203 status_t retVal = kStatus_InvalidArgument; in HASHCRYPT_AES_SetKey() local
1223 return retVal; in HASHCRYPT_AES_SetKey()
1229 retVal = kStatus_Success; in HASHCRYPT_AES_SetKey()
1233 retVal = hashcrypt_get_key_from_unaligned_src((uint8_t *)&handle->keyWord[0], key, keySize); in HASHCRYPT_AES_SetKey()
1237 retVal = kStatus_InvalidArgument; in HASHCRYPT_AES_SetKey()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/wls/
Dwls_api.c244 int fineTimingRes, retVal = 1; in wls_process_csi() local
247retVal = calcSubspaceFineTiming(pktinfo, fftBuffer, totalpower, firstPathDelay, &fineTimingRes, pd… in wls_process_csi()
250 if (retVal) in wls_process_csi()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT595S/drivers/
Dfsl_clock.c1789 bool retVal = true; in CLOCK_EnableUsbHs0PhyPllClock() local
1793 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1798 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1847 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1852 if (retVal) in CLOCK_EnableUsbHs0PhyPllClock()
1897 return retVal; in CLOCK_EnableUsbHs0PhyPllClock()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT533S/drivers/
Dfsl_clock.c1789 bool retVal = true; in CLOCK_EnableUsbHs0PhyPllClock() local
1793 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1798 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1847 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1852 if (retVal) in CLOCK_EnableUsbHs0PhyPllClock()
1897 return retVal; in CLOCK_EnableUsbHs0PhyPllClock()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT555S/drivers/
Dfsl_clock.c1789 bool retVal = true; in CLOCK_EnableUsbHs0PhyPllClock() local
1793 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1798 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1847 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1852 if (retVal) in CLOCK_EnableUsbHs0PhyPllClock()
1897 return retVal; in CLOCK_EnableUsbHs0PhyPllClock()
/hal_nxp-latest/s32/drivers/s32ze/Can_CANEXCEL/src/
DCanEXCEL_Ip.c1618 boolean retVal = FALSE; in Canexcel_Ip_IsXLFrameType() local
1621 retVal = state->rxFifo.isXLFrame; in Canexcel_Ip_IsXLFrameType()
1627 retVal = state->msgDesc[descNo].isXLFrame; in Canexcel_Ip_IsXLFrameType()
1630 return retVal; in Canexcel_Ip_IsXLFrameType()
2473 Canexcel_Ip_StatusType retVal; in Canexcel_Ip_Deinit() local
2474 retVal = CanXL_EnterFreezeMode(CANEXCEL.EXL_SIC[u8Instance]); in Canexcel_Ip_Deinit()
2475 if (CANEXCEL_STATUS_SUCCESS == retVal) in Canexcel_Ip_Deinit()
2477 retVal = CanXL_SoftReset(CANEXCEL.EXL_SIC[u8Instance]); in Canexcel_Ip_Deinit()
2479 if (CANEXCEL_STATUS_SUCCESS == retVal) in Canexcel_Ip_Deinit()
2496 return retVal; in Canexcel_Ip_Deinit()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT685S/drivers/
Dfsl_clock.c1475 bool retVal = true; in CLOCK_EnableUsbHs0PhyPllClock() local
1531 retVal = false; in CLOCK_EnableUsbHs0PhyPllClock()
1536 if (retVal) in CLOCK_EnableUsbHs0PhyPllClock()
1550 return retVal; in CLOCK_EnableUsbHs0PhyPllClock()
/hal_nxp-latest/s32/drivers/s32ze/Mem_EXFLS/src/
DQspi_Ip_Sfdp.c2002 boolean retVal; in Qspi_Ip_SfdpCheckNewerRevision() local
2008 retVal = TRUE; in Qspi_Ip_SfdpCheckNewerRevision()
2012 retVal = FALSE; in Qspi_Ip_SfdpCheckNewerRevision()
2015 return retVal; in Qspi_Ip_SfdpCheckNewerRevision()
/hal_nxp-latest/s32/drivers/s32k3/Fls/src/
DQspi_Ip_Sfdp.c1997 boolean retVal; in Qspi_Ip_SfdpCheckNewerRevision() local
2003 retVal = TRUE; in Qspi_Ip_SfdpCheckNewerRevision()
2007 retVal = FALSE; in Qspi_Ip_SfdpCheckNewerRevision()
2010 return retVal; in Qspi_Ip_SfdpCheckNewerRevision()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT735S/drivers/
Dfsl_clock.c3076 bool retVal = true; in CLOCK_EnableUsbhs0PhyPllClock() local
3132 retVal = false; in CLOCK_EnableUsbhs0PhyPllClock()
3137 if (retVal) in CLOCK_EnableUsbhs0PhyPllClock()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT798S/drivers/
Dfsl_clock.c3076 bool retVal = true; in CLOCK_EnableUsbhs0PhyPllClock() local
3132 retVal = false; in CLOCK_EnableUsbhs0PhyPllClock()
3137 if (retVal) in CLOCK_EnableUsbhs0PhyPllClock()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT758S/drivers/
Dfsl_clock.c3076 bool retVal = true; in CLOCK_EnableUsbhs0PhyPllClock() local
3132 retVal = false; in CLOCK_EnableUsbhs0PhyPllClock()
3137 if (retVal) in CLOCK_EnableUsbhs0PhyPllClock()
/hal_nxp-latest/mcux/mcux-sdk/drivers/caam/
Dfsl_caam.c399 uint32_t retVal = 0; in caam_output_ring_get_slots_full() local
403 retVal = base->JOBRING[0].ORSFR_JR; in caam_output_ring_get_slots_full()
408 retVal = base->JOBRING[1].ORSFR_JR; in caam_output_ring_get_slots_full()
413 retVal = base->JOBRING[2].ORSFR_JR; in caam_output_ring_get_slots_full()
418 retVal = base->JOBRING[3].ORSFR_JR; in caam_output_ring_get_slots_full()
421 return retVal; in caam_output_ring_get_slots_full()
/hal_nxp-latest/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc.c321 register uint32_t retVal; in ltc_get_word_from_unaligned()
324 LDR retVal, [srcAddr] in ltc_get_word_from_unaligned()
326 return retVal; in ltc_get_word_from_unaligned()