Home
last modified time | relevance | path

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

123

/hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/cryptokey/
DCryptoKeyKeyStore_PSA_helpers.c102 int_fast16_t status = KEYSTORE_PSA_STATUS_GENERIC_ERROR; in KeyStore_PSA_purgeKey() local
108 status = KEYSTORE_PSA_STATUS_RESOURCE_UNAVAILABLE; in KeyStore_PSA_purgeKey()
109 return status; in KeyStore_PSA_purgeKey()
124 status = psa_purge_key(key); in KeyStore_PSA_purgeKey()
127 … if (!KeyStore_semaphoreObject.isAcquired && (status != KEYSTORE_PSA_STATUS_RESOURCE_UNAVAILABLE)) in KeyStore_PSA_purgeKey()
131 return status; in KeyStore_PSA_purgeKey()
137 static int_fast16_t KeyStore_cleanUp(int_fast16_t status) in KeyStore_cleanUp() argument
140 if (status != KEYSTORE_PSA_STATUS_RESOURCE_UNAVAILABLE) in KeyStore_cleanUp()
145 return status; in KeyStore_cleanUp()
153 psa_status_t status = KEYSTORE_PSA_STATUS_GENERIC_ERROR; in KeyStore_PSA_init() local
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aescmac/
DAESCMACLPF3.c191 int_fast16_t status; in AESCMAC_construct() local
225status = AESCommonLPF3_construct(&object->common, (AES_ReturnBehavior)params->returnBehavior, para… in AESCMAC_construct()
227 if (status != AES_STATUS_SUCCESS) in AESCMAC_construct()
312 int_fast16_t status = AESCMAC_STATUS_ERROR; in AESCMACLPF3_startOperation() local
351 status = object->common.returnStatus; in AESCMACLPF3_startOperation()
365 object->callbackFxn(handle, status, operation, operationType); in AESCMACLPF3_startOperation()
368 status = AESCMAC_STATUS_SUCCESS; in AESCMACLPF3_startOperation()
409 status = AESCMACLPF3_waitForResult(handle); in AESCMACLPF3_startOperation()
412 return status; in AESCMACLPF3_startOperation()
562 int_fast16_t status = AESCommonLPF3_setOperationInProgress(&object->common); in AESCMACLPF3_oneStepOperation() local
[all …]
/hal_ti-latest/simplelink/source/ti/drivers/sd/
DSDSPI.c206 int_fast16_t status; in SDSPI_initialize() local
227 status = spiTransfer(object->spiHandle, NULL, &txDummy, 10); in SDSPI_initialize()
228 if (status != SD_STATUS_SUCCESS) { in SDSPI_initialize()
230 return (status); in SDSPI_initialize()
244 for (i = 255, status = 0xFF; i > 0 && status != 0x1; i--) { in SDSPI_initialize()
245 status = sendCmd(object->spiHandle, CMD0, 0); in SDSPI_initialize()
249 if (status != 0x1) { in SDSPI_initialize()
263 status = spiTransfer(object->spiHandle, &ocr, &txDummy, 4); in SDSPI_initialize()
264 if (status == SD_STATUS_SUCCESS) { in SDSPI_initialize()
275 status = SD_STATUS_ERROR; in SDSPI_initialize()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesecb/
DAESECBLPF3.c203 int_fast16_t status; in AESECB_construct() local
236status = AESCommonLPF3_construct(&object->common, (AES_ReturnBehavior)params->returnBehavior, para… in AESECB_construct()
238 if (status != AES_STATUS_SUCCESS) in AESECB_construct()
263 int_fast16_t status = AESECB_STATUS_SUCCESS; in AESECB_oneStepEncrypt() local
267 status = AESECBLPF3_oneStepOperation(handle, operation, AESECB_OPERATION_TYPE_ENCRYPT); in AESECB_oneStepEncrypt()
272 status = AESECBLPF3HSM_oneStepOperation(handle, operation, AESECB_OPERATION_TYPE_ENCRYPT); in AESECB_oneStepEncrypt()
277 status = AESECB_STATUS_ERROR; in AESECB_oneStepEncrypt()
279 return status; in AESECB_oneStepEncrypt()
290 int_fast16_t status = AESECB_STATUS_SUCCESS; in AESECB_oneStepDecrypt() local
294 status = AESECB_STATUS_FEATURE_NOT_SUPPORTED; in AESECB_oneStepDecrypt()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesccm/
DAESCCMLPF3.c350 int_fast16_t status = AESCCM_STATUS_SUCCESS; in AESCCMLPF3_finishTag() local
367 status = AESCCM_STATUS_MAC_INVALID; in AESCCMLPF3_finishTag()
372 return status; in AESCCMLPF3_finishTag()
380 int_fast16_t status; in AESCCMLPF3_waitForDMA() local
396 status = object->common.returnStatus; in AESCCMLPF3_waitForDMA()
401 status = AESCCM_STATUS_SUCCESS; in AESCCMLPF3_waitForDMA()
404 return status; in AESCCMLPF3_waitForDMA()
425 int_fast16_t status; in AESCCM_construct() local
457status = AESCommonLPF3_construct(&object->common, (AES_ReturnBehavior)params->returnBehavior, para… in AESCCM_construct()
459 if (status != AES_STATUS_SUCCESS) in AESCCM_construct()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesctr/
DAESCTRLPF3.c233 int_fast16_t status; in AESCTR_construct() local
266status = AESCommonLPF3_construct(&object->common, (AES_ReturnBehavior)params->returnBehavior, para… in AESCTR_construct()
268 if (status != AES_STATUS_SUCCESS) in AESCTR_construct()
293 int_fast16_t status; in AESCTR_oneStepEncrypt() local
297status = AESCTRLPF3_oneStepOperation(handle, operationStruct, AESCTR_OPERATION_TYPE_ENCRYPT); in AESCTR_oneStepEncrypt()
302status = AESCTRLPF3HSM_oneStepOperation(handle, operationStruct, AESCTR_OPERATION_TYPE_ENCRYPT); in AESCTR_oneStepEncrypt()
307 status = AESCTR_STATUS_ERROR; in AESCTR_oneStepEncrypt()
309 return status; in AESCTR_oneStepEncrypt()
317 int_fast16_t status; in AESCTR_oneStepDecrypt() local
321status = AESCTRLPF3_oneStepOperation(handle, operationStruct, AESCTR_OPERATION_TYPE_DECRYPT); in AESCTR_oneStepDecrypt()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/wrappers/
DRCL_AdcNoise.c70 typedef void (*applicationCallback_t)(uint32_t* buffer, uint32_t numWords, int_fast16_t status);
81 callback(adcCmd->output, adcCmd->numWords, RCL_STATUS_TO_WRAPPER_STATUS(cmd->status)); in adcNoiseCallback()
103 RCL_CommandStatus status; in RCL_AdcNoise_get_samples_blocking() local
124 status = RCL_Command_submit(h, adcNoiseCmd); in RCL_AdcNoise_get_samples_blocking()
126 if (status <= RCL_CommandStatus_Finished) in RCL_AdcNoise_get_samples_blocking()
129 status = RCL_Command_pend(adcNoiseCmd); in RCL_AdcNoise_get_samples_blocking()
141 return RCL_STATUS_TO_WRAPPER_STATUS(status); in RCL_AdcNoise_get_samples_blocking()
151 RCL_CommandStatus status; in RCL_AdcNoise_get_samples_callback() local
180 status = RCL_Command_submit(h, adcNoiseCmd); in RCL_AdcNoise_get_samples_callback()
182 return RCL_STATUS_TO_WRAPPER_STATUS(status); in RCL_AdcNoise_get_samples_callback()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesctrdrbg/
DAESCTRDRBGXX.c223 int_fast16_t status; in AESCTRDRBG_construct() local
303status = AESCTRDRBG_reseed(handle, params->seed, params->personalizationData, params->personalizat… in AESCTRDRBG_construct()
305 if (status != AESCTRDRBG_STATUS_SUCCESS) in AESCTRDRBG_construct()
350 int_fast16_t status = AESCTRDRBG_STATUS_ERROR; in AESCTRDRBG_generateKey() local
365 status = AESCTRDRBG_getRandomBytes(handle, in AESCTRDRBG_generateKey()
368 if (status == AESCTRDRBG_STATUS_SUCCESS) in AESCTRDRBG_generateKey()
388status = AESCTRDRBG_getRandomBytes(handle, KeyStore_keyingMaterial, randomKey->u.keyStore.keyLengt… in AESCTRDRBG_generateKey()
390 if (status == AESCTRDRBG_STATUS_SUCCESS) in AESCTRDRBG_generateKey()
412 status = AESCTRDRBG_STATUS_SUCCESS; in AESCTRDRBG_generateKey()
416 status = AESCTRDRBG_STATUS_KEYSTORE_ERROR; in AESCTRDRBG_generateKey()
[all …]
/hal_ti-latest/simplelink/source/ti/drivers/i2c/
DI2CCC32XX.c225 if (object->currentTransaction->status == I2C_STATUS_CANCEL) { in I2CCC32XX_completeTransfer()
233 object->currentTransaction->status = I2C_STATUS_CANCEL; in I2CCC32XX_completeTransfer()
238 object->headPtr->status = I2C_STATUS_CANCEL; in I2CCC32XX_completeTransfer()
240 object->headPtr->status = I2C_STATUS_CANCEL; in I2CCC32XX_completeTransfer()
261 (object->currentTransaction->status == I2C_STATUS_SUCCESS)); in I2CCC32XX_completeTransfer()
276 (object->currentTransaction->status == I2C_STATUS_SUCCESS)); in I2CCC32XX_completeTransfer()
313 uint32_t status = HWREG(hwAttrs->baseAddr + I2C_O_MCS); in I2CCC32XX_hwiFxn() local
316 if (status & I2C_MCS_ARBLST) { in I2CCC32XX_hwiFxn()
317 object->currentTransaction->status = I2C_STATUS_ARB_LOST; in I2CCC32XX_hwiFxn()
319 else if (status & I2C_MCS_DATACK) { in I2CCC32XX_hwiFxn()
[all …]
/hal_ti-latest/simplelink/source/ti/drivers/power/
DPowerCC32XX.c199 int_fast16_t status; in Power_getDependencyCount() local
202 status = Power_EINVALIDINPUT; in Power_getDependencyCount()
205 status = PowerCC32XX_module.refCount[resourceId]; in Power_getDependencyCount()
208 return (status); in Power_getDependencyCount()
325 int_fast16_t status = Power_SOK; in Power_registerNotify() local
329 status = Power_EINVALIDPOINTER; in Power_registerNotify()
346 return (status); in Power_registerNotify()
355 int_fast16_t status = Power_SOK; in Power_releaseConstraint() local
361 status = Power_EINVALIDINPUT; in Power_releaseConstraint()
375 status = Power_EFAIL; in Power_releaseConstraint()
[all …]
DPowerCC26X2.c425 int_fast16_t status = Power_SOK; in Power_registerNotify() local
429 status = Power_EINVALIDPOINTER; in Power_registerNotify()
442 return (status); in Power_registerNotify()
681 int_fast16_t status = Power_EFAIL; in Power_shutdown() local
691 status = Power_ECHANGE_NOT_ALLOWED; in Power_shutdown()
700 status = notify(PowerCC26XX_ENTERING_SHUTDOWN); in Power_shutdown()
703 if (status != Power_SOK) { in Power_shutdown()
706 return (status); in Power_shutdown()
720 status = Power_EBUSY; in Power_shutdown()
732 return (status); in Power_shutdown()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/
DRCL.c106 if (NULL == cmd || cmd->status >= RCL_CommandStatus_Finished) in rclCommandHwi()
153 if (cmd->status == RCL_CommandStatus_Scheduled) in rclCommandHwi()
168 cmd->status = RCL_Scheduler_findStopStatus(RCL_StopType_DescheduleOnly); in rclCommandHwi()
200 cmd->status = RCL_CommandStatus_Error_Setup; in rclCommandHwi()
218 if (cmd->status >= RCL_CommandStatus_Scheduled && cmd->status < RCL_CommandStatus_Finished) in rclCommandHwi()
243 cmd->status = RCL_CommandStatus_Error_Setup; in rclCommandHwi()
256 if (rclEventsIn.gracefulStop && cmd->status < RCL_CommandStatus_Finished) in rclCommandHwi()
260 if (rclEventsIn.descheduleStop && cmd->status < RCL_CommandStatus_Finished) in rclCommandHwi()
276 if (cmd->status >= RCL_CommandStatus_Finished || client->deferredRclEvents.value) in rclCommandHwi()
278 if (cmd->status >= RCL_CommandStatus_Finished) in rclCommandHwi()
[all …]
DRCL_Scheduler.c72 RCL_CommandStatus status; in RCL_Scheduler_findStopStatus() local
79 status = RCL_CommandStatus_DescheduledScheduling; in RCL_Scheduler_findStopStatus()
82 status = RCL_CommandStatus_DescheduledApi; in RCL_Scheduler_findStopStatus()
86 status = RCL_CommandStatus_Error; in RCL_Scheduler_findStopStatus()
94 status = RCL_CommandStatus_GracefulStopTimeout; in RCL_Scheduler_findStopStatus()
97 status = RCL_CommandStatus_GracefulStopScheduling; in RCL_Scheduler_findStopStatus()
100 status = RCL_CommandStatus_GracefulStopApi; in RCL_Scheduler_findStopStatus()
104 status = RCL_CommandStatus_Error; in RCL_Scheduler_findStopStatus()
112 status = RCL_CommandStatus_HardStopTimeout; in RCL_Scheduler_findStopStatus()
115 status = RCL_CommandStatus_HardStopScheduling; in RCL_Scheduler_findStopStatus()
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/handlers/
Dgeneric.c155 cmd->status = RCL_CommandStatus_Active; in RCL_Handler_Generic_Fs()
163 cmd->status = startTimeStatus; in RCL_Handler_Generic_Fs()
178 if (cmd->status == RCL_CommandStatus_Active) in RCL_Handler_Generic_Fs()
186 cmd->status = genericHandlerState.common.endStatus; in RCL_Handler_Generic_Fs()
203 …cmd->status = RCL_Handler_Generic_findPbeErrorEndStatus(HWREGH_READ_LRF(LRFD_BUFRAM_BASE + PBE_COM… in RCL_Handler_Generic_Fs()
207 cmd->status = endStatus; in RCL_Handler_Generic_Fs()
237 cmd->status = RCL_CommandStatus_Active; in RCL_Handler_Generic_FsOff()
242 cmd->status = startTimeStatus; in RCL_Handler_Generic_FsOff()
259 if (cmd->status == RCL_CommandStatus_Active) in RCL_Handler_Generic_FsOff()
263 cmd->status = RCL_CommandStatus_Finished; in RCL_Handler_Generic_FsOff()
[all …]
Dieee.c194 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
206 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
216 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
224 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
278 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
307 cmd->status = startTimeStatus; in RCL_Handler_Ieee_RxTx()
368 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
378 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
482 cmd->status = RCL_CommandStatus_Active; in RCL_Handler_Ieee_RxTx()
489 if (cmd->status == RCL_CommandStatus_Active) in RCL_Handler_Ieee_RxTx()
[all …]
Dble5.c468 RCL_CommandStatus status = RCL_Handler_BLE5_setPhy(cmd->phyFeatures); in RCL_Handler_BLE5_adv() local
471 status = RCL_CommandStatus_Error_Param; in RCL_Handler_BLE5_adv()
474 if (status == RCL_CommandStatus_Active) in RCL_Handler_BLE5_adv()
589 status = RCL_CommandStatus_Error_MissingTxBuffer; in RCL_Handler_BLE5_adv()
596 status = RCL_CommandStatus_Error_MissingTxBuffer; in RCL_Handler_BLE5_adv()
720 cmd->status = status; in RCL_Handler_BLE5_adv()
721 if (status >= RCL_CommandStatus_Finished) in RCL_Handler_BLE5_adv()
732 if (cmd->status == RCL_CommandStatus_Active) in RCL_Handler_BLE5_adv()
890 cmd->status = ble5HandlerState.common.endStatus; in RCL_Handler_BLE5_adv()
902 …cmd->status = RCL_Handler_BLE5_findPbeErrorEndStatus(HWREGH_READ_LRF(LRFD_BUFRAM_BASE + PBE_COMMON… in RCL_Handler_BLE5_adv()
[all …]
/hal_ti-latest/simplelink_lpf3/kernel/zephyr/dpl/
DMessageQueueP_zephyr.c52 int status = k_msgq_alloc_init(msgq, msgSize, msgCount); in MessageQueueP_create() local
53 if(status != 0) in MessageQueueP_create()
125 int status = k_msgq_get((struct k_msgq*) handle, message, msgTimeout); in MessageQueueP_pend() local
126 if(status == 0) in MessageQueueP_pend()
140 uint32_t status = k_msgq_peek((struct k_msgq*) handle, message); in MessageQueueP_peek() local
142 if(status == 0) in MessageQueueP_peek()
182 int status = k_msgq_put((struct k_msgq*) handle, message, msgTimeout); in MessageQueueP_post() local
184 if(status == 0) in MessageQueueP_post()
/hal_ti-latest/simplelink/source/ti/drivers/rf/
DRFCC26X2_multiMode.c258 …RF_RatStatus status; /* Status of the channel: RF_RatStatusIdle, RF_RatStatusPending, RF… member
281 RF_CoreStatus volatile status; member
821 bool status = false; in RF_ratIsRunning() local
826 status = (bool)(HWREG(RFC_PWR_BASE + RFC_PWR_O_PWMCLKEN) & RFC_PWR_PWMCLKEN_RAT_M); in RF_ratIsRunning()
830 return(status); in RF_ratIsRunning()
861 if (ratCh && (ratCh->status == RF_RatStatusIdle)) in RF_ratAllocChannel()
867 ratCh->status = RF_RatStatusPending; in RF_ratAllocChannel()
897 if (ratCh && ratCh->status) in RF_ratFreeChannel()
914 ratCh->status = RF_RatStatusIdle; in RF_ratFreeChannel()
1016 if (ratCh && ratCh->status) in RF_ratDispatchTime()
[all …]
/hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/
Drf_data_entry.h73 …uint8_t status; //!< Indicates status of entry, including whether it i… member
100 …uint8_t status; //!< Indicates status of entry, including whether it i… member
128 …uint8_t status; //!< Indicates status of entry, including whether it i… member
158 …uint8_t status; //!< Indicates status of entry, including whether it i… member
186 …uint8_t status; //!< Indicates status of entry, including whether it i… member
Drf_common_cmd.h124 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
151 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
178 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
239 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
278 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
305 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
350 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
400 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
430 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
460 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
[all …]
/hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/
Drf_data_entry.h73 …uint8_t status; //!< Indicates status of entry, including whether it i… member
100 …uint8_t status; //!< Indicates status of entry, including whether it i… member
128 …uint8_t status; //!< Indicates status of entry, including whether it i… member
158 …uint8_t status; //!< Indicates status of entry, including whether it i… member
186 …uint8_t status; //!< Indicates status of entry, including whether it i… member
Drf_common_cmd.h124 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
151 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
178 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
239 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
278 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
305 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
350 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
400 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
430 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
460 …uint16_t status; //!< \brief An integer telling the status of the command. Thi… member
[all …]
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/utils/
DRandom.c77 int_fast16_t status; in Random_seedAutomatic() local
106 status = TRNG_generateEntropy(handle, &seedKey); in Random_seedAutomatic()
110 if (status != TRNG_STATUS_SUCCESS) in Random_seedAutomatic()
123 int_fast16_t status; in Random_seedAutomatic()
147 status = RNG_getRandomBits(rngHandle, &state, sizeof(state) * 8); in Random_seedAutomatic()
151 if (status != RNG_STATUS_SUCCESS) in Random_seedAutomatic()
/hal_ti-latest/simplelink/source/ti/drivers/nvs/
DNVSSPI25X.c191 int_fast16_t status; in NVSSPI25X_erase() local
195 status = doErase(handle, offset, size); in NVSSPI25X_erase()
199 return (status); in NVSSPI25X_erase()
414 uint32_t status = true; in NVSSPI25X_write() local
474 status = false; in NVSSPI25X_write()
481 status = false; in NVSSPI25X_write()
508 status = false; in NVSSPI25X_write()
513 status = false; in NVSSPI25X_write()
521 if (status == false) { in NVSSPI25X_write()
738 int_fast16_t status; in extFlashPowerDown() local
[all …]
/hal_ti-latest/simplelink/source/ti/drivers/uart2/
DUART2CC32XX.c91 void *userArg, int_fast16_t status);
94 void *userArg, int_fast16_t status);
221 uint32_t status; in rxStatus2ErrorCode() local
223 status = getRxStatus(x); in rxStatus2ErrorCode()
224 return (-((int_fast16_t)status)); in rxStatus2ErrorCode()
321 uint32_t status; in UART2CC32XX_hwiIntFxn() local
330 status = MAP_UARTIntStatus(hwAttrs->baseAddr, true); in UART2CC32XX_hwiIntFxn()
331 MAP_UARTIntClear(hwAttrs->baseAddr, status); in UART2CC32XX_hwiIntFxn()
333 if (status & (UART_INT_OE | UART_INT_BE | UART_INT_PE | UART_INT_FE)) { in UART2CC32XX_hwiIntFxn()
348 else if (status & UART_INT_RT) { in UART2CC32XX_hwiIntFxn()
[all …]

123