/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_spdif.c | 291 uint32_t i = 0, j = 0, data = 0; in SPDIF_WriteBlocking() local 301 for (j = 0; j < 3U; j++) in SPDIF_WriteBlocking() 303 data |= ((uint32_t)(*buffer) << (j * 8U)); in SPDIF_WriteBlocking() 310 for (j = 0; j < 3U; j++) in SPDIF_WriteBlocking() 312 data |= ((uint32_t)(*buffer) << (j * 8U)); in SPDIF_WriteBlocking() 335 uint32_t i = 0, j = 0, data = 0; in SPDIF_ReadBlocking() local 346 for (j = 0; j < 3U; j++) in SPDIF_ReadBlocking() 348 *buffer = ((uint8_t)(data >> (j * 8U)) & 0xFFU); in SPDIF_ReadBlocking() 354 for (j = 0; j < 3U; j++) in SPDIF_ReadBlocking() 356 *buffer = ((uint8_t)(data >> (j * 8U)) & 0xFFU); in SPDIF_ReadBlocking() [all …]
|
D | fsl_pdm.c | 92 uint32_t i = 0, j = 0U; in PDM_ReadFifo() local 97 for (j = 0; j < channelNums; j++) in PDM_ReadFifo() 100 *dataAddr = base->DATACH[startChannel + j] >> (dataWidth == 4U ? 0U : 8U); in PDM_ReadFifo() 103 *dataAddr = base->DATACH[startChannel + j]; in PDM_ReadFifo() 122 uint32_t i = 0, j = 0U; in PDM_ReadNonBlocking() local 126 for (j = 0; j < channelNums; j++) in PDM_ReadNonBlocking() 128 *buffer++ = (int16_t)base->DATACH[startChannel + j]; in PDM_ReadNonBlocking()
|
D | fsl_flexio_i2s.c | 65 uint8_t j = 0; in FLEXIO_I2S_WriteNonBlocking() local 72 for (j = 0; j < bytesPerWord; j++) in FLEXIO_I2S_WriteNonBlocking() 75 data |= (temp << (8U * j)); in FLEXIO_I2S_WriteNonBlocking() 86 uint8_t j = 0; in FLEXIO_I2S_ReadNonBlocking() local 93 for (j = 0; j < bytesPerWord; j++) in FLEXIO_I2S_ReadNonBlocking() 95 *rxData = (uint8_t)((data >> (8U * j)) & 0xFFU); in FLEXIO_I2S_ReadNonBlocking()
|
D | fsl_enet_qos.c | 518 uint16_t j; in ENET_QOS_TxDescriptorsInit() local 544 for (j = 0; j < buffCfg->txRingLen; j++) in ENET_QOS_TxDescriptorsInit() 562 uint16_t j; in ENET_QOS_RxDescriptorsInit() local 610 for (j = 0U; j < buffCfg->rxRingLen; j++) in ENET_QOS_RxDescriptorsInit() 616 index = 2U * j; in ENET_QOS_RxDescriptorsInit() 620 index = j; in ENET_QOS_RxDescriptorsInit() 885 uint32_t primask, j; in ENET_QOS_Down() local 938 for (j = 0; j < handle->txBdRing[index].txRingLen; j++) in ENET_QOS_Down() 1058 uint16_t j; in ENET_QOS_RxBufferAllocAll() local 1069 for (j = 0U; j < handle->rxBdRing[channel].rxRingLen; j++) in ENET_QOS_RxBufferAllocAll() [all …]
|
D | fsl_sai.c | 285 uint32_t i = 0, j = 0U; in SAI_WriteNonBlocking() local 293 for (j = channel; j <= endChannel; j++) in SAI_WriteNonBlocking() 295 if (IS_SAI_FLAG_SET((1UL << j), channelMask)) in SAI_WriteNonBlocking() 303 base->TDR[j] = data; in SAI_WriteNonBlocking() 318 uint32_t i = 0, j = 0; in SAI_ReadNonBlocking() local 325 for (j = channel; j <= endChannel; j++) in SAI_ReadNonBlocking() 327 if (IS_SAI_FLAG_SET((1UL << j), channelMask)) in SAI_ReadNonBlocking() 329 data = base->RDR[j]; in SAI_ReadNonBlocking() 2163 uint32_t i = 0, j = 0; in SAI_WriteMultiChannelBlocking() local 2182 while (j < size) in SAI_WriteMultiChannelBlocking() [all …]
|
D | fsl_dcp.c | 1227 const uint32_t j = sizeof(ctxInternal->blk.w) / sizeof(ctxInternal->blk.w[0]); in DCP_HASH_Init() local 1228 for (i = 0; i < j; i++) in DCP_HASH_Init()
|
D | fsl_flexcan.c | 2428 uint8_t i, j, k, rffn = 0, numMbOccupy; in FLEXCAN_SetRxFifoConfig() local 2465 j = 0U; in FLEXCAN_SetRxFifoConfig() 2478 … mbAddr[k] = (j < pRxFifoConfig->idFilterNum) ? (pRxFifoConfig->idFilterTable[j]) : 0xFFFFFFFFU; in FLEXCAN_SetRxFifoConfig() 2481 j++; in FLEXCAN_SetRxFifoConfig()
|
/hal_nxp-2.7.6/imx/drivers/ |
D | flexcan.c | 689 uint32_t i, j, numOfFilters; in FLEXCAN_SetRxFifoFilter() local 739 j = 0; in FLEXCAN_SetRxFifoFilter() 744 filterTable[i] = val1 + (((*(idFilterTable->idFilter + j)) & in FLEXCAN_SetRxFifoFilter() 747 filterTable[i] |= val2 + (((*(idFilterTable->idFilter + j + 1)) & in FLEXCAN_SetRxFifoFilter() 752 filterTable[i] = val1 + (((*(idFilterTable->idFilter + j)) & in FLEXCAN_SetRxFifoFilter() 755 filterTable[i] |= val2 + (((*(idFilterTable->idFilter + j + 1)) & in FLEXCAN_SetRxFifoFilter() 759 j = j + 2; in FLEXCAN_SetRxFifoFilter() 764 j = 0; in FLEXCAN_SetRxFifoFilter() 767 filterTable[i] = (((*(idFilterTable->idFilter + j)) & in FLEXCAN_SetRxFifoFilter() 770 filterTable[i] = (((*(idFilterTable->idFilter + j + 1)) & in FLEXCAN_SetRxFifoFilter() [all …]
|
/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_qspi.c | 535 uint32_t j = 0; in QSPI_ReadBlocking() local 561 for (j = 0; j < level; j++) in QSPI_ReadBlocking() 563 buffer[i + j] = base->RBDR[j]; in QSPI_ReadBlocking() 569 for (j = 0; j < level; j++) in QSPI_ReadBlocking() 571 buffer[i + j] = ((uint32_t *)FSL_FEATURE_QSPI_ARDB_BASE)[j]; in QSPI_ReadBlocking()
|
D | fsl_flexio_i2s.c | 65 uint8_t j = 0; in FLEXIO_I2S_WriteNonBlocking() local 72 for (j = 0; j < bytesPerWord; j++) in FLEXIO_I2S_WriteNonBlocking() 75 data |= (temp << (8U * j)); in FLEXIO_I2S_WriteNonBlocking() 86 uint8_t j = 0; in FLEXIO_I2S_ReadNonBlocking() local 93 for (j = 0; j < bytesPerWord; j++) in FLEXIO_I2S_ReadNonBlocking() 95 *rxData = (uint8_t)((data >> (8U * j)) & 0xFFU); in FLEXIO_I2S_ReadNonBlocking()
|
D | fsl_sai.c | 285 uint32_t i = 0, j = 0U; in SAI_WriteNonBlocking() local 293 for (j = channel; j <= endChannel; j++) in SAI_WriteNonBlocking() 295 if (IS_SAI_FLAG_SET((1UL << j), channelMask)) in SAI_WriteNonBlocking() 303 base->TDR[j] = data; in SAI_WriteNonBlocking() 318 uint32_t i = 0, j = 0; in SAI_ReadNonBlocking() local 325 for (j = channel; j <= endChannel; j++) in SAI_ReadNonBlocking() 327 if (IS_SAI_FLAG_SET((1UL << j), channelMask)) in SAI_ReadNonBlocking() 329 data = base->RDR[j]; in SAI_ReadNonBlocking() 2163 uint32_t i = 0, j = 0; in SAI_WriteMultiChannelBlocking() local 2182 while (j < size) in SAI_WriteMultiChannelBlocking() [all …]
|
D | fsl_ltc.c | 430 uint8_t j; in ltc_set_context() local 440 j = 0; in ltc_set_context() 444 base->CTX[i] = ltc_get_word_from_unaligned(&data[j]); in ltc_set_context() 445 j += (uint8_t)sizeof(uint32_t); in ltc_set_context() 451 ltc_memcpy(&context_data, &data[j], (uint32_t)szLeft); in ltc_set_context() 475 int32_t j; in ltc_get_context() local 486 j = 0; in ltc_get_context() 490 ltc_set_unaligned_from_word(base->CTX[i], &dest[j]); in ltc_get_context() 491 j += (int32_t)sizeof(uint32_t); in ltc_get_context() 497 ltc_memcpy(&dest[j], &rdCtx, (uint32_t)szLeft); in ltc_get_context() [all …]
|
D | fsl_flexcan.c | 2428 uint8_t i, j, k, rffn = 0, numMbOccupy; in FLEXCAN_SetRxFifoConfig() local 2465 j = 0U; in FLEXCAN_SetRxFifoConfig() 2478 … mbAddr[k] = (j < pRxFifoConfig->idFilterNum) ? (pRxFifoConfig->idFilterTable[j]) : 0xFFFFFFFFU; in FLEXCAN_SetRxFifoConfig() 2481 j++; in FLEXCAN_SetRxFifoConfig()
|
/hal_nxp-2.7.6/mcux/drivers/imx8/ |
D | fsl_pdm.c | 99 uint32_t i = 0, j = 0U; in PDM_ReadFifo() local 104 for (j = 0; j < channelNums; j++) in PDM_ReadFifo() 107 *dataAddr = base->DATACH[startChannel + j] >> (dataWidth == 4U ? 0U : 8U); in PDM_ReadFifo() 110 *dataAddr = base->DATACH[startChannel + j]; in PDM_ReadFifo() 129 uint32_t i = 0, j = 0U; in PDM_ReadNonBlocking() local 133 for (j = 0; j < channelNums; j++) in PDM_ReadNonBlocking() 135 *buffer++ = (int16_t)base->DATACH[startChannel + j]; in PDM_ReadNonBlocking()
|
D | fsl_sai.c | 285 uint32_t i = 0, j = 0U; in SAI_WriteNonBlocking() local 293 for (j = channel; j <= endChannel; j++) in SAI_WriteNonBlocking() 295 if (IS_SAI_FLAG_SET((1UL << j), channelMask)) in SAI_WriteNonBlocking() 303 base->TDR[j] = data; in SAI_WriteNonBlocking() 318 uint32_t i = 0, j = 0; in SAI_ReadNonBlocking() local 325 for (j = channel; j <= endChannel; j++) in SAI_ReadNonBlocking() 327 if (IS_SAI_FLAG_SET((1UL << j), channelMask)) in SAI_ReadNonBlocking() 329 data = base->RDR[j]; in SAI_ReadNonBlocking() 2156 uint32_t i = 0, j = 0; in SAI_WriteMultiChannelBlocking() local 2175 while (j < size) in SAI_WriteMultiChannelBlocking() [all …]
|
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_casper.c | 599 uint32_t i, j; in MultprecMultiply() local 616 for (j = 2U; j < N_wordlen; j += 2U) in MultprecMultiply() 620 if (0U != (GET_WORD(&v[j])) || 0U != (GET_WORD(&v[j + 1U]))) in MultprecMultiply() 622 Accel_SetABCD_Addr(CA_MK_OFF(&v[j]), CA_MK_OFF(u)); in MultprecMultiply() 624 …ccel_IterOpcodeResaddr(N_wordlen / 2U - 1U, (uint32_t)kCASPER_OpMul6464Sum, CA_MK_OFF(&w_out[j]))); in MultprecMultiply() 644 int j, tmp; in MultprecModulo() local 666 for (j = top; j >= 0; j--) in MultprecModulo() 672 u64 = ((uint64_t)u_n << 32) | GET_WORD(&u_shft[(uint32_t)j + N_wordlen - 1U]); in MultprecModulo() 747 … ((1ULL << 32) * r_hat) + (uint64_t)GET_WORD(&u_shft[(uint32_t)j + N_wordlen - 2U])) in MultprecModulo() 768 if (GET_WORD(&u_shft[i + (unsigned)j]) < (unsigned)u64) in MultprecModulo() [all …]
|
D | fsl_hashcrypt.c | 273 for (uint32_t j = 0; j < size / 4U; j++) in hashcrypt_load_data() local 275 base->ALIAS[j] = in[j + 1U]; in hashcrypt_load_data()
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_casper.c | 599 uint32_t i, j; in MultprecMultiply() local 616 for (j = 2U; j < N_wordlen; j += 2U) in MultprecMultiply() 620 if (0U != (GET_WORD(&v[j])) || 0U != (GET_WORD(&v[j + 1U]))) in MultprecMultiply() 622 Accel_SetABCD_Addr(CA_MK_OFF(&v[j]), CA_MK_OFF(u)); in MultprecMultiply() 624 …ccel_IterOpcodeResaddr(N_wordlen / 2U - 1U, (uint32_t)kCASPER_OpMul6464Sum, CA_MK_OFF(&w_out[j]))); in MultprecMultiply() 644 int j, tmp; in MultprecModulo() local 666 for (j = top; j >= 0; j--) in MultprecModulo() 672 u64 = ((uint64_t)u_n << 32) | GET_WORD(&u_shft[(uint32_t)j + N_wordlen - 1U]); in MultprecModulo() 747 … ((1ULL << 32) * r_hat) + (uint64_t)GET_WORD(&u_shft[(uint32_t)j + N_wordlen - 2U])) in MultprecModulo() 768 if (GET_WORD(&u_shft[i + (unsigned)j]) < (unsigned)u64) in MultprecModulo() [all …]
|
D | fsl_hashcrypt.c | 273 for (uint32_t j = 0; j < size / 4U; j++) in hashcrypt_load_data() local 275 base->ALIAS[j] = in[j + 1U]; in hashcrypt_load_data()
|