Home
last modified time | relevance | path

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

123456

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/
Dfsl_aes.c56 static void aes_gcm_dec32(uint8_t *input);
228 static void aes_one_block(AES_Type *base, uint8_t *output, const uint8_t *input) in aes_one_block() argument
254 base->INTEXT[index] = aes_get_word_from_unaligned(input); in aes_one_block()
255 input += sizeof(uint32_t); in aes_one_block()
331 static void aes_set_holding(AES_Type *base, const uint8_t *input) in aes_set_holding() argument
337 base->HOLDING[index] = swap_bytes(aes_get_word_from_unaligned(input)); in aes_set_holding()
338 input += sizeof(uint32_t); in aes_set_holding()
478 const uint8_t *input, in aes_block_mode() argument
546 aes_one_block(base, output, input); in aes_block_mode()
549 input += 16; in aes_block_mode()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/SoftmaxFunctions/
Darm_softmax_s8.c86 void arm_softmax_s8(const int8_t *input, in arm_softmax_s8() argument
110 const int8x16_t ip = vldrbq_z_s8(&input[i * 16], p); in arm_softmax_s8()
121 int32x4_t ip = vldrbq_s32(&input[idx * 4]); in arm_softmax_s8()
143 const int32_t diff = input[tail_idx + i] - max; in arm_softmax_s8()
159 int32x4_t ip = vldrbq_s32(&input[idx]); in arm_softmax_s8()
191 int32_t diff = input[tail_idx + i] - max; in arm_softmax_s8()
204 input += row_size; in arm_softmax_s8()
216 int8_t max = *input; in arm_softmax_s8()
220 max = MAX(max, input[col]); in arm_softmax_s8()
228 diff = input[col] - max; in arm_softmax_s8()
[all …]
Darm_softmax_u8.c44 void arm_softmax_u8(const uint8_t *input, in arm_softmax_u8() argument
60 uint8_t max = *input; in arm_softmax_u8()
64 max = MAX(max, input[col]); in arm_softmax_u8()
72 diff = input[col] - max; in arm_softmax_u8()
85 diff = input[col] - max; in arm_softmax_u8()
97 input += row_size; in arm_softmax_u8()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/hashcrypt/
Dfsl_hashcrypt.c102 static void ctrIncrement(uint8_t *input) in ctrIncrement() argument
105 while (input[i] == (uint8_t)0xFFu) in ctrIncrement()
107 input[i] = (uint8_t)0x00u; in ctrIncrement()
117 input[i] += (uint8_t)1u; in ctrIncrement()
432 const uint8_t *input, in hashcrypt_aes_one_block_aligned() argument
439 base->MEMADDR = HASHCRYPT_MEMADDR_BASE(input); in hashcrypt_aes_one_block_aligned()
477 const uint8_t *input, in hashcrypt_aes_one_block_unaligned() argument
493 (void)memcpy(temp, (const uint32_t *)(uintptr_t)(input + 256 * cnt), actSz); in hashcrypt_aes_one_block_unaligned()
533 static status_t hashcrypt_aes_one_block(HASHCRYPT_Type *base, const uint8_t *input, uint8_t *output… in hashcrypt_aes_one_block() argument
548 …if ((0U != ((uint32_t)input & 0x3u)) || (0U != ((uint32_t)output & 0x3u))) /* If data is unaligned… in hashcrypt_aes_one_block()
[all …]
Dfsl_hashcrypt.h338 const uint8_t *input,
365 const uint8_t *input,
435 const uint8_t *input,
467 status_t HASHCRYPT_SHA_Update(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, const uint8_t *input
532 const uint8_t *input,
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ActivationFunctions/
Darm_relu_q15.c61 q15_t *input = data; in arm_relu_q15() local
69 in = read_q15x2_ia(&input); in arm_relu_q15()
83 if (*input < 0) in arm_relu_q15()
85 *input = 0; in arm_relu_q15()
87 input++; in arm_relu_q15()
Darm_relu_q7.c61 q7_t *input = data; in arm_relu_q7() local
69 in = read_q7x4_ia(&input); in arm_relu_q7()
85 if (*input < 0) in arm_relu_q7()
87 *input = 0; in arm_relu_q7()
89 input++; in arm_relu_q7()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/mmcau/asm-cm0p/src/
Dmmcau_sha256_functions.s88 # Perform the hash for one or more input message blocks and generate the
92 # *input pointer to start of input message data
100 # void mmcau_sha256_hash_n (const unsigned char *input,
108 # r0 | *input (arg0)
119 # #260 | *input
134 # store *input, num_blks, and *output, we need them later in the routine
142 push {r0-r2, r3-r7} @ store *input, num_blks, *output, high regs
184 # w[i] = byterev(input[i]); // copy m[i] to w[i]
199 # r0 | *input
215 ldmia r0!, {r7} @ m[0], *input++
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ConvolutionFunctions/
Darm_depthwise_conv_wrapper_s8.c53 const q7_t *input, in arm_depthwise_conv_wrapper_s8() argument
71 input, in arm_depthwise_conv_wrapper_s8()
86 input, in arm_depthwise_conv_wrapper_s8()
101 input, in arm_depthwise_conv_wrapper_s8()
Darm_depthwise_conv_s8.c43 static void depthwise_conv_s8_mult_4(const int8_t *input, in depthwise_conv_s8_mult_4() argument
91 int32_t in_val = input[in_idx + ker_w * input_ch] + input_offset; in depthwise_conv_s8_mult_4()
142 static void depthwise_conv_s8_generic(const q7_t *input, in depthwise_conv_s8_generic() argument
202 acc_0 += (input[idx_0] + input_offset) * kernel[ker_idx_0]; in depthwise_conv_s8_generic()
218 input += (input_x * input_y * input_ch); in depthwise_conv_s8_generic()
233 const q7_t *input, in arm_depthwise_conv_s8() argument
247 depthwise_conv_s8_mult_4(input, in arm_depthwise_conv_s8()
273 depthwise_conv_s8_generic(input, in arm_depthwise_conv_s8()
Darm_depthwise_conv_u8_basic_ver1.c43 static void depthwise_conv_u8_mult_4(const uint8_t *input, in depthwise_conv_u8_mult_4() argument
92 int32_t in_val = input[in_idx + ker_w * input_ch] + input_offset; in depthwise_conv_u8_mult_4()
132 static void depthwise_conv_u8_generic(const uint8_t *input, in depthwise_conv_u8_generic() argument
188 … acc_0 += (input[idx_0] + input_offset) * (kernel[ker_idx_0] + filter_offset); in depthwise_conv_u8_generic()
246 arm_status arm_depthwise_conv_u8_basic_ver1(const uint8_t *input, in arm_depthwise_conv_u8_basic_ver1() argument
277 depthwise_conv_u8_mult_4(input, in arm_depthwise_conv_u8_basic_ver1()
304 depthwise_conv_u8_generic(input, in arm_depthwise_conv_u8_basic_ver1()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/xbarb/
Dfsl_xbarb.h28 #define XBARB_WR_SELx_SELx(base, input, output) XBARB_SetSignalsConnection((base), (input), (output… argument
72 void XBARB_SetSignalsConnection(XBARB_Type *base, xbar_input_signal_t input, xbar_output_signal_t o…
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ConcatenationFunctions/
Darm_concatenation_s8_x.c48 void arm_concatenation_s8_x(const int8_t *input, in arm_concatenation_s8_x() argument
66 memcpy(output, input, input_x); in arm_concatenation_s8_x()
67 input += input_x; in arm_concatenation_s8_x()
Darm_concatenation_s8_z.c48 void arm_concatenation_s8_z(const int8_t *input, in arm_concatenation_s8_z() argument
66 memcpy(output, input, input_copy_size); in arm_concatenation_s8_z()
67 input += input_copy_size; in arm_concatenation_s8_z()
Darm_concatenation_s8_y.c48 void arm_concatenation_s8_y(const int8_t *input, in arm_concatenation_s8_y() argument
67 memcpy(output, input, input_copy_size); in arm_concatenation_s8_y()
68 input += input_copy_size; in arm_concatenation_s8_y()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/trgmux/
Dfsl_trgmux.c37 status_t TRGMUX_SetTriggerSource(TRGMUX_Type *base, uint32_t index, trgmux_trigger_input_t input, u… in TRGMUX_SetTriggerSource() argument
51 value = (value & ~((uint32_t)TRGMUX_TRGCFG_SEL0_MASK << (uint32_t)input)) | in TRGMUX_SetTriggerSource()
52 ((trigger_src & (uint32_t)TRGMUX_TRGCFG_SEL0_MASK) << (uint32_t)input); in TRGMUX_SetTriggerSource()
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/NNSupportFunctions/
Darm_nn_add_q7.c43 void arm_nn_add_q7(const q7_t *input, q31_t *output, uint32_t block_size) in arm_nn_add_q7() argument
54 q31_t in_q7x4 = arm_nn_read_q7x4_ia(&input); in arm_nn_add_q7()
71 result += *input++; in arm_nn_add_q7()
Darm_nn_vec_mat_mult_t_s8.c90 const int8x16_t input = vldrbq_z_s8(lhs_vec, p); in arm_nn_vec_mat_mult_t_s8() local
94 acc_0 = vmladavaq_p_s8(acc_0, ker_0, input, p); in arm_nn_vec_mat_mult_t_s8()
98 acc_1 = vmladavaq_p_s8(acc_1, ker_1, input, p); in arm_nn_vec_mat_mult_t_s8()
102 acc_2 = vmladavaq_p_s8(acc_2, ker_2, input, p); in arm_nn_vec_mat_mult_t_s8()
144 const int8x16_t input = vldrbq_z_s8(lhs_vec, p); in arm_nn_vec_mat_mult_t_s8() local
148 acc_0 = vmladavaq_p_s8(acc_0, ker_0, input, p); in arm_nn_vec_mat_mult_t_s8()
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/FullyConnectedFunctions/
Darm_fully_connected_s8.c54 const q7_t *input, in arm_fully_connected_s8() argument
70 arm_nn_vec_mat_mult_t_s8(input, in arm_fully_connected_s8()
83 input += filter_dims->n; in arm_fully_connected_s8()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/xbara/
Dfsl_xbara.h29 #define XBARA_WR_SELx_SELx(base, input, output) XBARA_SetSignalsConnection((base), (input), (output… argument
132 void XBARA_SetSignalsConnection(XBARA_Type *base, xbar_input_signal_t input, xbar_output_signal_t o…
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/xbar/
Dfsl_xbar.h29 #define XBAR_WR_SELx_SELx(base, input, output) XBAR_SetSignalsConnection((base), (input), (output)) argument
137 void XBAR_SetSignalsConnection(XBAR_Type *base, xbar_input_signal_t input, xbar_output_signal_t out…
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/mmcau/
Dcau_api.h280 void cau_sha256_hash_n(const unsigned char *input, const int num_blks, unsigned int *output);
297 void cau_sha256_update(const unsigned char *input, const int num_blks, unsigned int *output);
310 void cau_sha256_hash(const unsigned char *input, unsigned int *output);
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC804/drivers/
Dfsl_clock.c76 uint32_t input = CLOCK_GetFRGInputClkFreq(base); in CLOCK_SetFRGClkFreq() local
79 if ((freq > input) || (input / freq >= 2U)) in CLOCK_SetFRGClkFreq()
84 mul = (uint32_t)((((uint64_t)input - freq) << 8U) / ((uint64_t)freq)); in CLOCK_SetFRGClkFreq()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC802/drivers/
Dfsl_clock.c83 uint32_t input = CLOCK_GetFRGInputClkFreq(base); in CLOCK_SetFRGClkFreq() local
86 if ((freq > input) || (input / freq >= 2U)) in CLOCK_SetFRGClkFreq()
91 mul = (uint32_t)(((uint64_t)((uint64_t)input - freq) << 8U) / ((uint64_t)freq)); in CLOCK_SetFRGClkFreq()
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ReshapeFunctions/
Darm_reshape_s8.c49 void arm_reshape_s8(const int8_t *input, int8_t *output, const uint32_t total_size) in arm_reshape_s8() argument
51 memcpy(output, input, total_size); in arm_reshape_s8()

123456