/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/ |
D | fsl_ltc_edma.c | 77 status_t retval; in ltc_process_message_in_sessions_EDMA() local 81 retval = kStatus_Success; in ltc_process_message_in_sessions_EDMA() 86 retval = kStatus_InvalidArgument; in ltc_process_message_in_sessions_EDMA() 147 retval = ltc_wait(base); in ltc_process_message_in_sessions_EDMA() 169 handle->callback(base, handle, retval, handle->userData); in ltc_process_message_in_sessions_EDMA() 176 return retval; in ltc_process_message_in_sessions_EDMA() 189 status_t retval; in ltc_process_message_in_sessions_ctr_EDMA() local 193 retval = kStatus_Success; in ltc_process_message_in_sessions_ctr_EDMA() 198 retval = kStatus_InvalidArgument; in ltc_process_message_in_sessions_ctr_EDMA() 259 retval = ltc_wait(base); in ltc_process_message_in_sessions_ctr_EDMA() [all …]
|
D | fsl_ltc.c | 749 status_t retval; in ltc_process_message_in_sessions() local 776 retval = kStatus_Success; in ltc_process_message_in_sessions() 782 retval = ltc_symmetric_process_data(base, inData, inSize, outData); in ltc_process_message_in_sessions() 783 if (kStatus_Success != retval) in ltc_process_message_in_sessions() 785 return retval; in ltc_process_message_in_sessions() 791 retval = ltc_symmetric_process_data(base, inData, sz, outData); in ltc_process_message_in_sessions() 792 if (kStatus_Success != retval) in ltc_process_message_in_sessions() 794 return retval; in ltc_process_message_in_sessions() 802 return retval; in ltc_process_message_in_sessions() 1124 status_t retval; in ltc_aes_decrypt_ecb() local [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/tfa9xxx/ |
D | fsl_tfa9xxx_IMX.c | 68 status_t retval = kStatus_Success; in TFA9XXX_I2C_Transfer() local 77 …retval = codec_i2c_callback(handle, deviceAddress, subAddress, subaddressSize, transferAddress, tr… in TFA9XXX_I2C_Transfer() 78 if (retval != kStatus_Success) in TFA9XXX_I2C_Transfer() 80 return retval; in TFA9XXX_I2C_Transfer() 86 return retval; in TFA9XXX_I2C_Transfer() 102 uint16_t retval = kStatus_Success; in tfa2_i2c_write_read_raw() local 106 …retval = TFA9XXX_I2C_Transfer(CODEC_I2C_Send, client->hal, client->addr, *wrdata, 1U, wrdata + 1U,… in tfa2_i2c_write_read_raw() 110 … retval = TFA9XXX_I2C_Transfer(CODEC_I2C_Send, client->hal, client->addr, 0, 0, wrdata, wrlen); in tfa2_i2c_write_read_raw() 111 if (retval != kStatus_Success) in tfa2_i2c_write_read_raw() 113 return -retval; in tfa2_i2c_write_read_raw() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpuart/ |
D | fsl_lpuart_freertos.c | 235 int retval = kStatus_Fail; in LPUART_RTOS_Send() local 275 retval = kStatus_Success; in LPUART_RTOS_Send() 283 retval = kStatus_Timeout; in LPUART_RTOS_Send() 287 retval = kStatus_Fail; in LPUART_RTOS_Send() 294 retval = kStatus_Fail; in LPUART_RTOS_Send() 297 return retval; in LPUART_RTOS_Send() 321 int retval = kStatus_Fail; in LPUART_RTOS_Receive() local 374 retval = kStatus_LPUART_RxHardwareOverrun; in LPUART_RTOS_Receive() 384 retval = kStatus_LPUART_RxRingBufferOverrun; in LPUART_RTOS_Receive() 389 retval = kStatus_Success; in LPUART_RTOS_Receive() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8962/ |
D | fsl_wm8962.c | 734 status_t retval = kStatus_Success; in WM8962_ConfigDataFormat() local 743 retval = WM8962_ModifyReg(handle, WM8962_IFACE0, WM8962_IFACE0_WL_MASK, in WM8962_ConfigDataFormat() 747 retval = WM8962_ModifyReg(handle, WM8962_IFACE0, WM8962_IFACE0_WL_MASK, in WM8962_ConfigDataFormat() 751 retval = WM8962_ModifyReg(handle, WM8962_IFACE0, WM8962_IFACE0_WL_MASK, in WM8962_ConfigDataFormat() 755 retval = WM8962_ModifyReg(handle, WM8962_IFACE0, WM8962_IFACE0_WL_MASK, in WM8962_ConfigDataFormat() 759 retval = kStatus_InvalidArgument; in WM8962_ConfigDataFormat() 763 if (kStatus_Success != retval) in WM8962_ConfigDataFormat() 765 return retval; in WM8962_ConfigDataFormat() 804 retval = kStatus_InvalidArgument; in WM8962_ConfigDataFormat() 808 if (kStatus_Success != retval) in WM8962_ConfigDataFormat() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/iuart/ |
D | fsl_uart_freertos.c | 225 int retval = kStatus_Success; in UART_RTOS_Send() local 262 retval = kStatus_Fail; in UART_RTOS_Send() 268 retval = kStatus_Fail; in UART_RTOS_Send() 271 return retval; in UART_RTOS_Send() 295 int retval = kStatus_Fail; in UART_RTOS_Receive() local 345 retval = kStatus_UART_RxHardwareOverrun; in UART_RTOS_Receive() 355 retval = kStatus_UART_RxRingBufferOverrun; in UART_RTOS_Receive() 360 retval = kStatus_Success; in UART_RTOS_Receive() 365 retval = kStatus_UART_Error; in UART_RTOS_Receive() 379 retval = kStatus_Fail; in UART_RTOS_Receive() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/uart/ |
D | fsl_uart_freertos.c | 225 int retval = kStatus_Success; in UART_RTOS_Send() local 262 retval = kStatus_Fail; in UART_RTOS_Send() 268 retval = kStatus_Fail; in UART_RTOS_Send() 271 return retval; in UART_RTOS_Send() 295 int retval = kStatus_Fail; in UART_RTOS_Receive() local 345 retval = kStatus_UART_RxHardwareOverrun; in UART_RTOS_Receive() 355 retval = kStatus_UART_RxRingBufferOverrun; in UART_RTOS_Receive() 360 retval = kStatus_Success; in UART_RTOS_Receive() 365 retval = kStatus_UART_Error; in UART_RTOS_Receive() 379 retval = kStatus_Fail; in UART_RTOS_Receive() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/usart/ |
D | fsl_usart_freertos.c | 222 int retval = kStatus_Success; in USART_RTOS_Send() local 259 retval = kStatus_Fail; in USART_RTOS_Send() 265 retval = kStatus_Fail; in USART_RTOS_Send() 268 return retval; in USART_RTOS_Send() 292 int retval = kStatus_Fail; in USART_RTOS_Receive() local 341 retval = kStatus_USART_RxRingBufferOverrun; in USART_RTOS_Receive() 346 retval = kStatus_Success; in USART_RTOS_Receive() 351 retval = kStatus_USART_RxError; in USART_RTOS_Receive() 365 retval = kStatus_Fail; in USART_RTOS_Receive() 367 return retval; in USART_RTOS_Receive()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/crc/ |
D | fsl_crc.c | 303 uint32_t retval; in CRC_Get16bitResult() local 306 retval = base->DATA; in CRC_Get16bitResult() 313 retval &= 0xFFFF0000U; in CRC_Get16bitResult() 314 retval = retval >> 16U; in CRC_Get16bitResult() 319 retval &= 0x0000FFFFU; in CRC_Get16bitResult() 321 return (uint16_t)retval; in CRC_Get16bitResult()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/extern_flash/ |
D | fsl_adapter_eeprom_AT45DBxxxx.c | 225 eeprom_status_t retval; in EEPROM_Init() local 259 retval = EEPROM_WaitForReady(false); in EEPROM_Init() 260 if (kStatus_EeSuccess != retval) in EEPROM_Init() 262 return retval; in EEPROM_Init() 341 eeprom_status_t retval; in EEPROM_WriteData() local 357 retval = EEPROM_WritePage(bytes, addr2eeprom, Outbuf); in EEPROM_WriteData() 366 if (kStatus_EeSuccess != retval) in EEPROM_WriteData() 368 return retval; in EEPROM_WriteData() 371 retval = EEPROM_WritePage(noOfBytes, addr2eeprom, Outbuf); in EEPROM_WriteData() 373 return retval; in EEPROM_WriteData()
|
D | fsl_adapter_eeprom_AT25Fxxxx.c | 233 eeprom_status_t retval; in EEPROM_WriteData() local 239 retval = EEPROM_WritePage(bytes, addr2eeprom, Outbuf); in EEPROM_WriteData() 248 if (kStatus_EeSuccess != retval) in EEPROM_WriteData() 250 return retval; in EEPROM_WriteData() 253 retval = EEPROM_WritePage(noOfBytes, addr2eeprom, Outbuf); in EEPROM_WriteData() 255 return retval; in EEPROM_WriteData()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/ak4497/ |
D | fsl_ak4497.c | 307 status_t retval = kStatus_Success; in AK4497_SetVolume() local 311 retval = AK4497_WriteReg(handle, AK4497_LCHATT, value); in AK4497_SetVolume() 312 retval = AK4497_WriteReg(handle, AK4497_RCHATT, value); in AK4497_SetVolume() 314 return retval; in AK4497_SetVolume() 319 status_t retval = kStatus_Success; in AK4497_GetVolume() local 324 retval = AK4497_ReadReg(handle, AK4497_LCHATT, value); in AK4497_GetVolume() 326 return retval; in AK4497_GetVolume() 379 status_t retval = kStatus_Success; in AK4497_ModifyReg() local 381 retval = AK4497_ReadReg(handle, reg, ®_val); in AK4497_ModifyReg() 382 if (retval != kStatus_Success) in AK4497_ModifyReg() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxCsslMemory/inc/impl/ |
D | mcuxCsslMemory_Copy_asm.h | 25 #define MCUXCSSLMEMORY_COPY_ASM(word, byte, cha, chb, xorword, retval, datareg, src, dst, nwords, c… argument 68 , [_retval] "+r" (retval) \ 80 #define MCUXCSSLMEMORY_COPY_ASM(word, byte, cha, chb, xorword, retval, datareg, src, dst, nwords, c… argument 116 EORS retval, retval, success; \
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxCsslMemory/src/ |
D | mcuxCsslMemory_Compare.c | 41 uint32_t retval; in MCUX_CSSL_FP_FUNCTION_DEF() local 51 MCUXCSSLMEMORY_COMPARE_ASM_COMPARISON(retval, cur_lhs, cur_rhs, cnt, notValid, result); in MCUX_CSSL_FP_FUNCTION_DEF() 53 MCUXCSSLMEMORY_COMPARE_ASM_CALC_RETVAL(retval, errCode); in MCUX_CSSL_FP_FUNCTION_DEF() 60 MCUX_CSSL_FP_FUNCTION_EXIT(mcuxCsslMemory_Compare, (mcuxCsslMemory_CompareResult_t)retval); in MCUX_CSSL_FP_FUNCTION_DEF()
|
D | mcuxCsslMemory_Copy.c | 43 uint32_t retval = (uint32_t) MCUXCSSLMEMORY_COPY_FAULT; in MCUX_CSSL_FP_FUNCTION_DEF() local 67 …MCUXCSSLMEMORY_COPY_ASM(word, byte, cha, chb, xorword, retval, datareg, src, dst, nwords, cnt, suc… in MCUX_CSSL_FP_FUNCTION_DEF() 74 MCUX_CSSL_FP_FUNCTION_EXIT(mcuxCsslMemory_Copy, retval); in MCUX_CSSL_FP_FUNCTION_DEF()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8960/ |
D | fsl_wm8960.c | 754 status_t retval = kStatus_Success; in WM8960_ConfigDataFormat() local 773 retval = WM8960_ModifyReg(handle, WM8960_CLOCK1, 0x1F8U, val); in WM8960_ConfigDataFormat() 774 if (retval != kStatus_Success) in WM8960_ConfigDataFormat() 776 return retval; in WM8960_ConfigDataFormat() 785 retval = WM8960_ModifyReg(handle, WM8960_IFACE1, WM8960_IFACE1_WL_MASK, in WM8960_ConfigDataFormat() 789 retval = WM8960_ModifyReg(handle, WM8960_IFACE1, WM8960_IFACE1_WL_MASK, in WM8960_ConfigDataFormat() 793 retval = WM8960_ModifyReg(handle, WM8960_IFACE1, WM8960_IFACE1_WL_MASK, in WM8960_ConfigDataFormat() 797 retval = WM8960_ModifyReg(handle, WM8960_IFACE1, WM8960_IFACE1_WL_MASK, in WM8960_ConfigDataFormat() 801 retval = kStatus_InvalidArgument; in WM8960_ConfigDataFormat() 805 return retval; in WM8960_ConfigDataFormat() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/sgtl5000/ |
D | fsl_sgtl5000.c | 683 status_t retval = 0; in SGTL_ReadReg() local 687 …retval = CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 2U, (uint8_t *)&r… in SGTL_ReadReg() 691 return retval; in SGTL_ReadReg() 696 status_t retval = 0; in SGTL_ModifyReg() local 700 retval = SGTL_ReadReg(handle, reg, ®_val); in SGTL_ModifyReg() 701 if (retval != kStatus_Success) in SGTL_ModifyReg() 711 retval = SGTL_WriteReg(handle, reg, reg_val); in SGTL_ModifyReg() 712 if (retval != kStatus_Success) in SGTL_ModifyReg()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/sx1502/ |
D | fsl_sx1502.c | 123 status_t retval = 0; in SX1502_ReadRegister() local 126 …retval = SX1502_I2C_Receive(handle->i2cHandle, handle->slaveAddress, (uint32_t)reg, 1U, (uint8_t *… in SX1502_ReadRegister() 130 return retval; in SX1502_ReadRegister()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/cs42448/ |
D | fsl_cs42448.c | 277 status_t retval = kStatus_Success; in CS42448_ConfigDataFormat() local 339 retval = CS42448_WriteReg(handle, CS42448_FUNCTIONAL_MODE, val); in CS42448_ConfigDataFormat() 341 return retval; in CS42448_ConfigDataFormat()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/cs42888/ |
D | fsl_cs42888.c | 280 status_t retval = kStatus_Success; in CS42888_ConfigDataFormat() local 342 retval = CS42888_WriteReg(handle, CS42888_FUNCTIONAL_MODE, val); in CS42888_ConfigDataFormat() 344 return retval; in CS42888_ConfigDataFormat()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/cau3/ |
D | fsl_cau3.c | 2436 uint32_t retval; in cau3_pkha_read_word() local 2444 retval = pka[index]; in cau3_pkha_read_word() 2448 retval = pkb[index]; in cau3_pkha_read_word() 2452 retval = pkn[index]; in cau3_pkha_read_word() 2456 retval = 0; in cau3_pkha_read_word() 2459 return retval; in cau3_pkha_read_word() 2634 status_t retval; in cau3_pkha_init_mode() local 2667 retval = cau3_wait(base); in cau3_pkha_init_mode() 2668 return (retval); in cau3_pkha_init_mode() 2762 int retval = 0; in CAU3_PKHA_CompareBigNum() local [all …]
|
/hal_nxp-3.5.0/mcux/middleware/wireless/framework_5.3.3/XCVR/MKW40Z4/ |
D | KW4xXcvrDrv.c | 360 healthStatus_t retval = NO_ERRORS; in XcvrHealthCheck() local 364 retval |= PLL_CTUNE_FAIL; in XcvrHealthCheck() 368 retval |= PLL_CYCLE_SLIP_FAIL; in XcvrHealthCheck() 372 retval |= PLL_FREQ_TARG_FAIL; in XcvrHealthCheck() 376 retval |= PLL_TSM_ABORT_FAIL; in XcvrHealthCheck() 382 return retval; in XcvrHealthCheck()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dma3/ |
D | fsl_edma.c | 769 uint32_t retval = 0; in EDMA_GetChannelStatusFlags() local 772 retval |= ((base->CH[channel].CH_CSR & DMA_CH_CSR_DONE_MASK) >> DMA_CH_CSR_DONE_SHIFT); in EDMA_GetChannelStatusFlags() 774 retval |= (((base->CH[channel].CH_ES & DMA_CH_ES_ERR_MASK) >> DMA_CH_ES_ERR_SHIFT) << 1U); in EDMA_GetChannelStatusFlags() 776 retval |= (((base->CH[channel].CH_INT & DMA_CH_INT_INT_MASK) >> DMA_CH_INT_INT_SHIFT) << 2U); in EDMA_GetChannelStatusFlags() 778 return retval; in EDMA_GetChannelStatusFlags()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8904/ |
D | fsl_wm8904.c | 157 status_t retval = 0; in WM8904_ReadRegister() local 160 retval = CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, (uint32_t)reg, 1U, in WM8904_ReadRegister() 165 return retval; in WM8904_ReadRegister()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/edma/ |
D | fsl_edma.c | 771 uint32_t retval = 0; in EDMA_GetChannelStatusFlags() local 774 retval |= (((uint32_t)base->TCD[channel].CSR & DMA_CSR_DONE_MASK) >> DMA_CSR_DONE_SHIFT); in EDMA_GetChannelStatusFlags() 776 retval |= ((((uint32_t)base->ERR >> channel) & 0x1U) << 1U); in EDMA_GetChannelStatusFlags() 778 retval |= ((((uint32_t)base->INT >> channel) & 0x1U) << 2U); in EDMA_GetChannelStatusFlags() 780 return retval; in EDMA_GetChannelStatusFlags()
|