Home
last modified time | relevance | path

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

12

/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/Native_Driver/drivers/
Dfsl_iap.c42 static status_t get_cfpa_higher_version(flash_config_t *config);
52status_t (*eraseCommand)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t …
53status_t (*programCommand)(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthIn…
54 status_t (*verifyProgramCommand)(flash_config_t *config,
60status_t (*flashReadCommand)(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t lengt…
94 status_t (*flash_init)(flash_config_t *config);
95status_t (*flash_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t k…
96status_t (*flash_program)(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInB…
97 status_t (*flash_verify_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes);
98 status_t (*flash_verify_program)(flash_config_t *config,
[all …]
Dfsl_iap_kbp.h150 status_t (*init)(void);
151 status_t (*read)(uint32_t address, uint32_t length, uint8_t *buffer);
152 status_t (*write)(uint32_t address, uint32_t length, const uint8_t *buffer);
153 status_t (*fill)(uint32_t address, uint32_t length, uint32_t pattern);
154 status_t (*flush)(void);
155 status_t (*erase)(uint32_t address, uint32_t length);
156 status_t (*config)(uint32_t *buffer);
157 status_t (*erase_all)(void);
202 status_t kb_init(kb_session_ref_t **session, const kb_options_t *options);
212 status_t kb_deinit(kb_session_ref_t *session);
[all …]
Dfsl_hashcrypt.h175 typedef void (*hashcrypt_callback_t)(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, status_t stat…
236 status_t HASHCRYPT_AES_SetKey(HASHCRYPT_Type *base, hashcrypt_handle_t *handle, const uint8_t *key,…
251 status_t HASHCRYPT_AES_EncryptEcb(
267 status_t HASHCRYPT_AES_DecryptEcb(
281 status_t HASHCRYPT_AES_EncryptCbc(HASHCRYPT_Type *base,
299 status_t HASHCRYPT_AES_DecryptCbc(HASHCRYPT_Type *base,
328 status_t HASHCRYPT_AES_CryptCtr(HASHCRYPT_Type *base,
355 status_t HASHCRYPT_AES_CryptOfb(HASHCRYPT_Type *base,
374 status_t HASHCRYPT_AES_EncryptCfb(HASHCRYPT_Type *base,
393 status_t HASHCRYPT_AES_DecryptCfb(HASHCRYPT_Type *base,
[all …]
Dfsl_iap_ffr.h244 status_t FFR_Init(flash_config_t *config);
257 status_t FFR_Lock_All(flash_config_t *config);
275 status_t FFR_InfieldPageWrite(flash_config_t *config, uint8_t *page_data, uint32_t valid_len);
292 status_t FFR_GetCustomerInfieldData(flash_config_t *config, uint8_t *pData, uint32_t offset, uint32…
317 status_t FFR_CustFactoryPageWrite(flash_config_t *config, uint8_t *page_data, bool seal_part);
335 status_t FFR_GetCustomerData(flash_config_t *config, uint8_t *pData, uint32_t offset, uint32_t len);
343 status_t FFR_GetUUID(flash_config_t *config, uint8_t *uuid);
361 status_t FFR_KeystoreWrite(flash_config_t *config, ffr_key_store_t *pKeyStore);
369 status_t FFR_KeystoreGetAC(flash_config_t *config, uint8_t *pActivationCode);
378 status_t FFR_KeystoreGetKC(flash_config_t *config, uint8_t *pKeyCode, ffr_key_type_t keyIndex);
Dfsl_hashcrypt.c180 static status_t hashcrypt_get_key_from_unaligned_src(uint8_t *dest, const uint8_t *src, size_t size) in hashcrypt_get_key_from_unaligned_src()
182 status_t retVal = kStatus_InvalidArgument; in hashcrypt_get_key_from_unaligned_src()
290 static status_t hashcrypt_check_need_key(HASHCRYPT_Type *base, hashcrypt_handle_t *handle) in hashcrypt_check_need_key()
419 static status_t hashcrypt_aes_one_block_aligned(HASHCRYPT_Type *base, in hashcrypt_aes_one_block_aligned()
424 status_t status = kStatus_Fail; in hashcrypt_aes_one_block_aligned()
463 static status_t hashcrypt_aes_one_block_unaligned(HASHCRYPT_Type *base, in hashcrypt_aes_one_block_unaligned()
468 status_t status = kStatus_Fail; in hashcrypt_aes_one_block_unaligned()
519 static status_t hashcrypt_aes_one_block(HASHCRYPT_Type *base, const uint8_t *input, uint8_t *output… in hashcrypt_aes_one_block()
521 status_t status = kStatus_Fail; in hashcrypt_aes_one_block()
582 static status_t hashcrypt_sha_check_input_alg(HASHCRYPT_Type *base, hashcrypt_algo_t algo) in hashcrypt_sha_check_input_alg()
[all …]
Dfsl_iap.h336 status_t FLASH_Init(flash_config_t *config);
369 status_t FLASH_Erase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t key);
403 status_t FLASH_Program(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInBytes…
430 status_t FLASH_Read(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t lengthInBytes);
460 status_t FLASH_VerifyErase(flash_config_t *config, uint32_t start, uint32_t lengthInBytes);
492 status_t FLASH_VerifyProgram(flash_config_t *config,
518 status_t FLASH_GetProperty(flash_config_t *config, flash_property_tag_t whichProperty, uint32_t *va…
Dfsl_usart.h251 typedef void (*usart_transfer_callback_t)(USART_Type *base, usart_handle_t *handle, status_t status…
318 status_t USART_Init(USART_Type *base, const usart_config_t *config, uint32_t srcClock_Hz);
396 status_t USART_SetBaudRate(USART_Type *base, uint32_t baudrate_Bps, uint32_t srcClock_Hz);
415 status_t USART_Enable32kMode(USART_Type *base, uint32_t baudRate_Bps, bool enableMode32k, uint32_t …
771 status_t USART_WriteBlocking(USART_Type *base, const uint8_t *data, size_t length);
789 status_t USART_ReadBlocking(USART_Type *base, uint8_t *data, size_t length);
810 status_t USART_TransferCreateHandle(USART_Type *base,
830 status_t USART_TransferSendNonBlocking(USART_Type *base, usart_handle_t *handle, usart_transfer_t *…
895 status_t USART_TransferGetSendCount(USART_Type *base, usart_handle_t *handle, uint32_t *count);
923 status_t USART_TransferReceiveNonBlocking(USART_Type *base,
[all …]
Dfsl_common_arm.h499 static inline status_t EnableIRQ(IRQn_Type interrupt) in EnableIRQ()
501 status_t status = kStatus_Success; in EnableIRQ()
543 static inline status_t DisableIRQ(IRQn_Type interrupt) in DisableIRQ()
545 status_t status = kStatus_Success; in DisableIRQ()
588 static inline status_t EnableIRQWithPriority(IRQn_Type interrupt, uint8_t priNum) in EnableIRQWithPriority()
590 status_t status = kStatus_Success; in EnableIRQWithPriority()
636 static inline status_t IRQ_SetPriority(IRQn_Type interrupt, uint8_t priNum) in IRQ_SetPriority()
638 status_t status = kStatus_Success; in IRQ_SetPriority()
681 static inline status_t IRQ_ClearPendingIRQ(IRQn_Type interrupt) in IRQ_ClearPendingIRQ()
683 status_t status = kStatus_Success; in IRQ_ClearPendingIRQ()
Dfsl_usart.c193 status_t USART_Init(USART_Type *base, const usart_config_t *config, uint32_t srcClock_Hz) in USART_Init()
425 status_t USART_SetBaudRate(USART_Type *base, uint32_t baudrate_Bps, uint32_t srcClock_Hz) in USART_SetBaudRate()
517 status_t USART_Enable32kMode(USART_Type *base, uint32_t baudRate_Bps, bool enableMode32k, uint32_t … in USART_Enable32kMode()
519 status_t result = kStatus_Success; in USART_Enable32kMode()
600 status_t USART_WriteBlocking(USART_Type *base, const uint8_t *data, size_t length) in USART_WriteBlocking()
670 status_t USART_ReadBlocking(USART_Type *base, uint8_t *data, size_t length) in USART_ReadBlocking()
673 status_t status = kStatus_Success; in USART_ReadBlocking()
758 status_t USART_TransferCreateHandle(USART_Type *base, in USART_TransferCreateHandle()
810 status_t USART_TransferSendNonBlocking(USART_Type *base, usart_handle_t *handle, usart_transfer_t *… in USART_TransferSendNonBlocking()
880 status_t USART_TransferGetSendCount(USART_Type *base, usart_handle_t *handle, uint32_t *count) in USART_TransferGetSendCount()
[all …]
Dfsl_rng.h83 status_t RNG_GetRandomData(RNG_Type *base, void *data, size_t dataSize);
Dfsl_flexcomm.h52 status_t FLEXCOMM_Init(void *base, FLEXCOMM_PERIPH_T periph);
Dfsl_rng.c165 status_t RNG_GetRandomData(RNG_Type *base, void *data, size_t dataSize) in RNG_GetRandomData()
167 status_t result = kStatus_Fail; in RNG_GetRandomData()
Dfsl_flexcomm.c34 static status_t FLEXCOMM_SetPeriph(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph, int lock);
111 static status_t FLEXCOMM_SetPeriph(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph, int lock) in FLEXCOMM_SetPeriph()
140 status_t FLEXCOMM_Init(void *base, FLEXCOMM_PERIPH_T periph) in FLEXCOMM_Init()
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/Native_Driver/utilities/debug_console/
Dfsl_debug_console.h120 status_t DbgConsole_Init(uint8_t instance, uint32_t baudRate, serial_port_type_t device, uint32_t c…
130 status_t DbgConsole_Deinit(void);
138 status_t DbgConsole_EnterLowpower(void);
147 status_t DbgConsole_ExitLowpower(void);
154 static inline status_t DbgConsole_Init(uint8_t instance,
163 return (status_t)kStatus_Fail;
169 static inline status_t DbgConsole_Deinit(void)
171 return (status_t)kStatus_Fail;
178 static inline status_t DbgConsole_EnterLowpower(void)
180 return (status_t)kStatus_Fail;
[all …]
Dfsl_debug_console.c279 status_t DbgConsole_ReadOneCharacter(uint8_t *ch);
287 DEBUG_CONSOLE_FUNCTION_PREFIX status_t DbgConsole_Flush(void);
295 static status_t DbgConsole_SerialManagerPerformTransfer(debug_console_state_struct_t *ioState) in DbgConsole_SerialManagerPerformTransfer()
326 return (status_t)ret; in DbgConsole_SerialManagerPerformTransfer()
424 status_t DbgConsole_ReadOneCharacter(uint8_t *ch) in DbgConsole_ReadOneCharacter()
430 return (status_t)kStatus_Fail; in DbgConsole_ReadOneCharacter()
452 return (status_t)status; in DbgConsole_ReadOneCharacter()
458 return (status_t)kStatus_Fail; in DbgConsole_ReadOneCharacter()
464 static status_t DbgConsole_EchoCharacter(uint8_t *ch, bool isGetChar, int *index) in DbgConsole_EchoCharacter()
472 return (status_t)kStatus_Fail; in DbgConsole_EchoCharacter()
[all …]
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/lpcxpresso55s69/Native_Driver/utilities/
Dfsl_notifier.h94 typedef status_t (*notifier_user_function_t)(notifier_user_config_t *targetConfig, void *userData);
123 typedef status_t (*notifier_callback_t)(notifier_notification_block_t *notify, void *data);
183 status_t NOTIFIER_CreateHandle(notifier_handle_t *notifierHandle,
216 status_t NOTIFIER_SwitchConfig(notifier_handle_t *notifierHandle, uint8_t configIndex, notifier_pol…
Dfsl_notifier.c40 status_t NOTIFIER_CreateHandle(notifier_handle_t *notifierHandle, in NOTIFIER_CreateHandle()
97 status_t NOTIFIER_SwitchConfig(notifier_handle_t *notifierHandle, uint8_t configIndex, notifier_pol… in NOTIFIER_SwitchConfig()
100 status_t returnCode = kStatus_Success; /* Function return */ in NOTIFIER_SwitchConfig()
131 … returnCode = (status_t)kStatus_NOTIFIER_ErrorNotificationBefore; in NOTIFIER_SwitchConfig()
168 … returnCode = (status_t)kStatus_NOTIFIER_ErrorNotificationAfter; in NOTIFIER_SwitchConfig()
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/lpcxpresso55s69/project_template/bl2/
Dboard.c58 status_t BOARD_I2C_Send(I2C_Type *base, in BOARD_I2C_Send()
79 status_t BOARD_I2C_Receive(I2C_Type *base, in BOARD_I2C_Receive()
105 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u… in BOARD_Accel_I2C_Send()
112 status_t BOARD_Accel_I2C_Receive( in BOARD_Accel_I2C_Receive()
123 status_t BOARD_Codec_I2C_Send( in BOARD_Codec_I2C_Send()
130 status_t BOARD_Codec_I2C_Receive( in BOARD_Codec_I2C_Receive()
Dboard.h196 status_t BOARD_I2C_Send(I2C_Type *base,
202 status_t BOARD_I2C_Receive(I2C_Type *base,
209 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
210 status_t BOARD_Accel_I2C_Receive(
213 status_t BOARD_Codec_I2C_Send(
215 status_t BOARD_Codec_I2C_Receive(
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/lpcxpresso55s69/project_template/ns/
Dboard.c58 status_t BOARD_I2C_Send(I2C_Type *base, in BOARD_I2C_Send()
79 status_t BOARD_I2C_Receive(I2C_Type *base, in BOARD_I2C_Receive()
105 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u… in BOARD_Accel_I2C_Send()
112 status_t BOARD_Accel_I2C_Receive( in BOARD_Accel_I2C_Receive()
123 status_t BOARD_Codec_I2C_Send( in BOARD_Codec_I2C_Send()
130 status_t BOARD_Codec_I2C_Receive( in BOARD_Codec_I2C_Receive()
Dboard.h196 status_t BOARD_I2C_Send(I2C_Type *base,
202 status_t BOARD_I2C_Receive(I2C_Type *base,
209 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
210 status_t BOARD_Accel_I2C_Receive(
213 status_t BOARD_Codec_I2C_Send(
215 status_t BOARD_Codec_I2C_Receive(
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/lpcxpresso55s69/project_template/s/
Dboard.c58 status_t BOARD_I2C_Send(I2C_Type *base, in BOARD_I2C_Send()
79 status_t BOARD_I2C_Receive(I2C_Type *base, in BOARD_I2C_Receive()
105 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u… in BOARD_Accel_I2C_Send()
112 status_t BOARD_Accel_I2C_Receive( in BOARD_Accel_I2C_Receive()
123 status_t BOARD_Codec_I2C_Send( in BOARD_Codec_I2C_Send()
130 status_t BOARD_Codec_I2C_Receive( in BOARD_Codec_I2C_Receive()
Dboard.h196 status_t BOARD_I2C_Send(I2C_Type *base,
202 status_t BOARD_I2C_Receive(I2C_Type *base,
209 status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, u…
210 status_t BOARD_Accel_I2C_Receive(
213 status_t BOARD_Codec_I2C_Send(
215 status_t BOARD_Codec_I2C_Receive(
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/CMSIS_Driver/
DDriver_Flash_iap1.c124 static status_t flash_command_sequence(flash_config_t *config);
127 static status_t FLASH_ReadData(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t leng…
128 static status_t FLASH_ReadSingleWord(flash_config_t *config, uint32_t start, uint32_t *readbackData…
151 status_t status; in ARM_Flash_Initialize()
302 static status_t FLASH_ReadInit(flash_config_t *config)
304 status_t status = kStatus_Fail;
331 static status_t FLASH_ReadData(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t leng… in FLASH_ReadData()
333 status_t status = kStatus_Fail; in FLASH_ReadData()
360 static status_t FLASH_ReadSingleWord(flash_config_t *config, uint32_t start, uint32_t *readbackData) in FLASH_ReadSingleWord()
362 status_t status = kStatus_Fail; in FLASH_ReadSingleWord()
[all …]
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/Native_Driver/components/uart/
Dfsl_adapter_usart.c132 static hal_uart_status_t HAL_UartGetStatus(status_t status) in HAL_UartGetStatus()
167 static hal_uart_status_t HAL_UartGetStatus(status_t status) in HAL_UartGetStatus()
183 static void HAL_UartCallback(USART_Type *base, usart_handle_t *handle, status_t status, void *callb… in HAL_UartCallback()
275 status_t status; in HAL_UartInitCommon()
378 status_t status; in HAL_UartReceiveBlocking()
456 status_t status; in HAL_UartTransferReceiveNonBlocking()
472 status_t status; in HAL_UartTransferSendNonBlocking()
488 status_t status; in HAL_UartTransferGetReceiveCount()
504 status_t status; in HAL_UartTransferGetSendCount()
721 static void USART_DMACallbacks(USART_Type *base, usart_dma_handle_t *handle, status_t status, void … in USART_DMACallbacks()

12