Home
last modified time | relevance | path

Searched refs:word_size_bits (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/i2s/
Di2s_sam_ssc.c331 uint8_t word_size_bits = i2s_cfg->word_size; in set_rx_data_format() local
342 fslen = word_size_bits - 1; in set_rx_data_format()
361 fslen = num_words * word_size_bits / 2U - 1; in set_rx_data_format()
371 fslen = num_words * word_size_bits / 2U - 1; in set_rx_data_format()
400 | SSC_RCMR_PERIOD((num_words * word_size_bits + 1) / 2U - 1); in set_rx_data_format()
405 ssc_rfmr |= SSC_RFMR_DATLEN(word_size_bits - 1) in set_rx_data_format()
422 uint8_t word_size_bits = i2s_cfg->word_size; in set_tx_data_format() local
432 fslen = word_size_bits - 1; in set_tx_data_format()
449 fslen = num_words * word_size_bits / 2U - 1; in set_tx_data_format()
459 fslen = num_words * word_size_bits / 2U - 1; in set_tx_data_format()
[all …]
Di2s_mcux_sai.c473 uint8_t word_size_bits = i2s_cfg->word_size; in i2s_mcux_config() local
501 if (word_size_bits < SAI_WORD_SIZE_BITS_MIN || in i2s_mcux_config()
502 word_size_bits > SAI_WORD_SIZE_BITS_MAX) { in i2s_mcux_config()
503 LOG_ERR("Unsupported I2S word size %u", word_size_bits); in i2s_mcux_config()
567 SAI_GetClassicI2SConfig(&config, word_size_bits, in i2s_mcux_config()
572 SAI_GetLeftJustifiedConfig(&config, word_size_bits, in i2s_mcux_config()
578 word_size_bits, kSAI_Stereo, in i2s_mcux_config()
589 word_size_bits, num_words, in i2s_mcux_config()
674 config.frameSync.frameSyncWidth = (uint8_t)word_size_bits; in i2s_mcux_config()
695 word_size_bits, in i2s_mcux_config()
[all …]