Home
last modified time | relevance | path

Searched refs:fifo_depth (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/drivers/i2s/
Di2s_litex.h37 #define I2S_RX_FIFO_DEPTH DT_PROP(DT_NODELABEL(i2s_rx), fifo_depth)
45 #define I2S_TX_FIFO_DEPTH DT_PROP(DT_NODELABEL(i2s_tx), fifo_depth)
98 uint16_t fifo_depth; member
Di2s_litex.c369 (cfg->fifo_depth * (i2s_cfg->word_size / 8)) / channel_div; in i2s_litex_configure()
618 .fifo_depth = DT_PROP(DT_NODELABEL(i2s_##dir), fifo_depth), \
/Zephyr-latest/drivers/serial/
Duart_renesas_ra_sci.c92 if (IS_ENABLED(CONFIG_UART_RA_SCI_UART_FIFO_ENABLE) && data->sci.fifo_depth > 0 in uart_ra_sci_poll_in()
100 *c = IS_ENABLED(CONFIG_UART_RA_SCI_UART_FIFO_ENABLE) && data->sci.fifo_depth > 0 in uart_ra_sci_poll_in()
113 if (data->sci.fifo_depth > 0) { in uart_ra_sci_poll_out()
133 if (data->sci.fifo_depth > 0) { in uart_ra_sci_err_check()
307 if (data->sci.fifo_depth != 0) { in uart_ra_sci_fifo_fill()
308 while ((size - num_tx > 0) && cfg->regs->FDR_b.T < data->sci.fifo_depth) { in uart_ra_sci_fifo_fill()
332 if (data->sci.fifo_depth != 0) { in uart_ra_sci_fifo_read()
356 if (data->sci.fifo_depth != 0) { in uart_ra_sci_irq_tx_enable()
381 if (data->sci.fifo_depth != 0) { in uart_ra_sci_irq_tx_ready()
406 if (data->sci.fifo_depth != 0) { in uart_ra_sci_irq_rx_enable()
[all …]
Duart_renesas_ra8_sci_b.c261 if (IS_ENABLED(CONFIG_UART_RA_SCI_B_UART_FIFO_ENABLE) && data->sci.fifo_depth > 0) { in uart_ra_sci_b_fifo_fill()
286 if (IS_ENABLED(CONFIG_UART_RA_SCI_B_UART_FIFO_ENABLE) && data->sci.fifo_depth > 0) { in uart_ra_sci_b_fifo_read()
/Zephyr-latest/drivers/spi/
Dspi_dw.c96 f_tx = info->fifo_depth - read_txflr(dev) - in push_data()
102 f_tx = info->fifo_depth - read_txflr(dev); in push_data()
175 if (!spi->ctx.rx_len && spi->ctx.tx_len < info->fifo_depth) { in pull_data()
317 uint32_t dw_spi_txftlr_dflt = (info->fifo_depth * 1) / 2; in spi_dw_update_txftlr()
344 uint32_t dw_spi_rxftlr_dflt = (info->fifo_depth * 5) / 8; in transceive()
418 if (spi->ctx.rx_len && spi->ctx.rx_len < info->fifo_depth) { in transceive()
648 .fifo_depth = DT_INST_PROP(inst, fifo_depth), \
Dspi_pw.c214 if (spi->ctx.rx_len && spi->ctx.rx_len < spi->fifo_depth) { in spi_pw_rx_thld_set()
415 fifo_len = spi->fifo_depth - in spi_pw_tx_data()
422 fifo_len = spi->fifo_depth - spi_pw_get_tx_fifo_level(dev); in spi_pw_tx_data()
493 if (!spi->ctx.rx_len && spi->ctx.tx_len < spi->fifo_depth) { in spi_pw_rx_data()
865 .fifo_depth = DT_INST_PROP(n, pw_fifo_depth), \
887 .fifo_depth = DT_INST_PROP(n, pw_fifo_depth), \
Dspi_pw.h221 uint8_t fifo_depth; member
Dspi_dw.h36 uint8_t fifo_depth; member
/Zephyr-latest/drivers/dai/intel/alh/
Dalh.c150 prop->fifo_depth = ALH_GPDMA_BURST_LENGTH; in dai_alh_get_properties()
217 .fifo_depth[DAI_DIR_PLAYBACK] = ALH_GPDMA_BURST_LENGTH, \
218 .fifo_depth[DAI_DIR_CAPTURE] = ALH_GPDMA_BURST_LENGTH, \
Dalh.h99 uint32_t fifo_depth[2]; member
/Zephyr-latest/drivers/i2c/
Di2c_andes_atciic100.c60 dev_data->fifo_depth = 2; in i2c_atciic100_default_control()
63 dev_data->fifo_depth = 4; in i2c_atciic100_default_control()
66 dev_data->fifo_depth = 8; in i2c_atciic100_default_control()
69 dev_data->fifo_depth = 16; in i2c_atciic100_default_control()
438 if (write_fifo_count >= dev_data->fifo_depth) { in i2c_controller_fifo_write()
439 write_fifo_count = dev_data->fifo_depth; in i2c_controller_fifo_write()
472 if (read_fifo_count >= dev_data->fifo_depth) { in i2c_controller_fifo_read()
473 read_fifo_count = dev_data->fifo_depth; in i2c_controller_fifo_read()
Di2c_andes_atciic100.h230 uint32_t fifo_depth; member
Di2c_dw.c89 void i2c_dw_set_fifo_th(const struct device *dev, uint8_t fifo_depth) in i2c_dw_set_fifo_th() argument
93 write_tdlr(fifo_depth, reg_base); in i2c_dw_set_fifo_th()
94 write_rdlr(fifo_depth - 1, reg_base); in i2c_dw_set_fifo_th()
/Zephyr-latest/include/zephyr/drivers/
Ddai.h239 uint32_t fifo_depth; member
/Zephyr-latest/dts/riscv/
Driscv32-litex-vexriscv.dtsi301 fifo_depth = <256>;
324 fifo_depth = <256>;
/Zephyr-latest/drivers/dai/nxp/esai/
Desai.c718 .fifo_depth = ESAI_FIFO_DEPTH(inst) * 4, \
724 .fifo_depth = ESAI_FIFO_DEPTH(inst) * 4, \
Desai.h38 DT_INST_PROP_OR(inst, fifo_depth, _ESAI_FIFO_DEPTH(inst))
/Zephyr-latest/drivers/dai/nxp/sai/
Dsai.c951 .fifo_depth = SAI_FIFO_DEPTH(inst) * CONFIG_SAI_FIFO_WORD_SIZE, \
957 .fifo_depth = SAI_FIFO_DEPTH(inst) * CONFIG_SAI_FIFO_WORD_SIZE, \
Dsai.h119 DT_INST_PROP_OR(inst, fifo_depth, _SAI_FIFO_DEPTH(inst))
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic.c705 prop->fifo_depth = dmic->fifo.depth; in dai_dmic_get_properties()