/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_cholesky_f32.c | 91 int i,j,k; in arm_mat_cholesky_f32() local 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() 128 vecGj0=vldrwq_z_f32(&pG[(j + 0) * n + k],p0); in arm_mat_cholesky_f32() 129 vecGj1=vldrwq_z_f32(&pG[(j + 1) * n + k],p0); in arm_mat_cholesky_f32() 130 vecGj2=vldrwq_z_f32(&pG[(j + 2) * n + k],p0); in arm_mat_cholesky_f32() 131 vecGj3=vldrwq_z_f32(&pG[(j + 3) * n + k],p0); in arm_mat_cholesky_f32() [all …]
|
D | arm_mat_inverse_f32.c | 88 uint32_t i, rowCnt, flag = 0U, j, loopCnt, l; /* loop counters */ in arm_mat_inverse_f32() local 155 j = numRows - rowCnt; in arm_mat_inverse_f32() 156 while (j > 0U) in arm_mat_inverse_f32() 159 j--; in arm_mat_inverse_f32() 168 j = rowCnt - 1U; in arm_mat_inverse_f32() 169 while (j > 0U) in arm_mat_inverse_f32() 172 j--; in arm_mat_inverse_f32() 585 uint32_t i, rowCnt, flag = 0U, j, loopCnt, k, l; /* loop counters */ in arm_mat_inverse_f32() local 649 j = numRows - rowCnt; in arm_mat_inverse_f32() 650 while (j > 0U) in arm_mat_inverse_f32() [all …]
|
D | arm_mat_inverse_f64.c | 66 uint32_t i, rowCnt, flag = 0U, j, loopCnt, k,l; /* loop counters */ local 130 j = numRows - rowCnt; 131 while (j > 0U) 134 j--; 141 j = rowCnt - 1U; 142 while (j > 0U) 145 j--; 196 j = numCols - l; 198 while (j > 0U) 206 j--; [all …]
|
D | arm_mat_cholesky_f16.c | 83 int i,j,k; in arm_mat_cholesky_f16() local 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() 122 vecGj0=vldrhq_z_f16(&pG[(j + 0) * n + k],p0); in arm_mat_cholesky_f16() 123 vecGj1=vldrhq_z_f16(&pG[(j + 1) * n + k],p0); in arm_mat_cholesky_f16() 124 vecGj2=vldrhq_z_f16(&pG[(j + 2) * n + k],p0); in arm_mat_cholesky_f16() 125 vecGj3=vldrhq_z_f16(&pG[(j + 3) * 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 104 for(j=0; j+3 < n; j += 4) in arm_mat_solve_lower_triangular_f32() 106 vecA = vld1q_f32(&pA[i * n + j]); in arm_mat_solve_lower_triangular_f32() 110 vecX = vld1q_f32(&pX[n*k+j]); in arm_mat_solve_lower_triangular_f32() 121 vst1q(&pX[i*n+j],vecA); in arm_mat_solve_lower_triangular_f32() 125 for(; j < n; j ++) in arm_mat_solve_lower_triangular_f32() 127 a_col = &pA[j]; in arm_mat_solve_lower_triangular_f32() 134 tmp -= lt_row[k] * pX[n*k+j]; in arm_mat_solve_lower_triangular_f32() 142 pX[i*n+j] = tmp; in arm_mat_solve_lower_triangular_f32() 186 int i,j,k,n; in arm_mat_solve_lower_triangular_f32() local [all …]
|
D | arm_mat_solve_upper_triangular_f32.c | 78 int i,j,k,n; in arm_mat_solve_upper_triangular_f32() local 96 for(j=0; j+3 < n; j +=4) in arm_mat_solve_upper_triangular_f32() 98 vecA = vld1q_f32(&pA[i * n + j]); in arm_mat_solve_upper_triangular_f32() 102 vecX = vld1q_f32(&pX[n*k+j]); in arm_mat_solve_upper_triangular_f32() 115 vst1q(&pX[i*n+j],vecA); in arm_mat_solve_upper_triangular_f32() 118 for(; j < n; j ++) in arm_mat_solve_upper_triangular_f32() 120 a_col = &pA[j]; in arm_mat_solve_upper_triangular_f32() 128 tmp -= ut_row[k] * pX[n*k+j]; in arm_mat_solve_upper_triangular_f32() 136 pX[i*n+j] = tmp; in arm_mat_solve_upper_triangular_f32() 175 int i,j,k,n; in arm_mat_solve_upper_triangular_f32() local [all …]
|
D | arm_mat_inverse_f16.c | 70 uint32_t i, rowCnt, flag = 0U, j, loopCnt, l; /* loop counters */ in arm_mat_inverse_f16() local 137 j = numRows - rowCnt; in arm_mat_inverse_f16() 138 while (j > 0U) in arm_mat_inverse_f16() 141 j--; in arm_mat_inverse_f16() 150 j = rowCnt - 1U; in arm_mat_inverse_f16() 151 while (j > 0U) in arm_mat_inverse_f16() 154 j--; in arm_mat_inverse_f16() 566 uint32_t i, rowCnt, flag = 0U, j, loopCnt, k,l; /* loop counters */ in arm_mat_inverse_f16() local 630 j = numRows - rowCnt; in arm_mat_inverse_f16() 631 while (j > 0U) in arm_mat_inverse_f16() [all …]
|
D | arm_mat_solve_lower_triangular_f16.c | 86 int i,j,k,n; in arm_mat_solve_lower_triangular_f16() local 105 for(j=0; j+7 < n; j += 8) in arm_mat_solve_lower_triangular_f16() 107 vecA = vld1q_f16(&pA[i * n + j]); in arm_mat_solve_lower_triangular_f16() 111 vecX = vld1q_f16(&pX[n*k+j]); in arm_mat_solve_lower_triangular_f16() 122 vst1q(&pX[i*n+j],vecA); in arm_mat_solve_lower_triangular_f16() 126 for(; j < n; j ++) in arm_mat_solve_lower_triangular_f16() 128 a_col = &pA[j]; in arm_mat_solve_lower_triangular_f16() 135 tmp -= (_Float16)lt_row[k] * (_Float16)pX[n*k+j]; in arm_mat_solve_lower_triangular_f16() 143 pX[i*n+j] = tmp; in arm_mat_solve_lower_triangular_f16() 187 int i,j,k,n; in arm_mat_solve_lower_triangular_f16() local [all …]
|
D | arm_mat_solve_upper_triangular_f16.c | 81 int i,j,k,n; in arm_mat_solve_upper_triangular_f16() local 99 for(j=0; j+7 < n; j +=8) in arm_mat_solve_upper_triangular_f16() 101 vecA = vld1q_f16(&pA[i * n + j]); in arm_mat_solve_upper_triangular_f16() 105 vecX = vld1q_f16(&pX[n*k+j]); in arm_mat_solve_upper_triangular_f16() 118 vst1q(&pX[i*n+j],vecA); in arm_mat_solve_upper_triangular_f16() 121 for(; j < n; j ++) in arm_mat_solve_upper_triangular_f16() 123 a_col = &pA[j]; in arm_mat_solve_upper_triangular_f16() 131 tmp -= (_Float16)ut_row[k] * (_Float16)pX[n*k+j]; in arm_mat_solve_upper_triangular_f16() 139 pX[i*n+j] = tmp; in arm_mat_solve_upper_triangular_f16() 177 int i,j,k,n; in arm_mat_solve_upper_triangular_f16() local [all …]
|
D | arm_mat_cholesky_f64.c | 78 int i,j,k; in arm_mat_cholesky_f64() local 89 for(j=i ; j < n ; j++) in arm_mat_cholesky_f64() 91 pG[j * n + i] = pA[j * n + i]; in arm_mat_cholesky_f64() 95 pG[j * n + i] = pG[j * n + i] - pG[i * n + k] * pG[j * n + k]; in arm_mat_cholesky_f64() 105 for(j=i ; j < n ; j++) in arm_mat_cholesky_f64() 107 pG[j * n + i] = pG[j * n + i] * invSqrtVj ; in arm_mat_cholesky_f64()
|
D | arm_mat_ldlt_f32.c | 39 #define SWAP_ROWS_F32(A,i,j) \ argument 49 tmpb=vldrwq_z_f32(&A[j*n + w],p0);\ 52 vstrwq_p(&A[j*n + w], tmpa, p0); \ 59 #define SWAP_COLS_F32(A,i,j) \ argument 64 A[w*n + i] = A[w*n + j];\ 65 A[w*n + j] = tmp; \ 145 int j=k; in arm_mat_ldlt_f32() local 153 j = r; in arm_mat_ldlt_f32() 157 if(j != k) in arm_mat_ldlt_f32() 159 SWAP_ROWS_F32(pA,k,j); in arm_mat_ldlt_f32() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/TransformFunctions/ |
D | arm_bitreversal.c | 49 uint16_t i, j; in arm_bitreversal_f32() local 53 j = 0U; in arm_bitreversal_f32() 60 if (i < j) in arm_bitreversal_f32() 64 pSrc[2U * i] = pSrc[2U * j]; in arm_bitreversal_f32() 65 pSrc[2U * j] = in; in arm_bitreversal_f32() 69 pSrc[(2U * i) + 1U] = pSrc[(2U * j) + 1U]; in arm_bitreversal_f32() 70 pSrc[(2U * j) + 1U] = in; in arm_bitreversal_f32() 74 pSrc[2U * (i + fftLenBy2p1)] = pSrc[2U * (j + fftLenBy2p1)]; in arm_bitreversal_f32() 75 pSrc[2U * (j + fftLenBy2p1)] = in; in arm_bitreversal_f32() 80 pSrc[(2U * (j + fftLenBy2p1)) + 1U]; in arm_bitreversal_f32() [all …]
|
D | arm_bitreversal_f16.c | 49 uint16_t i, j; in arm_bitreversal_f16() local 53 j = 0U; in arm_bitreversal_f16() 60 if (i < j) in arm_bitreversal_f16() 64 pSrc[2U * i] = pSrc[2U * j]; in arm_bitreversal_f16() 65 pSrc[2U * j] = in; in arm_bitreversal_f16() 69 pSrc[(2U * i) + 1U] = pSrc[(2U * j) + 1U]; in arm_bitreversal_f16() 70 pSrc[(2U * j) + 1U] = in; in arm_bitreversal_f16() 74 pSrc[2U * (i + fftLenBy2p1)] = pSrc[2U * (j + fftLenBy2p1)]; in arm_bitreversal_f16() 75 pSrc[2U * (j + fftLenBy2p1)] = in; in arm_bitreversal_f16() 80 pSrc[(2U * (j + fftLenBy2p1)) + 1U]; in arm_bitreversal_f16() [all …]
|
D | arm_cfft_radix2_q15.c | 95 uint32_t i, j, k, l; in arm_radix2_butterfly_q15() local 182 for (j = 0; j < n2; j++) in arm_radix2_butterfly_q15() 189 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15() 281 uint32_t i, j, k, l; in arm_radix2_butterfly_q15() 294 for (j = 0; j < n2; j++) in arm_radix2_butterfly_q15() 301 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15() 331 for (j = 0; j < n2; j++) in arm_radix2_butterfly_q15() 338 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15() 365 for (j = 0; j < n2; j++) in arm_radix2_butterfly_q15() 373 for (i = j; i < fftLen; i += n1) in arm_radix2_butterfly_q15() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_levinson_durbin_f32.c | 85 int nb,j,i; in arm_levinson_durbin_f32() local 145 j=0; in arm_levinson_durbin_f32() 176 j+=2; in arm_levinson_durbin_f32() 185 x = a[j] - k * a[p-1-j]; in arm_levinson_durbin_f32() 186 y = a[p-1-j] - k * a[j]; in arm_levinson_durbin_f32() 188 a[j] = x; in arm_levinson_durbin_f32() 189 a[p-1-j] = y; in arm_levinson_durbin_f32() 191 a[j+1] = a[j+1] - k * a[p-1-(j+1)]; in arm_levinson_durbin_f32() 198 x = a[j] - k * a[p-1-j]; in arm_levinson_durbin_f32() 199 y = a[p-1-j] - k * a[j]; in arm_levinson_durbin_f32() [all …]
|
D | arm_levinson_durbin_q31.c | 151 int nb,j,i; in arm_levinson_durbin_q31() local 213 j=0; in arm_levinson_durbin_q31() 248 j+=2; in arm_levinson_durbin_q31() 258 x = a[j] - mul32x32(k,a[p-1-j]); in arm_levinson_durbin_q31() 261 y = a[p-1-j] - mul32x32(k , a[j]); in arm_levinson_durbin_q31() 263 a[j] = x; in arm_levinson_durbin_q31() 264 a[p-1-j] = y; in arm_levinson_durbin_q31() 267 a[j+1] = a[j+1] - mul32x32(k,a[p-2-j]); in arm_levinson_durbin_q31() 276 x = a[j] - mul32x32(k,a[p-1-j]); in arm_levinson_durbin_q31() 279 y = a[p-1-j] - mul32x32(k , a[j]); in arm_levinson_durbin_q31() [all …]
|
D | arm_levinson_durbin_f16.c | 85 int nb,j,i; in arm_levinson_durbin_f16() local 145 j=0; in arm_levinson_durbin_f16() 176 j+=4; in arm_levinson_durbin_f16() 189 x=(_Float16)a[j] - (_Float16)k * (_Float16)a[p-1-j]; in arm_levinson_durbin_f16() 190 y=(_Float16)a[p-1-j] - (_Float16)k * (_Float16)a[j]; in arm_levinson_durbin_f16() 192 a[j] = x; in arm_levinson_durbin_f16() 193 a[p-1-j] = y; in arm_levinson_durbin_f16() 195 j++; in arm_levinson_durbin_f16() 201 a[j]=(_Float16)a[j]- (_Float16)k * (_Float16)a[p-1-j]; in arm_levinson_durbin_f16() 233 int nb,j; in arm_levinson_durbin_f16() local [all …]
|
D | arm_correlate_q31.c | 81 int32_t i = 0U, j = 0; /* loop counters */ in arm_correlate_q31() local 93 j = srcALen - srcBLen; in arm_correlate_q31() 97 pDst += j; in arm_correlate_q31() 116 j = srcALen; in arm_correlate_q31() 118 srcBLen = j; in arm_correlate_q31() 278 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_q31() local 315 j = outBlockSize - (srcALen + (srcBLen - 1U)); in arm_correlate_q31() 318 pOut += j; in arm_correlate_q31() 329 j = srcBLen; in arm_correlate_q31() 331 srcALen = j; in arm_correlate_q31() [all …]
|
D | arm_correlate_q15.c | 81 int32_t i = 0U, j = 0; /* loop counters */ in arm_correlate_q15() local 93 j = srcALen - srcBLen; in arm_correlate_q15() 97 pDst += j; in arm_correlate_q15() 116 j = srcALen; in arm_correlate_q15() 118 srcBLen = j; in arm_correlate_q15() 287 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_q15() local 319 j = outBlockSize - (srcALen + (srcBLen - 1U)); in arm_correlate_q15() 322 pOut += j; in arm_correlate_q15() 333 j = srcBLen; in arm_correlate_q15() 335 srcALen = j; in arm_correlate_q15() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/drivers/spdif/ |
D | fsl_spdif.c | 295 uint32_t i = 0, j = 0, data = 0; in SPDIF_WriteBlocking() local 305 for (j = 0; j < 3U; j++) in SPDIF_WriteBlocking() 307 data |= ((uint32_t)(*buffer) << (j * 8U)); in SPDIF_WriteBlocking() 314 for (j = 0; j < 3U; j++) in SPDIF_WriteBlocking() 316 data |= ((uint32_t)(*buffer) << (j * 8U)); in SPDIF_WriteBlocking() 339 uint32_t i = 0, j = 0, data = 0; in SPDIF_ReadBlocking() local 350 for (j = 0; j < 3U; j++) in SPDIF_ReadBlocking() 352 *buffer = ((uint8_t)(data >> (j * 8U)) & 0xFFU); in SPDIF_ReadBlocking() 358 for (j = 0; j < 3U; j++) in SPDIF_ReadBlocking() 360 *buffer = ((uint8_t)(data >> (j * 8U)) & 0xFFU); in SPDIF_ReadBlocking() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/NN/Source/SVDFunctions/ |
D | arm_svdf_s8.c | 134 int j = 0; in arm_svdf_s8() local 138 j += 2; in arm_svdf_s8() 146 for (; j < time_batches; j++) in arm_svdf_s8() 153 for (int j = 0; j < time_batches; j++) in arm_svdf_s8() local 177 for (int j = 0; j < feature_batches; j++) in arm_svdf_s8() local 179 output_temp[j] = ptr_a[j] + bi[j]; in arm_svdf_s8() 193 for (int j = 0; j < rank; j++) in arm_svdf_s8() local 213 for (int j = 0; j < rank; j++) in arm_svdf_s8() local
|
/hal_nxp-latest/mcux/middleware/wifi_nxp/cli/ |
D | cli_utils.c | 135 int i, j, k = 0; in get_mac() local 147 for (j = 0; j < 2; j++) in get_mac() 149 if (arg[i + j] >= '0' && arg[i + j] <= '9') in get_mac() 151 n = (unsigned char)(arg[i + j]) - (unsigned char)'0'; in get_mac() 153 else if (arg[i + j] >= 'A' && arg[i + j] <= 'F') in get_mac() 155 n = (unsigned char)(arg[i + j]) - (unsigned char)'A' + (unsigned char)10; in get_mac() 157 else if (arg[i + j] >= 'a' && arg[i + j] <= 'f') in get_mac() 159 n = (unsigned char)(arg[i + j]) - (unsigned char)'a' + (unsigned char)10; in get_mac() 166 l = 1 - j; in get_mac()
|
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/ |
D | mlan_11d.c | 532 t_u16 i, j, num_chan_added = 0; in wlan_11d_process_country_info() local 554 for (j = 0; (j < parsed_region_chan->no_of_chan && j < MAX_NO_OF_CHAN); j++) in wlan_11d_process_country_info() 560 if (region_chan.chan_pwr[i].chan == parsed_region_chan->chan_pwr[j].chan && in wlan_11d_process_country_info() 561 region_chan.chan_pwr[i].band == parsed_region_chan->chan_pwr[j].band) in wlan_11d_process_country_info() 563 parsed_region_chan->chan_pwr[j].pwr = region_chan.chan_pwr[i].pwr; in wlan_11d_process_country_info() 568 if (j == parsed_region_chan->no_of_chan && j < MAX_NO_OF_CHAN) in wlan_11d_process_country_info() 635 t_u8 i, j; in wlan_11d_sort_parsed_region_chan() local 647 for (j = i; j > 0 && (pchan_power + j - 1)->chan > temp.chan; j--) in wlan_11d_sort_parsed_region_chan() 649 wlan_11d_copy_chan_power(pchan_power + j, pchan_power + j - 1); in wlan_11d_sort_parsed_region_chan() 651 wlan_11d_copy_chan_power(pchan_power + j, &temp); in wlan_11d_sort_parsed_region_chan() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/SupportFunctions/ |
D | arm_quick_sort_f32.c | 34 int32_t i, j, pivot_index; in arm_quick_sort_partition_f32() local 44 j = last + 1; in arm_quick_sort_partition_f32() 46 while(i < j) in arm_quick_sort_partition_f32() 72 j--; in arm_quick_sort_partition_f32() 73 } while (pSrc[j] > pivot); in arm_quick_sort_partition_f32() 86 j--; in arm_quick_sort_partition_f32() 87 } while (pSrc[j] < pivot); in arm_quick_sort_partition_f32() 91 if (i < j) in arm_quick_sort_partition_f32() 95 pSrc[i]=pSrc[j]; in arm_quick_sort_partition_f32() 96 pSrc[j]=temp; in arm_quick_sort_partition_f32() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/components/crc/ |
D | fsl_adapter_software_crc.c | 23 uint32_t i, j; in HAL_CrcCompute() local 37 for (j = 0U; j < 8U; j++) in HAL_CrcCompute() 46 for (j = 0; j < 8U; j++) in HAL_CrcCompute() 83 j = 1U; in HAL_CrcCompute() 87 computedCRC |= ((shiftReg & j) != 0U) ? 1U : 0U; in HAL_CrcCompute() 88 j = (j << 1); in HAL_CrcCompute()
|