Lines Matching refs:channelMask
106 uint32_t channelMask,
125 uint32_t channelMask,
279 uint32_t channelMask, in SAI_WriteNonBlocking() argument
295 if (IS_SAI_FLAG_SET((1UL << j), channelMask)) in SAI_WriteNonBlocking()
312 uint32_t channelMask, in SAI_ReadNonBlocking() argument
327 if (IS_SAI_FLAG_SET((1UL << j), channelMask)) in SAI_ReadNonBlocking()
350 config->channelMask = (uint8_t)saiChannelMask; in SAI_GetCommonConfig()
1442 if (config->channelMask == 0U) in SAI_TxSetConfig()
1444 config->channelMask = 1U << config->startChannel; in SAI_TxSetConfig()
1449 if (IS_SAI_FLAG_SET(1UL << i, config->channelMask)) in SAI_TxSetConfig()
1458 if (IS_SAI_FLAG_SET((1UL << i), config->channelMask)) in SAI_TxSetConfig()
1476 base->TCR3 |= I2S_TCR3_TCE(config->channelMask); in SAI_TxSetConfig()
1551 handle->channelMask = config->channelMask; in SAI_TransferTxSetConfig()
1576 if (config->channelMask == 0U) in SAI_RxSetConfig()
1578 config->channelMask = 1U << config->startChannel; in SAI_RxSetConfig()
1583 if (IS_SAI_FLAG_SET((1UL << i), config->channelMask)) in SAI_RxSetConfig()
1592 if (IS_SAI_FLAG_SET((1UL << i), config->channelMask)) in SAI_RxSetConfig()
1610 base->RCR3 |= I2S_RCR3_RCE(config->channelMask); in SAI_RxSetConfig()
1685 handle->channelMask = config->channelMask; in SAI_TransferRxSetConfig()
1935 if (format->channelMask == 0U) in SAI_TxSetFormat()
1937 format->channelMask = 1U << format->channel; in SAI_TxSetFormat()
1943 if (IS_SAI_FLAG_SET((1UL << i), format->channelMask)) in SAI_TxSetFormat()
1952 if (IS_SAI_FLAG_SET((1UL << i), format->channelMask)) in SAI_TxSetFormat()
1970 base->TCR3 |= I2S_TCR3_TCE(format->channelMask); in SAI_TxSetFormat()
2077 if (format->channelMask == 0U) in SAI_RxSetFormat()
2079 format->channelMask = 1U << format->channel; in SAI_RxSetFormat()
2085 if (IS_SAI_FLAG_SET((1UL << i), format->channelMask)) in SAI_RxSetFormat()
2094 if (IS_SAI_FLAG_SET((1UL << i), format->channelMask)) in SAI_RxSetFormat()
2114 base->RCR3 |= I2S_RCR3_RCE(format->channelMask); in SAI_RxSetFormat()
2172 …I2S_Type *base, uint32_t channel, uint32_t channelMask, uint32_t bitWidth, uint8_t *buffer, uint32… in SAI_WriteMultiChannelBlocking() argument
2186 if (IS_SAI_FLAG_SET((1UL << i), channelMask)) in SAI_WriteMultiChannelBlocking()
2202 SAI_WriteNonBlocking(base, channel, channelMask, endChannel, (uint8_t)bitWidth, buffer, in SAI_WriteMultiChannelBlocking()
2227 …I2S_Type *base, uint32_t channel, uint32_t channelMask, uint32_t bitWidth, uint8_t *buffer, uint32… in SAI_ReadMultiChannelBlocking() argument
2239 if (IS_SAI_FLAG_SET((1UL << i), channelMask)) in SAI_ReadMultiChannelBlocking()
2255 SAI_ReadNonBlocking(base, channel, channelMask, endChannel, (uint8_t)bitWidth, buffer, in SAI_ReadMultiChannelBlocking()
2399 handle->channelMask = format->channelMask; in SAI_TransferTxSetFormat()
2449 handle->channelMask = format->channelMask; in SAI_TransferRxSetFormat()
2756 …SAI_WriteNonBlocking(base, handle->channel, handle->channelMask, handle->endChannel, handle->bitWi… in SAI_TransferTxHandleIRQ()
2768 …SAI_WriteNonBlocking(base, handle->channel, handle->channelMask, handle->endChannel, handle->bitWi… in SAI_TransferTxHandleIRQ()
2832 …SAI_ReadNonBlocking(base, handle->channel, handle->channelMask, handle->endChannel, handle->bitWid… in SAI_TransferRxHandleIRQ()
2844 …SAI_ReadNonBlocking(base, handle->channel, handle->channelMask, handle->endChannel, handle->bitWid… in SAI_TransferRxHandleIRQ()