/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/sai/ |
D | fsl_sai_sdma.c | 270 if (format->channelNums == 0U) in SAI_TransferTxSetFormatSDMA() 272 format->channelNums = 1U; in SAI_TransferTxSetFormatSDMA() 274 handle->channelNums = format->channelNums; in SAI_TransferTxSetFormatSDMA() 276 if (format->channelNums > 1U) in SAI_TransferTxSetFormatSDMA() 279 … handle->fifoOffset = ((format->endChannel - format->channel) * 4U) / (format->channelNums - 1U); in SAI_TransferTxSetFormatSDMA() 288 …t)FSL_FEATURE_SAI_FIFO_COUNTn(base) - (uint32_t)format->watermark) * (uint32_t)format->channelNums; in SAI_TransferTxSetFormatSDMA() 290 handle->count = 1U * format->channelNums; in SAI_TransferTxSetFormatSDMA() 316 if (saiConfig->channelNums == 0U) in SAI_TransferTxSetConfigSDMA() 318 saiConfig->channelNums = 1U; in SAI_TransferTxSetConfigSDMA() 320 handle->channelNums = saiConfig->channelNums; in SAI_TransferTxSetConfigSDMA() [all …]
|
D | fsl_sai_edma.c | 332 (saiConfig->channelNums <= 1U) || in SAI_TransferTxSetConfigEDMA() 333 …((saiConfig->channelNums > 1U) && ((saiConfig->fifo.fifoCombine == kSAI_FifoCombineModeEnabledOnWr… in SAI_TransferTxSetConfigEDMA() 349 handle->channelNums = saiConfig->channelNums; in SAI_TransferTxSetConfigEDMA() 439 (saiConfig->channelNums <= 1U) || in SAI_TransferRxSetConfigEDMA() 440 …((saiConfig->channelNums > 1U) && ((saiConfig->fifo.fifoCombine == kSAI_FifoCombineModeEnabledOnRe… in SAI_TransferRxSetConfigEDMA() 457 handle->channelNums = saiConfig->channelNums; in SAI_TransferRxSetConfigEDMA() 515 if (handle->channelNums > 1U) in SAI_TransferSendEDMA() 535 if (handle->channelNums > 1U) in SAI_TransferSendEDMA() 537 if ((handle->channelNums % 2U) != 0U) in SAI_TransferSendEDMA() 543 SAI_CHANNEL_MAP_MODULO(handle->channelNums)); in SAI_TransferSendEDMA() [all …]
|
D | fsl_sai.c | 1438 uint8_t channelNums = 0U; in SAI_ComputeChannelConfig() local 1451 channelNums++; in SAI_ComputeChannelConfig() 1465 config->channelNums = channelNums; in SAI_ComputeChannelConfig() 1497 if (config->channelNums > 1U) in SAI_TxSetConfig() 1563 assert(config->channelNums <= (uint32_t)FSL_FEATURE_SAI_CHANNEL_COUNTn(base)); in SAI_TransferTxSetConfig() 1581 handle->channelNums = config->channelNums; in SAI_TransferTxSetConfig() 1613 if (config->channelNums > 1U) in SAI_RxSetConfig() 1697 handle->channelNums = config->channelNums; in SAI_TransferRxSetConfig() 1869 uint8_t i = 0U, channelNums = 0U; in SAI_TxSetFormat() local 1956 channelNums++; in SAI_TxSetFormat() [all …]
|
D | fsl_sai.h | 316 uint8_t channelNums; /*!< Total enabled channel numbers */ member 433 uint8_t channelNums; /*!< Total enabled channel numbers */ member 469 uint8_t channelNums; /*!< Total enabled channel numbers */ member
|
D | fsl_sai_sdma.h | 40 uint8_t channelNums; /*!< total transfer channel numbers, used for multififo */ member
|
D | fsl_sai_edma.h | 41 uint8_t channelNums; /*!< total enabled channel nums */ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/pdm/ |
D | fsl_pdm.c | 96 …PDM_Type *base, uint32_t startChannel, uint32_t channelNums, void *buffer, size_t size, uint32_t d… in PDM_ReadFifo() argument 103 for (j = 0; j < channelNums; j++) in PDM_ReadFifo() 126 void PDM_ReadNonBlocking(PDM_Type *base, uint32_t startChannel, uint32_t channelNums, int16_t *buff… in PDM_ReadNonBlocking() argument 132 for (j = 0; j < channelNums; j++) in PDM_ReadNonBlocking() 478 if (handle->channelNums == 0U) in PDM_TransferSetChannelConfig() 483 handle->channelNums++; in PDM_TransferSetChannelConfig() 485 if (handle->channelNums > (uint8_t)FSL_FEATURE_PDM_CHANNEL_NUM) in PDM_TransferSetChannelConfig() 639 if (((base->STAT & 0xFFU) != 0U) && (handle->channelNums != 0U) && in PDM_TransferHandleIRQ() 645 … ((uint32_t)handle->watermark * handle->channelNums * handle->format)); in PDM_TransferHandleIRQ() 647 PDM_ReadFifo(base, handle->startChannel, handle->channelNums, in PDM_TransferHandleIRQ() [all …]
|
D | fsl_pdm_sdma.c | 136 handle->channelNums++; in PDM_SetChannelConfigSDMA() 138 handle->count = (uint8_t)(handle->channelNums * (base->FIFO_CTRL & PDM_FIFO_CTRL_FIFOWMK_MASK)); in PDM_SetChannelConfigSDMA() 161 …etDataRegisterAddress(base, ((uint32_t)handle->endChannel - ((uint32_t)handle->channelNums - 1U))); in PDM_TransferReceiveSDMA() 186 SDMA_SetMultiFifoConfig(&config, handle->channelNums, in PDM_TransferReceiveSDMA()
|
D | fsl_pdm_edma.c | 208 handle->channelNums++; in PDM_TransferSetChannelConfigEDMA() 283 …dr = PDM_GetDataRegisterAddress(base, handle->endChannel - (handle->channelNums - 1UL)); in PDM_TransferReceiveEDMA() 286 uint32_t mappedChannel = handle->channelNums; in PDM_TransferReceiveEDMA()
|
D | fsl_pdm.h | 386 uint8_t channelNums; /*!< Enabled channel number */ member 792 void PDM_ReadNonBlocking(PDM_Type *base, uint32_t startChannel, uint32_t channelNums, int16_t *buff… 807 …PDM_Type *base, uint32_t startChannel, uint32_t channelNums, void *buffer, size_t size, uint32_t d…
|
D | fsl_pdm_sdma.h | 42 uint8_t channelNums; /*!< total channel numbers */ member
|
D | fsl_pdm_edma.h | 79 uint8_t channelNums; /*!< total channel numbers */ member
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/easrc/ |
D | fsl_asrc.c | 91 uint32_t channelNums, 268 uint32_t channelNums, in ASRC_EnableContextSlot() argument 272 assert(channelNums <= ASRC_SUPPORT_CONTEXT_PROCESSOR_MAXIMUM_CHANNEL_NUMBER); in ASRC_EnableContextSlot() 278 ASRC_PROC_CTRL_SLOT0_R0_SLOT0_NUM_CH(channelNums - 1U) | in ASRC_EnableContextSlot() 280 ASRC_PROC_CTRL_SLOT0_R0_SLOT0_MAX_CH(startChannel + channelNums - 1U); in ASRC_EnableContextSlot() 286 ASRC_PROC_CTRL_SLOT1_R0_SLOT1_NUM_CH(channelNums - 1U) | in ASRC_EnableContextSlot() 288 ASRC_PROC_CTRL_SLOT1_R0_SLOT1_MAX_CH(startChannel + channelNums - 1U); in ASRC_EnableContextSlot()
|