/hal_nxp-3.7.0/mcux/mcux-sdk/CMSIS/DSP/Source/TransformFunctions/ |
D | arm_cfft_radix2_f16.c | 122 uint32_t i, j, k, l; in arm_radix2_butterfly_f16() local 133 i = 0; in arm_radix2_butterfly_f16() 146 l = i + n2; in arm_radix2_butterfly_f16() 149 a0 = pSrc[2 * i] + pSrc[2 * l]; in arm_radix2_butterfly_f16() 150 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_f16() 152 yt = pSrc[2 * i + 1] - pSrc[2 * l + 1]; in arm_radix2_butterfly_f16() 153 a1 = pSrc[2 * l + 1] + pSrc[2 * i + 1]; in arm_radix2_butterfly_f16() 160 pSrc[2 * i] = a0; in arm_radix2_butterfly_f16() 161 pSrc[2 * i + 1] = a1; in arm_radix2_butterfly_f16() 166 i++; in arm_radix2_butterfly_f16() [all …]
|
D | arm_cfft_radix2_f32.c | 120 uint32_t i, j, k, l; in arm_radix2_butterfly_f32() local 131 i = 0; in arm_radix2_butterfly_f32() 144 l = i + n2; in arm_radix2_butterfly_f32() 147 a0 = pSrc[2 * i] + pSrc[2 * l]; in arm_radix2_butterfly_f32() 148 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_f32() 150 yt = pSrc[2 * i + 1] - pSrc[2 * l + 1]; in arm_radix2_butterfly_f32() 151 a1 = pSrc[2 * l + 1] + pSrc[2 * i + 1]; in arm_radix2_butterfly_f32() 158 pSrc[2 * i] = a0; in arm_radix2_butterfly_f32() 159 pSrc[2 * i + 1] = a1; in arm_radix2_butterfly_f32() 164 i++; in arm_radix2_butterfly_f32() [all …]
|
D | arm_cfft_radix2_q31.c | 96 unsigned i, j, k, l, m; in arm_radix2_butterfly_q31() local 109 for (i = 0; i < n2; i++) in arm_radix2_butterfly_q31() 115 l = i + n2; in arm_radix2_butterfly_q31() 116 xt = (pSrc[2 * i] >> 1U) - (pSrc[2 * l] >> 1U); in arm_radix2_butterfly_q31() 117 pSrc[2 * i] = ((pSrc[2 * i] >> 1U) + (pSrc[2 * l] >> 1U)) >> 1U; in arm_radix2_butterfly_q31() 119 yt = (pSrc[2 * i + 1] >> 1U) - (pSrc[2 * l + 1] >> 1U); in arm_radix2_butterfly_q31() 120 pSrc[2 * i + 1] = in arm_radix2_butterfly_q31() 121 ((pSrc[2 * l + 1] >> 1U) + (pSrc[2 * i + 1] >> 1U)) >> 1U; in arm_radix2_butterfly_q31() 150 i = j; in arm_radix2_butterfly_q31() 154 l = i + n2; in arm_radix2_butterfly_q31() [all …]
|
D | arm_cfft_radix2_q15.c | 95 uint32_t i, j, k, l; in arm_radix2_butterfly_q15() local 109 for (i = 0; i < n2; i++) in arm_radix2_butterfly_q15() 115 l = i + n2; in arm_radix2_butterfly_q15() 117 T = read_q15x2 (pSrc + (2 * i)); in arm_radix2_butterfly_q15() 127 write_q15x2 (pSrc + (2 * i), __SHADD16(T, S)); in arm_radix2_butterfly_q15() 144 i++; in arm_radix2_butterfly_q15() 147 T = read_q15x2 (pSrc + (2 * i)); in arm_radix2_butterfly_q15() 157 write_q15x2 (pSrc + (2 * i), __SHADD16(T, S)); in arm_radix2_butterfly_q15() 189 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15() 191 l = i + n2; in arm_radix2_butterfly_q15() [all …]
|
D | arm_bitreversal.c | 49 uint16_t i, j; in arm_bitreversal_f32() local 58 for (i = 0U; i <= (fftLenBy2 - 2U); i += 2U) in arm_bitreversal_f32() 60 if (i < j) in arm_bitreversal_f32() 63 in = pSrc[2U * i]; in arm_bitreversal_f32() 64 pSrc[2U * i] = pSrc[2U * j]; in arm_bitreversal_f32() 68 in = pSrc[(2U * i) + 1U]; in arm_bitreversal_f32() 69 pSrc[(2U * i) + 1U] = pSrc[(2U * j) + 1U]; in arm_bitreversal_f32() 73 in = pSrc[2U * (i + fftLenBy2p1)]; in arm_bitreversal_f32() 74 pSrc[2U * (i + fftLenBy2p1)] = pSrc[2U * (j + fftLenBy2p1)]; in arm_bitreversal_f32() 78 in = pSrc[(2U * (i + fftLenBy2p1)) + 1U]; in arm_bitreversal_f32() [all …]
|
D | arm_cfft_q31.c | 67 for (int i = 0; i < iter; i++) in _arm_radix4_butterfly_q31_mve() local 78 q31_t *inA = pSrc + CMPLX_DIM * i * n1; in _arm_radix4_butterfly_q31_mve() 316 for (int i = 0; i < iter; i++) in _arm_radix4_butterfly_inverse_q31_mve() local 328 q31_t *inA = pSrc + CMPLX_DIM * i * n1; in _arm_radix4_butterfly_inverse_q31_mve() 731 uint32_t i, l; in arm_cfft_radix4by2_q31() local 737 for (i = 0; i < n2; i++) in arm_cfft_radix4by2_q31() 739 cosVal = pCoef[2 * i]; in arm_cfft_radix4by2_q31() 740 sinVal = pCoef[2 * i + 1]; in arm_cfft_radix4by2_q31() 742 l = i + n2; in arm_cfft_radix4by2_q31() 744 xt = (pSrc[2 * i] >> 2U) - (pSrc[2 * l] >> 2U); in arm_cfft_radix4by2_q31() [all …]
|
D | arm_dct4_f32.c | 136 uint32_t i; /* Loop counter */ in arm_dct4_f32() local 182 i = S->Nby2 >> 2U; in arm_dct4_f32() 204 i--; in arm_dct4_f32() 205 } while (i > 0U); in arm_dct4_f32() 214 i = S->N >> 2U; in arm_dct4_f32() 227 i--; in arm_dct4_f32() 228 } while (i > 0U); in arm_dct4_f32() 249 i = (S->N - 1U) >> 2U; in arm_dct4_f32() 289 i--; in arm_dct4_f32() 290 } while (i > 0U); in arm_dct4_f32() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_cholesky_f32.c | 91 int i,j,k; in arm_mat_cholesky_f32() local 107 for(i=0 ;i < n ; i++) in arm_mat_cholesky_f32() 109 for(j=i ; j+3 < n ; j+=4) in arm_mat_cholesky_f32() 111 pG[(j + 0) * n + i] = pA[(j + 0) * n + i]; in arm_mat_cholesky_f32() 112 pG[(j + 1) * n + i] = pA[(j + 1) * n + i]; in arm_mat_cholesky_f32() 113 pG[(j + 2) * n + i] = pA[(j + 2) * n + i]; in arm_mat_cholesky_f32() 114 pG[(j + 3) * n + i] = pA[(j + 3) * n + i]; in arm_mat_cholesky_f32() 116 kCnt = i; in arm_mat_cholesky_f32() 122 for(k=0; k < i ; k+=4) in arm_mat_cholesky_f32() 126 vecGi=vldrwq_z_f32(&pG[i * n + k],p0); in arm_mat_cholesky_f32() [all …]
|
D | arm_mat_cholesky_f16.c | 83 int i,j,k; in arm_mat_cholesky_f16() local 99 for(i=0 ;i < n ; i++) in arm_mat_cholesky_f16() 101 for(j=i ; j+3 < n ; j+=4) in arm_mat_cholesky_f16() 104 acc0[0]=pA[(j + 0) * n + i]; in arm_mat_cholesky_f16() 107 acc1[0]=pA[(j + 1) * n + i]; in arm_mat_cholesky_f16() 110 acc2[0]=pA[(j + 2) * n + i]; in arm_mat_cholesky_f16() 113 acc3[0]=pA[(j + 3) * n + i]; in arm_mat_cholesky_f16() 115 kCnt = i; in arm_mat_cholesky_f16() 116 for(k=0; k < i ; k+=8) in arm_mat_cholesky_f16() 120 vecGi=vldrhq_z_f16(&pG[i * n + k],p0); in arm_mat_cholesky_f16() [all …]
|
D | arm_mat_solve_lower_triangular_f32.c | 85 int i,j,k,n; in arm_mat_solve_lower_triangular_f32() local 101 for(i=0; i < n ; i++) in arm_mat_solve_lower_triangular_f32() 106 vecA = vld1q_f32(&pA[i * n + j]); in arm_mat_solve_lower_triangular_f32() 108 for(k=0; k < i; k++) in arm_mat_solve_lower_triangular_f32() 111 vecA = vfmsq(vecA,vdupq_n_f32(pLT[n*i + k]),vecX); in arm_mat_solve_lower_triangular_f32() 114 if (pLT[n*i + i]==0.0f) in arm_mat_solve_lower_triangular_f32() 119 invLT = 1.0f / pLT[n*i + i]; in arm_mat_solve_lower_triangular_f32() 121 vst1q(&pX[i*n+j],vecA); in arm_mat_solve_lower_triangular_f32() 128 lt_row = &pLT[n*i]; in arm_mat_solve_lower_triangular_f32() 130 float32_t tmp=a_col[i * n]; in arm_mat_solve_lower_triangular_f32() [all …]
|
D | arm_mat_solve_upper_triangular_f32.c | 78 int i,j,k,n; in arm_mat_solve_upper_triangular_f32() local 94 for(i=n-1; i >= 0 ; i--) in arm_mat_solve_upper_triangular_f32() 98 vecA = vld1q_f32(&pA[i * n + j]); in arm_mat_solve_upper_triangular_f32() 100 for(k=n-1; k > i; k--) in arm_mat_solve_upper_triangular_f32() 103 vecA = vfmsq(vecA,vdupq_n_f32(pUT[n*i + k]),vecX); in arm_mat_solve_upper_triangular_f32() 106 if (pUT[n*i + i]==0.0f) in arm_mat_solve_upper_triangular_f32() 111 invUT = 1.0f / pUT[n*i + i]; in arm_mat_solve_upper_triangular_f32() 115 vst1q(&pX[i*n+j],vecA); in arm_mat_solve_upper_triangular_f32() 122 ut_row = &pUT[n*i]; in arm_mat_solve_upper_triangular_f32() 124 float32_t tmp=a_col[i * n]; in arm_mat_solve_upper_triangular_f32() [all …]
|
D | arm_mat_solve_lower_triangular_f16.c | 86 int i,j,k,n; in arm_mat_solve_lower_triangular_f16() local 102 for(i=0; i < n ; i++) in arm_mat_solve_lower_triangular_f16() 107 vecA = vld1q_f16(&pA[i * n + j]); in arm_mat_solve_lower_triangular_f16() 109 for(k=0; k < i; k++) in arm_mat_solve_lower_triangular_f16() 112 vecA = vfmsq(vecA,vdupq_n_f16(pLT[n*i + k]),vecX); in arm_mat_solve_lower_triangular_f16() 115 if (pLT[n*i + i]==0.0f16) in arm_mat_solve_lower_triangular_f16() 120 invLT = 1.0f16 / (_Float16)pLT[n*i + i]; in arm_mat_solve_lower_triangular_f16() 122 vst1q(&pX[i*n+j],vecA); in arm_mat_solve_lower_triangular_f16() 129 lt_row = &pLT[n*i]; in arm_mat_solve_lower_triangular_f16() 131 _Float16 tmp=a_col[i * n]; in arm_mat_solve_lower_triangular_f16() [all …]
|
D | arm_mat_solve_upper_triangular_f16.c | 81 int i,j,k,n; in arm_mat_solve_upper_triangular_f16() local 97 for(i=n-1; i >= 0 ; i--) in arm_mat_solve_upper_triangular_f16() 101 vecA = vld1q_f16(&pA[i * n + j]); in arm_mat_solve_upper_triangular_f16() 103 for(k=n-1; k > i; k--) in arm_mat_solve_upper_triangular_f16() 106 vecA = vfmsq(vecA,vdupq_n_f16(pUT[n*i + k]),vecX); in arm_mat_solve_upper_triangular_f16() 109 if (pUT[n*i + i]==0.0f16) in arm_mat_solve_upper_triangular_f16() 114 invUT = 1.0f16 / (_Float16)pUT[n*i + i]; in arm_mat_solve_upper_triangular_f16() 118 vst1q(&pX[i*n+j],vecA); in arm_mat_solve_upper_triangular_f16() 125 ut_row = &pUT[n*i]; in arm_mat_solve_upper_triangular_f16() 127 _Float16 tmp=a_col[i * n]; in arm_mat_solve_upper_triangular_f16() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkmimx8ulp/ |
D | board.c | 147 uint32_t i = 0U; in BOARD_DumpRegs() local 149 for (i = start_reg_addr; i <= end_reg_addr; i += 4) in BOARD_DumpRegs() 151 PRINTF("Reg 0x%x: Val = 0x%x\r\n", i, *(uint32_t *)i); in BOARD_DumpRegs() 250 int32_t i, word_pos = 0; in BOARD_MapFsbFuseIndex() local 253 for (i = 0; i < size; i++) in BOARD_MapFsbFuseIndex() 255 if (fsb_mapping_table[i].fuse_bank != -1 && fsb_mapping_table[i].fuse_bank == bank && in BOARD_MapFsbFuseIndex() 256 fsb_mapping_table[i].fuse_words > word) in BOARD_MapFsbFuseIndex() 261 word_pos += fsb_mapping_table[i].fuse_words; in BOARD_MapFsbFuseIndex() 264 if (i == size) in BOARD_MapFsbFuseIndex() 267 if (fsb_mapping_table[i].redundancy) in BOARD_MapFsbFuseIndex() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/led/ |
D | fsl_component_led.c | 169 for (uint8_t i = 0; i < count; i++) in LED_SetStatus() local 171 colorSet = ((color >> (i * 8U)) & (0xFFU)); in LED_SetStatus() 174 if (0U != ledRgbPin[i].dimmingEnable) in LED_SetStatus() 176 if (0U != ledRgbPin[i].config.dimmingEnable) in LED_SetStatus() 179 … (void)HAL_PwmUpdateDutycycle(ledState->pwmHandle[i], (uint8_t)ledRgbPin[i].dimming.channel, in LED_SetStatus() 186 (void)HAL_GpioSetOutput(ledState->gpioHandle[i], (colorSet != 0U) ? in LED_SetStatus() 187 … (1U - (uint8_t)ledRgbPin[i].gpio.level) : in LED_SetStatus() 188 (uint8_t)ledRgbPin[i].gpio.level); in LED_SetStatus() 190 (void)HAL_GpioSetOutput(ledState->gpioHandle[i], (colorSet != 0U) ? in LED_SetStatus() 191 … (1U - (uint8_t)ledRgbPin[i].gpio.pinStateDefault) : in LED_SetStatus() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_biquad_cascade_df1_init_f16.c | 113 for (int i = 0; i < 12; i++) in generateCoefsFastBiquadF16() local 115 coeffs[1][i] += (a1 * coeffs[0][i]); in generateCoefsFastBiquadF16() 116 coeffs[2][i] += (a1 * coeffs[1][i]) + (a2 * coeffs[0][i]); in generateCoefsFastBiquadF16() 117 coeffs[3][i] += (a1 * coeffs[2][i]) + (a2 * coeffs[1][i]); in generateCoefsFastBiquadF16() 118 coeffs[4][i] += (a1 * coeffs[3][i]) + (a2 * coeffs[2][i]); in generateCoefsFastBiquadF16() 119 coeffs[5][i] += (a1 * coeffs[4][i]) + (a2 * coeffs[3][i]); in generateCoefsFastBiquadF16() 120 coeffs[6][i] += (a1 * coeffs[5][i]) + (a2 * coeffs[4][i]); in generateCoefsFastBiquadF16() 121 coeffs[7][i] += (a1 * coeffs[6][i]) + (a2 * coeffs[5][i]); in generateCoefsFastBiquadF16() 126 newCoef->coeffs[i][0] = (float16_t) coeffs[0][i]; in generateCoefsFastBiquadF16() 127 newCoef->coeffs[i][1] = (float16_t) coeffs[1][i]; in generateCoefsFastBiquadF16() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/ |
D | tfa2_container.c | 26 int rc = 0, i; in tfa2_cnt_write_dspmem() local 29 for (i = 0; i < cfmem->size; i++) in tfa2_cnt_write_dspmem() 31 … dev_dbg(&tfa->i2c->dev, "dsp mem (%d): 0x%02x=0x%04x\n", cfmem->type, address, cfmem->words[i]); in tfa2_cnt_write_dspmem() 32 …_i2c_write_cf_mem32(tfa->i2c, address++, (int32_t *)cfmem + offsetof(nxpTfaDspMem_t, words) + i, 1, in tfa2_cnt_write_dspmem() 160 int i; in tfa2_cnt_get_cmd() local 169 for (i = offset; i < prof->length - 1; i++) in tfa2_cnt_get_cmd() 171 dsc = &prof->list[i]; in tfa2_cnt_get_cmd() 176 return i; in tfa2_cnt_get_cmd() 221 unsigned int i; in tfa2_cnt_get_app_name() local 224 for (i = 0; i < sizeof(tfa->cnt->application); i++) in tfa2_cnt_get_app_name() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/pint/ |
D | fsl_pint.c | 100 uint32_t i; in PINT_Init() local 109 for (i = 0; i < (uint32_t)FSL_FEATURE_PINT_NUMBER_OF_CONNECTED_OUTPUTS; i++) in PINT_Init() 111 s_pintCallback[i] = NULL; in PINT_Init() 119 for (i = 0; i < (uint32_t)FSL_FEATURE_SECPINT_NUMBER_OF_CONNECTED_OUTPUTS; i++) in PINT_Init() 121 s_secpintCallback[i] = NULL; in PINT_Init() 127 for (i = 0; i < pintcount; i++) in PINT_Init() 129 … pmcfg = pmcfg | ((uint32_t)kPINT_PatternMatchNever << (PININT_BITSLICE_CFG_START + (i * 3U))); in PINT_Init() 514 uint32_t i; in PINT_PinInterruptClrStatusAll() local 527 for (i = 0; i < pinIntCount; i++) in PINT_PinInterruptClrStatusAll() 529 pinIntMode = base->ISEL & (1UL << i); in PINT_PinInterruptClrStatusAll() [all …]
|
/hal_nxp-3.7.0/s32/drivers/s32k3/Eth_GMAC/src/ |
D | Gmac_Ip.c | 336 uint32 i, j; in Gmac_Ip_ComputeCRC32() local 338 for (i = 0; i < Size; i++) in Gmac_Ip_ComputeCRC32() 340 Crc = Crc ^ Mac[i]; in Gmac_Ip_ComputeCRC32() 609 uint8 i; in Gmac_Ip_InitMTL() local 615 for (i = 0U; i < Config->Gmac_pCtrlConfig->TxRingCount; ++i) in Gmac_Ip_InitMTL() 617 …FifoSize = (uint32)Config->Gmac_paCtrlTxRingConfig[i].RingSize * Config->Gmac_paCtrlTxRingConfig[i… in Gmac_Ip_InitMTL() 619 …if ((GMAC_OP_MODE_DCB_GEN == Config->Gmac_paCtrlTxRingConfig[i].QueueOpMode) && (Config->Gmac_pCtr… in Gmac_Ip_InitMTL() 621 …GMAC_SetTxQueueQuantumWeight(Gmac_apxQueueBases[Instance][i], Config->Gmac_paCtrlTxRingConfig[i].W… in Gmac_Ip_InitMTL() 623 else if ((GMAC_OP_MODE_AVB == Config->Gmac_paCtrlTxRingConfig[i].QueueOpMode) && (i > 0U)) in Gmac_Ip_InitMTL() 625 …GMAC_SetTxQueueQuantumWeight(Gmac_apxQueueBases[Instance][i], Config->Gmac_paCtrlTxRingConfig[i].I… in Gmac_Ip_InitMTL() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/log/ |
D | fsl_component_log.c | 30 #define LOG_GEN_ARG(n, i) (busy->argv[n - (i)]) argument 33 #define LOG_GEN_ARGUMENT_1(n, i) LOG_GEN_ARG(n, i) argument 34 #define LOG_GEN_ARGUMENT_2(n, i) LOG_GEN_ARG(n, i), LOG_GEN_ARGUMENT_1(n, LOG_GEN_ARGUMENT_GET_N(i… argument 35 #define LOG_GEN_ARGUMENT_3(n, i) LOG_GEN_ARG(n, i), LOG_GEN_ARGUMENT_2(n, LOG_GEN_ARGUMENT_GET_N(i… argument 36 #define LOG_GEN_ARGUMENT_4(n, i) LOG_GEN_ARG(n, i), LOG_GEN_ARGUMENT_3(n, LOG_GEN_ARGUMENT_GET_N(i… argument 37 #define LOG_GEN_ARGUMENT_5(n, i) LOG_GEN_ARG(n, i), LOG_GEN_ARGUMENT_4(n, LOG_GEN_ARGUMENT_GET_N(i… argument 38 #define LOG_GEN_ARGUMENT_6(n, i) LOG_GEN_ARG(n, i), LOG_GEN_ARGUMENT_5(n, LOG_GEN_ARGUMENT_GET_N(i… argument 39 #define LOG_GEN_ARGUMENT_7(n, i) LOG_GEN_ARG(n, i), LOG_GEN_ARGUMENT_6(n, LOG_GEN_ARGUMENT_GET_N(i… argument 40 #define LOG_GEN_ARGUMENT_8(n, i) LOG_GEN_ARG(n, i), LOG_GEN_ARGUMENT_7(n, LOG_GEN_ARGUMENT_GET_N(i… argument 41 #define LOG_GEN_ARGUMENT_9(n, i) LOG_GEN_ARG(n, i), LOG_GEN_ARGUMENT_8(n, LOG_GEN_ARGUMENT_GET_N(i… argument [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/CMSIS/DSP/Source/InterpolationFunctions/ |
D | arm_spline_interp_init_f32.c | 92 int32_t i; /* Loop counter */ in arm_spline_init_f32() local 113 for (i=1; i<(int32_t)n-1; i++) in arm_spline_init_f32() 116 hi = x[i+1]-x[i]; in arm_spline_init_f32() 117 Bi = 3*(y[i+1]-y[i])/hi - 3*(y[i]-y[i-1])/hm1; in arm_spline_init_f32() 120 li = 2*(hi+hm1) - hm1*u[i-1]; in arm_spline_init_f32() 123 u[i] = hi/li; in arm_spline_init_f32() 126 z[i] = (Bi-hm1*z[i-1])/li; in arm_spline_init_f32() 151 for (i=n-2; i>=0; i--) in arm_spline_init_f32() 154 c[i] = z[i]-u[i]*cp1; in arm_spline_init_f32() 156 hi = x[i+1]-x[i]; in arm_spline_init_f32() [all …]
|
D | arm_spline_interp_f32.c | 164 int32_t i; in arm_spline_f32() local 182 for (i=0; i<n-1; i++) in arm_spline_f32() 185 xiv = vdupq_n_f32(x[i]); in arm_spline_f32() 187 aiv = vdupq_n_f32(y[i]); in arm_spline_f32() 188 biv = vdupq_n_f32(b[i]); in arm_spline_f32() 189 civ = vdupq_n_f32(c[i]); in arm_spline_f32() 190 div = vdupq_n_f32(d[i]); in arm_spline_f32() 192 while( *(pXq+4) <= x[i+1] && blkCnt > 4 ) in arm_spline_f32() 220 while( *pXq <= x[i+1] && blkCnt > 0 ) in arm_spline_f32() 224 …*pDst = y[i]+b[i]*(x_sc-x[i])+c[i]*(x_sc-x[i])*(x_sc-x[i])+d[i]*(x_sc-x[i])*(x_sc-x[i])*(x_sc-x[i]… in arm_spline_f32() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexspi/ |
D | fsl_flexspi.c | 123 for (uint32_t i = 0U; i < length; i++) in FLEXSPI_Memset() local 258 uint8_t i = 0; in FLEXSPI_Init() local 330 for (i = 0; i < (uint32_t)FSL_FEATURE_FLEXSPI_AHB_BUFFER_COUNT; i++) in FLEXSPI_Init() 332 configValue = base->AHBRXBUFCR0[i]; in FLEXSPI_Init() 336 configValue |= FLEXSPI_AHBRXBUFCR0_PREFETCHEN(config->ahbConfig.buffer[i].enablePrefetch) | in FLEXSPI_Init() 337 FLEXSPI_AHBRXBUFCR0_PRIORITY(config->ahbConfig.buffer[i].priority) | in FLEXSPI_Init() 338 FLEXSPI_AHBRXBUFCR0_MSTRID(config->ahbConfig.buffer[i].masterIndex) | in FLEXSPI_Init() 339 … FLEXSPI_AHBRXBUFCR0_BUFSZ((uint32_t)config->ahbConfig.buffer[i].bufferSize / 8U); in FLEXSPI_Init() 340 base->AHBRXBUFCR0[i] = configValue; in FLEXSPI_Init() 350 for (i = 0; i < (uint32_t)kFLEXSPI_PortCount; i++) in FLEXSPI_Init() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/video/camera/device/max9286/ |
D | fsl_max9286.c | 461 uint8_t i; in OV10635_GetResolutionConfig() local 464 for (i = 0; i < ARRAY_SIZE(s_ov10635ResolutionConfigs); i++) in OV10635_GetResolutionConfig() 466 if ((cameraConfig->resolution == s_ov10635ResolutionConfigs[i].resolution) && in OV10635_GetResolutionConfig() 467 (cameraConfig->framePerSec == s_ov10635ResolutionConfigs[i].framePerSec)) in OV10635_GetResolutionConfig() 469 config = &s_ov10635ResolutionConfigs[i]; in OV10635_GetResolutionConfig() 481 uint32_t i; in OV10635_SetResolutionConfig() local 485 for (i = 0; i < OV10635_RESOLUTION_CONFIG_REG_NUM; i++) in OV10635_SetResolutionConfig() 487 status = OV10635_Write(handle, i2cAddr, config->regs[i].reg, config->regs[i].value); in OV10635_SetResolutionConfig() 500 uint8_t i = 0; in MAX9286_ReorderVC() local 504 for (i = 0; i < MAX9271_MAX_COUNT; i++) in MAX9286_ReorderVC() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/hashcrypt/ |
D | fsl_hashcrypt.c | 104 int i = 15; in ctrIncrement() local 105 while (input[i] == (uint8_t)0xFFu) in ctrIncrement() 107 input[i] = (uint8_t)0x00u; in ctrIncrement() 108 i--; in ctrIncrement() 109 if (i < 0) in ctrIncrement() 115 if (i >= 0) in ctrIncrement() 117 input[i] += (uint8_t)1u; in ctrIncrement() 185 uint32_t i; in hashcrypt_get_key_from_unaligned_src() local 194 for (i = 0; i < ((uint32_t)size / 4u); i++) in hashcrypt_get_key_from_unaligned_src() 196 … ((uint32_t *)(uintptr_t)dest)[i] = hashcrypt_get_word_from_unaligned(&src[i * sizeof(uint32_t)]); in hashcrypt_get_key_from_unaligned_src() [all …]
|