Lines Matching refs:channelNums
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()
322 if (saiConfig->channelNums > 1U) in SAI_TransferTxSetConfigSDMA()
325 …oOffset = ((saiConfig->endChannel - saiConfig->startChannel) * 4U) / (saiConfig->channelNums - 1U); in SAI_TransferTxSetConfigSDMA()
334 (uint32_t)saiConfig->channelNums; in SAI_TransferTxSetConfigSDMA()
336 handle->count = 1U * saiConfig->channelNums; in SAI_TransferTxSetConfigSDMA()
380 if (format->channelNums == 0U) in SAI_TransferRxSetFormatSDMA()
382 format->channelNums = 1U; in SAI_TransferRxSetFormatSDMA()
385 handle->channelNums = format->channelNums; in SAI_TransferRxSetFormatSDMA()
388 if (format->channelNums > 1U) in SAI_TransferRxSetFormatSDMA()
391 … handle->fifoOffset = ((format->endChannel - format->channel) * 4U) / (format->channelNums - 1U); in SAI_TransferRxSetFormatSDMA()
401 handle->count = (uint32_t)format->watermark * (uint32_t)format->channelNums; in SAI_TransferRxSetFormatSDMA()
403 handle->count = 1U * format->channelNums; in SAI_TransferRxSetFormatSDMA()
427 if (saiConfig->channelNums == 0U) in SAI_TransferRxSetConfigSDMA()
429 saiConfig->channelNums = 1U; in SAI_TransferRxSetConfigSDMA()
432 handle->channelNums = saiConfig->channelNums; in SAI_TransferRxSetConfigSDMA()
435 if (saiConfig->channelNums > 1U) in SAI_TransferRxSetConfigSDMA()
438 …oOffset = ((saiConfig->endChannel - saiConfig->startChannel) * 4U) / (saiConfig->channelNums - 1U); in SAI_TransferRxSetConfigSDMA()
448 handle->count = (uint32_t)saiConfig->fifo.fifoWatermark * (uint32_t)saiConfig->channelNums; in SAI_TransferRxSetConfigSDMA()
450 handle->count = 1U * saiConfig->channelNums; in SAI_TransferRxSetConfigSDMA()
481 …if ((xfer->data == NULL) || (xfer->dataSize == 0U) || ((handle->channelNums > 1U) && (handle->fifo… in SAI_TransferSendSDMA()
482 ((handle->channelNums > 1U) && in SAI_TransferSendSDMA()
509 if (handle->channelNums > 1U) in SAI_TransferSendSDMA()
513 …SDMA_SetMultiFifoConfig(&config, handle->channelNums, (uint32_t)handle->fifoOffset / sizeof(uint32… in SAI_TransferSendSDMA()
581 …if ((xfer->data == NULL) || (xfer->dataSize == 0U) || ((handle->channelNums > 1U) && (handle->fifo… in SAI_TransferReceiveSDMA()
582 ((handle->channelNums > 1U) && in SAI_TransferReceiveSDMA()
609 if (handle->channelNums > 1U) in SAI_TransferReceiveSDMA()
613 …SDMA_SetMultiFifoConfig(&config, handle->channelNums, (uint32_t)handle->fifoOffset / sizeof(uint32… in SAI_TransferReceiveSDMA()