Home
last modified time | relevance | path

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

12

/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5534/drivers/mem_interface/src/
Dfsl_mem_interface.c28 status_t (*mem_init)(api_core_context_t *ctx);
30 …status_t (*mem_write)(api_core_context_t *ctx, uint32_t addr, uint32_t len, const uint8_t *buf, ui…
31 …status_t (*mem_fill)(api_core_context_t *ctx, uint32_t addr, uint32_t len, uint32_t pattern, uint3…
32 status_t (*mem_flush)(api_core_context_t *ctx);
33 status_t (*mem_erase)(api_core_context_t *ctx, uint32_t addr, uint32_t len, uint32_t memoryId);
34 status_t (*mem_config)(api_core_context_t *ctx, uint32_t *buf, uint32_t memoryId);
35 status_t (*mem_erase_all)(api_core_context_t *ctx, uint32_t memoryId);
36 status_t (*sbloader_init)(api_core_context_t *ctx);
37 status_t (*sbloader_pump)(api_core_context_t *ctx, uint8_t *data, uint32_t length);
38 status_t (*sbloader_finalize)(api_core_context_t *ctx);
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5536/drivers/mem_interface/src/
Dfsl_mem_interface.c28 status_t (*mem_init)(api_core_context_t *ctx);
30 …status_t (*mem_write)(api_core_context_t *ctx, uint32_t addr, uint32_t len, const uint8_t *buf, ui…
31 …status_t (*mem_fill)(api_core_context_t *ctx, uint32_t addr, uint32_t len, uint32_t pattern, uint3…
32 status_t (*mem_flush)(api_core_context_t *ctx);
33 status_t (*mem_erase)(api_core_context_t *ctx, uint32_t addr, uint32_t len, uint32_t memoryId);
34 status_t (*mem_config)(api_core_context_t *ctx, uint32_t *buf, uint32_t memoryId);
35 status_t (*mem_erase_all)(api_core_context_t *ctx, uint32_t memoryId);
36 status_t (*sbloader_init)(api_core_context_t *ctx);
37 status_t (*sbloader_pump)(api_core_context_t *ctx, uint8_t *data, uint32_t length);
38 status_t (*sbloader_finalize)(api_core_context_t *ctx);
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S36/drivers/mem_interface/src/
Dfsl_mem_interface.c28 status_t (*mem_init)(api_core_context_t *ctx);
30 …status_t (*mem_write)(api_core_context_t *ctx, uint32_t addr, uint32_t len, const uint8_t *buf, ui…
31 …status_t (*mem_fill)(api_core_context_t *ctx, uint32_t addr, uint32_t len, uint32_t pattern, uint3…
32 status_t (*mem_flush)(api_core_context_t *ctx);
33 status_t (*mem_erase)(api_core_context_t *ctx, uint32_t addr, uint32_t len, uint32_t memoryId);
34 status_t (*mem_config)(api_core_context_t *ctx, uint32_t *buf, uint32_t memoryId);
35 status_t (*mem_erase_all)(api_core_context_t *ctx, uint32_t memoryId);
36 status_t (*sbloader_init)(api_core_context_t *ctx);
37 status_t (*sbloader_pump)(api_core_context_t *ctx, uint8_t *data, uint32_t length);
38 status_t (*sbloader_finalize)(api_core_context_t *ctx);
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sha/
Dfsl_sha.h76 typedef void (*sha_callback_t)(SHA_Type *base, sha_ctx_t *ctx, status_t status, void *userData);
105 status_t SHA_Init(SHA_Type *base, sha_ctx_t *ctx, sha_algo_t algo);
119 status_t SHA_Update(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *message, size_t messageSize);
134 status_t SHA_Finish(SHA_Type *base, sha_ctx_t *ctx, uint8_t *output, size_t *outputSize);
153 void SHA_SetCallback(SHA_Type *base, sha_ctx_t *ctx, sha_callback_t callback, void *userData);
172 status_t SHA_UpdateNonBlocking(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *input, size_t inputSi…
Dfsl_sha.c195 static status_t sha_check_input_args(SHA_Type *base, sha_ctx_t *ctx, sha_algo_t algo) in sha_check_input_args() argument
203 if ((NULL == ctx) || (NULL == base)) in sha_check_input_args()
499 status_t SHA_Init(SHA_Type *base, sha_ctx_t *ctx, sha_algo_t algo) in SHA_Init() argument
508 status = sha_check_input_args(base, ctx, algo); in SHA_Init()
515 ctxInternal = (sha_ctx_internal_t *)(uint32_t)ctx; in SHA_Init()
541 status_t SHA_Update(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *message, size_t messageSize) in SHA_Update() argument
553 ctxInternal = (sha_ctx_internal_t *)(uint32_t)ctx; in SHA_Update()
613 status_t SHA_Finish(SHA_Type *base, sha_ctx_t *ctx, uint8_t *output, size_t *outputSize) in SHA_Finish() argument
622 ctxInternal = (sha_ctx_internal_t *)(uint32_t)ctx; in SHA_Finish()
683 ctxW = (uint32_t *)(uint32_t)ctx; in SHA_Finish()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.h183 typedef void (*hashcrypt_callback_t)(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, status_t stat…
450 status_t HASHCRYPT_SHA_Init(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, hashcrypt_algo_t algo);
467 status_t HASHCRYPT_SHA_Update(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, const uint8_t *input…
481 status_t HASHCRYPT_SHA_Finish(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, uint8_t *output, siz…
509 hashcrypt_hash_ctx_t *ctx,
531 hashcrypt_hash_ctx_t *ctx,
Dfsl_hashcrypt.c616 static status_t hashcrypt_sha_check_input_args(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, has… in hashcrypt_sha_check_input_args() argument
624 if ((NULL == ctx) || (NULL == base)) in hashcrypt_sha_check_input_args()
928 status_t HASHCRYPT_SHA_Init(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, hashcrypt_algo_t algo) in HASHCRYPT_SHA_Init() argument
936 status = hashcrypt_sha_check_input_args(base, ctx, algo); in HASHCRYPT_SHA_Init()
943 ctxInternal = (hashcrypt_sha_ctx_internal_t *)(uint32_t)ctx; in HASHCRYPT_SHA_Init()
957 status_t HASHCRYPT_SHA_Update(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, const uint8_t *input… in HASHCRYPT_SHA_Update() argument
969 ctxInternal = (hashcrypt_sha_ctx_internal_t *)(uint32_t)ctx; in HASHCRYPT_SHA_Update()
1016 status_t HASHCRYPT_SHA_Finish(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, uint8_t *output, siz… in HASHCRYPT_SHA_Finish() argument
1031 ctxInternal = (hashcrypt_sha_ctx_internal_t *)(uint32_t)ctx; in HASHCRYPT_SHA_Finish()
1092 ctxW = (uint32_t *)ctx; in HASHCRYPT_SHA_Finish()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc.c1034 …c_aes_process_tag(LTC_Type *base, uint8_t *tag, uint32_t tagSize, ltc_mode_t modeReg, uint32_t ctx) in ltc_aes_process_tag() argument
1047 status = ltc_get_context(base, &tag[0], (uint8_t)tagSize, (uint8_t)ctx); in ltc_aes_process_tag()
3028 LTC_Type *base, ltc_hash_ctx_t *ctx, ltc_hash_algo_t algo, const uint8_t *key, uint32_t keySize) in ltc_hash_check_input_args() argument
3036 if ((NULL == ctx) || (NULL == base)) in ltc_hash_check_input_args()
3106 static void ltc_hash_engine_init(ltc_hash_ctx_internal_t *ctx) in ltc_hash_engine_init() argument
3113 base = ctx->base; in ltc_hash_engine_init()
3115 if (ltc_hash_alg_is_cmac(ctx->algo)) in ltc_hash_engine_init()
3122 keySize = ctx->word[kLTC_HashCtxKeySize]; in ltc_hash_engine_init()
3123 key = (uint8_t *)&ctx->word[kLTC_HashCtxKeyStartIdx]; in ltc_hash_engine_init()
3126 algo = (ctx->algo == kLTC_XcbcMac) ? kLTC_ModeXCBCMAC : kLTC_ModeCMAC; in ltc_hash_engine_init()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ConvolutionFunctions/
Darm_depthwise_conv_wrapper_s8.c49 arm_status arm_depthwise_conv_wrapper_s8(const cmsis_nn_context *ctx, in arm_depthwise_conv_wrapper_s8() argument
67 status = arm_depthwise_conv_3x3_s8(ctx, in arm_depthwise_conv_wrapper_s8()
82 status = arm_depthwise_conv_s8_opt(ctx, in arm_depthwise_conv_wrapper_s8()
97 status = arm_depthwise_conv_s8(ctx, in arm_depthwise_conv_wrapper_s8()
Darm_convolve_wrapper_s8.c50 arm_status arm_convolve_wrapper_s8(const cmsis_nn_context *ctx, in arm_convolve_wrapper_s8() argument
65 return arm_convolve_1x1_s8_fast(ctx, in arm_convolve_wrapper_s8()
80 return arm_convolve_1_x_n_s8(ctx, in arm_convolve_wrapper_s8()
94 return arm_convolve_s8(ctx, in arm_convolve_wrapper_s8()
Darm_convolve_1_x_n_s8.c50 arm_status arm_convolve_1_x_n_s8(const cmsis_nn_context *ctx, in arm_convolve_1_x_n_s8() argument
71 (void)ctx; in arm_convolve_1_x_n_s8()
172 status = arm_convolve_s8(ctx, in arm_convolve_1_x_n_s8()
Darm_convolve_1x1_s8_fast.c53 arm_status arm_convolve_1x1_s8_fast(const cmsis_nn_context *ctx, in arm_convolve_1x1_s8_fast() argument
71 (void)ctx; in arm_convolve_1x1_s8_fast()
Darm_depthwise_conv_s8_opt.c51 arm_status arm_depthwise_conv_s8_opt(const cmsis_nn_context *ctx, in arm_depthwise_conv_s8_opt() argument
89 q15_t *buffer_a = (q15_t *)ctx->buf; in arm_depthwise_conv_s8_opt()
395 return arm_depthwise_conv_s8(ctx, in arm_depthwise_conv_s8_opt()
Darm_depthwise_conv_3x3_s8.c52 arm_status arm_depthwise_conv_3x3_s8(const cmsis_nn_context *ctx, in arm_depthwise_conv_3x3_s8() argument
64 (void)ctx; in arm_depthwise_conv_3x3_s8()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/rtt/Syscalls/
DSEGGER_RTT_Syscalls_SES.c142 static int _putchar(int x, __printf_tag_ptr ctx) { in _putchar() argument
143 (void)ctx; in _putchar()
234 int __putchar(int x, __printf_tag_ptr ctx) { in __putchar() argument
235 (void)ctx; in __putchar()
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Include/
Darm_nnfunctions.h194 arm_status arm_convolve_wrapper_s8(const cmsis_nn_context *ctx,
252 arm_status arm_convolve_s8(const cmsis_nn_context *ctx,
572 arm_status arm_convolve_1x1_s8_fast(const cmsis_nn_context *ctx,
629 arm_status arm_convolve_1_x_n_s8(const cmsis_nn_context *ctx,
926 arm_status arm_depthwise_conv_wrapper_s8(const cmsis_nn_context *ctx,
987 arm_status arm_depthwise_conv_s8(const cmsis_nn_context *ctx,
1017 arm_status arm_depthwise_conv_3x3_s8(const cmsis_nn_context *ctx,
1052 arm_status arm_depthwise_conv_s8_opt(const cmsis_nn_context *ctx,
1151 arm_status arm_fully_connected_s8(const cmsis_nn_context *ctx,
1643 arm_status arm_avgpool_s8(const cmsis_nn_context *ctx,
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dcp/
Dfsl_dcp.c918 static status_t dcp_hash_check_input_args(DCP_Type *base, dcp_hash_ctx_t *ctx, dcp_hash_algo_t algo) in dcp_hash_check_input_args() argument
926 if ((NULL == ctx) || (NULL == base)) in dcp_hash_check_input_args()
1201 status_t DCP_HASH_Init(DCP_Type *base, dcp_handle_t *handle, dcp_hash_ctx_t *ctx, dcp_hash_algo_t a… in DCP_HASH_Init() argument
1208 …ctxInternal = (dcp_hash_ctx_internal_t *)(uint32_t)((uint8_t *)ctx + FSL_FEATURE_L1DCACHE_LINESIZE… in DCP_HASH_Init()
1210 ctxInternal = (dcp_hash_ctx_internal_t *)(uint32_t)ctx; in DCP_HASH_Init()
1217 status = dcp_hash_check_input_args(base, ctx, algo); in DCP_HASH_Init()
1253 status_t DCP_HASH_Update(DCP_Type *base, dcp_hash_ctx_t *ctx, const uint8_t *input, size_t inputSiz… in DCP_HASH_Update() argument
1262 …ctxInternal = (dcp_hash_ctx_internal_t *)(uint32_t)((uint8_t *)ctx + FSL_FEATURE_L1DCACHE_LINESIZE… in DCP_HASH_Update()
1264 ctxInternal = (dcp_hash_ctx_internal_t *)(uint32_t)ctx; in DCP_HASH_Update()
1323 status_t DCP_HASH_Finish(DCP_Type *base, dcp_hash_ctx_t *ctx, uint8_t *output, size_t *outputSize) in DCP_HASH_Finish() argument
[all …]
Dfsl_dcp.h521 status_t DCP_HASH_Init(DCP_Type *base, dcp_handle_t *handle, dcp_hash_ctx_t *ctx, dcp_hash_algo_t a…
538 status_t DCP_HASH_Update(DCP_Type *base, dcp_hash_ctx_t *ctx, const uint8_t *input, size_t inputSiz…
552 status_t DCP_HASH_Finish(DCP_Type *base, dcp_hash_ctx_t *ctx, uint8_t *output, size_t *outputSize);
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5534/drivers/mem_interface/
Dfsl_sbloader.h298 status_t (*alloc_ctx)(arena_context_t *ctx, mem_attribute_t *attr, void *miscParams);
339 status_t Sbloader_Init(api_core_context_t *ctx);
355 status_t Sbloader_Pump(api_core_context_t *ctx, uint8_t *data, uint32_t length);
365 status_t Sbloader_Finalize(api_core_context_t *ctx);
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5536/drivers/mem_interface/
Dfsl_sbloader.h298 status_t (*alloc_ctx)(arena_context_t *ctx, mem_attribute_t *attr, void *miscParams);
339 status_t Sbloader_Init(api_core_context_t *ctx);
355 status_t Sbloader_Pump(api_core_context_t *ctx, uint8_t *data, uint32_t length);
365 status_t Sbloader_Finalize(api_core_context_t *ctx);
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S36/drivers/mem_interface/
Dfsl_sbloader.h298 status_t (*alloc_ctx)(arena_context_t *ctx, mem_attribute_t *attr, void *miscParams);
339 status_t Sbloader_Init(api_core_context_t *ctx);
355 status_t Sbloader_Pump(api_core_context_t *ctx, uint8_t *data, uint32_t length);
365 status_t Sbloader_Finalize(api_core_context_t *ctx);
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/FullyConnectedFunctions/
Darm_fully_connected_s8.c50 arm_status arm_fully_connected_s8(const cmsis_nn_context *ctx, in arm_fully_connected_s8() argument
63 (void)ctx; in arm_fully_connected_s8()
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/PoolingFunctions/
Darm_avgpool_s8.c74 arm_status arm_avgpool_s8(const cmsis_nn_context *ctx, in arm_avgpool_s8() argument
82 (void)ctx; in arm_avgpool_s8()
243 arm_status arm_avgpool_s8(const cmsis_nn_context *ctx, in arm_avgpool_s8() argument
264 q31_t *buffer = (q31_t *)ctx->buf; in arm_avgpool_s8()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/cau3/
Dfsl_cau3.h479 status_t CAU3_HASH_Init(CAU3_Type *base, cau3_hash_ctx_t *ctx, cau3_hash_algo_t algo);
496 status_t CAU3_HASH_Update(CAU3_Type *base, cau3_hash_ctx_t *ctx, const uint8_t *input, size_t input…
509 status_t CAU3_HASH_Finish(CAU3_Type *base, cau3_hash_ctx_t *ctx, uint8_t *output, size_t *outputSiz…
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/caam/
Dfsl_caam.h1123 caam_hash_ctx_t *ctx,
1142 status_t CAAM_HASH_Update(caam_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize);
1154 status_t CAAM_HASH_Finish(caam_hash_ctx_t *ctx, uint8_t *output, size_t *outputSize);
1220 status_t CAAM_HASH_UpdateNonBlocking(caam_hash_ctx_t *ctx, const uint8_t *input, size_t inputSize);
1239 status_t CAAM_HASH_FinishNonBlocking(caam_hash_ctx_t *ctx,
1313 caam_crc_ctx_t *ctx,
1332 status_t CAAM_CRC_Update(caam_crc_ctx_t *ctx, const uint8_t *input, size_t inputSize);
1344 status_t CAAM_CRC_Finish(caam_crc_ctx_t *ctx, uint8_t *output, size_t *outputSize);

12