/Zephyr-Core-3.4.0/drivers/spi/ |
D | spi_mcux_flexcomm.c | 174 uint32_t word_size; in spi_mcux_configure() local 186 word_size = SPI_WORD_SIZE_GET(spi_cfg->operation); in spi_mcux_configure() 187 if (word_size > SPI_MAX_DATA_WIDTH) { in spi_mcux_configure() 189 word_size, SPI_MAX_DATA_WIDTH); in spi_mcux_configure() 221 master_config.dataWidth = word_size - 1; in spi_mcux_configure() 281 slave_config.dataWidth = word_size - 1; in spi_mcux_configure() 334 uint32_t word_size; in spi_mcux_prepare_txlastword() local 336 word_size = SPI_WORD_SIZE_GET(spi_cfg->operation); in spi_mcux_prepare_txlastword() 338 if (word_size > 8) { in spi_mcux_prepare_txlastword() 351 *txLastWord |= SPI_FIFOWR_LEN(word_size - 1); in spi_mcux_prepare_txlastword() [all …]
|
D | spi_rv32m1_lpspi.c | 139 uint32_t word_size; in spi_mcux_configure() local 160 word_size = SPI_WORD_SIZE_GET(spi_cfg->operation); in spi_mcux_configure() 161 if (word_size > MAX_DATA_WIDTH) { in spi_mcux_configure() 163 word_size, MAX_DATA_WIDTH); in spi_mcux_configure() 167 master_config.bitsPerFrame = word_size; in spi_mcux_configure()
|
D | spi_psoc6.c | 212 uint32_t word_size; in spi_psoc6_configure() local 224 word_size = SPI_WORD_SIZE_GET(spi_cfg->operation); in spi_psoc6_configure() 225 if (word_size > SPI_MAX_DATA_WIDTH) { in spi_psoc6_configure() 227 word_size, SPI_MAX_DATA_WIDTH); in spi_psoc6_configure() 240 data->cfg.rxDataWidth = data->cfg.txDataWidth = word_size; in spi_psoc6_configure()
|
D | spi_xlnx_axi_quadspi.c | 142 uint32_t word_size; in xlnx_quadspi_configure() local 176 word_size = SPI_WORD_SIZE_GET(spi_cfg->operation); in xlnx_quadspi_configure() 177 if (word_size != (config->num_xfer_bytes * 8)) { in xlnx_quadspi_configure() 179 word_size, config->num_xfer_bytes); in xlnx_quadspi_configure()
|
D | spi_mcux_lpspi.c | 164 uint32_t word_size; in spi_mcux_configure() local 185 word_size = SPI_WORD_SIZE_GET(spi_cfg->operation); in spi_mcux_configure() 186 if (word_size > MAX_DATA_WIDTH) { in spi_mcux_configure() 188 word_size, MAX_DATA_WIDTH); in spi_mcux_configure() 192 master_config.bitsPerFrame = word_size; in spi_mcux_configure()
|
D | spi_mcux_dspi.c | 572 uint32_t word_size; in spi_mcux_configure() local 606 word_size = SPI_WORD_SIZE_GET(spi_cfg->operation); in spi_mcux_configure() 607 if (word_size > FSL_FEATURE_DSPI_MAX_DATA_WIDTH) { in spi_mcux_configure() 609 word_size, FSL_FEATURE_DSPI_MAX_DATA_WIDTH); in spi_mcux_configure() 613 ctar_config->bitsPerFrame = word_size; in spi_mcux_configure() 655 data->frame_size = word_size; in spi_mcux_configure()
|
/Zephyr-Core-3.4.0/drivers/i2s/ |
D | i2s_litex.c | 369 (cfg->fifo_depth * (i2s_cfg->word_size / 8)) / channel_div; in i2s_litex_configure() 387 if (i2s_cfg->word_size != 8U && i2s_cfg->word_size != 16U && in i2s_litex_configure() 388 i2s_cfg->word_size != 24U && i2s_cfg->word_size != 32U && in i2s_litex_configure() 389 i2s_cfg->word_size != dev_sample_width) { in i2s_litex_configure() 415 if (i2s_cfg->word_size != 16) { in i2s_litex_configure() 554 stream->cfg.word_size, stream->cfg.channels); in i2s_litex_isr_rx() 588 stream->cfg.word_size, stream->cfg.channels); in i2s_litex_isr_tx()
|
D | i2s_ll_stm32.c | 176 const uint32_t channel_length = i2s_cfg->word_size > 16U ? 32U : 16U; in i2s_stm32_configure() 254 if (i2s_cfg->word_size == 16U) { in i2s_stm32_configure() 256 } else if (i2s_cfg->word_size == 24U) { in i2s_stm32_configure() 258 } else if (i2s_cfg->word_size == 32U) { in i2s_stm32_configure()
|
D | i2s_mcux_sai.c | 473 uint8_t word_size_bits = i2s_cfg->word_size; in i2s_mcux_config() 683 i2s_cfg->word_size / 8; in i2s_mcux_config() 685 i2s_cfg->word_size / 8; in i2s_mcux_config() 714 i2s_cfg->word_size / 8; in i2s_mcux_config() 716 i2s_cfg->word_size / 8; in i2s_mcux_config()
|
D | i2s_nrfx.c | 86 uint32_t bits_per_frame = 2 * i2s_cfg->word_size; in find_suitable_clock() 434 switch (i2s_cfg->word_size) { in i2s_nrfx_configure() 450 LOG_ERR("Unsupported word size: %u", i2s_cfg->word_size); in i2s_nrfx_configure()
|
D | i2s_mcux_flexcomm.c | 71 fsl_cfg->dataLength = i2s_cfg->word_size; in i2s_mcux_flexcomm_cfg_convert() 72 fsl_cfg->frameLength = i2s_cfg->channels * i2s_cfg->word_size; in i2s_mcux_flexcomm_cfg_convert() 217 if (i2s_cfg->word_size <= 8) { in i2s_mcux_configure()
|
D | i2s_sam_ssc.c | 331 uint8_t word_size_bits = i2s_cfg->word_size; in set_rx_data_format() 422 uint8_t word_size_bits = i2s_cfg->word_size; in set_tx_data_format() 556 uint8_t word_size_bits = i2s_cfg->word_size; in i2s_sam_configure()
|
/Zephyr-Core-3.4.0/samples/boards/litex/i2s/src/ |
D | main.c | 46 i2s_rx_cfg.word_size = AUDIO_SAMPLE_BIT_WIDTH; in init() 71 i2s_tx_cfg.word_size = AUDIO_SAMPLE_BIT_WIDTH; in init()
|
/Zephyr-Core-3.4.0/drivers/audio/ |
D | tlv320dac310x.c | 234 switch (cfg->i2s.word_size) { in codec_configure_dai() 249 cfg->i2s.word_size); in codec_configure_dai() 321 bclk_div = osr * mdac / (i2s->word_size * 2U); /* stereo */ in codec_configure_clocks() 322 if ((bclk_div * i2s->word_size * 2) != (osr * mdac)) { in codec_configure_clocks() 324 i2s->frame_clk_freq * i2s->word_size * 2U, in codec_configure_clocks()
|
D | mpxxdtyy-i2s.c | 127 i2s_cfg.word_size = chan_size; in mpxxdtyy_i2s_configure()
|
/Zephyr-Core-3.4.0/drivers/dai/intel/hda/ |
D | hda.c | 56 params->word_size = DAI_INTEL_HDA_DEFAULT_WORD_SIZE; in dai_hda_config_get()
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/ |
D | i2s.h | 302 uint8_t word_size; member
|
D | dai.h | 212 uint8_t word_size; member
|
/Zephyr-Core-3.4.0/tests/drivers/i2s/i2s_api/src/ |
D | common.c | 161 i2s_cfg.word_size = 16U; in configure_stream()
|
/Zephyr-Core-3.4.0/drivers/dai/intel/alh/ |
D | alh.c | 116 params->word_size = ALH_WORD_SIZE_DEFAULT; in dai_alh_config_get()
|
/Zephyr-Core-3.4.0/samples/drivers/i2s/echo/src/ |
D | main.c | 275 config.word_size = SAMPLE_BIT_WIDTH; in main()
|
/Zephyr-Core-3.4.0/drivers/led_strip/ |
D | ws2812_i2s.c | 185 config.word_size = 16; in ws2812_i2s_init()
|
/Zephyr-Core-3.4.0/drivers/dai/intel/dmic/ |
D | dmic_nhlt.c | 72 dmic->dai_config_params.word_size = 16; in dai_nhlt_dmic_dai_params_get() 76 dmic->dai_config_params.word_size = 32; in dai_nhlt_dmic_dai_params_get()
|
/Zephyr-Core-3.4.0/tests/boards/intel_adsp/ssp/src/ |
D | main.c | 364 config.word_size = 0; in ZTEST()
|
/Zephyr-Core-3.4.0/tests/drivers/i2s/i2s_speed/src/ |
D | test_i2s_speed.c | 135 i2s_cfg.word_size = 16U; in configure_stream()
|