Searched refs:dma_stream (Results 1 – 5 of 5) sorted by relevance
| /Zephyr-latest/drivers/i3c/ |
| D | i3c_stm32.c | 1136 struct i3c_stm32_dma_stream *dma_stream; in i3c_stm32_dma_msg_config() local 1141 dma_stream = &(data->dma_rx); in i3c_stm32_dma_msg_config() 1142 dma_stream->blk_cfg.dest_address = buf_addr; in i3c_stm32_dma_msg_config() 1144 dma_stream = &(data->dma_tx); in i3c_stm32_dma_msg_config() 1145 dma_stream->blk_cfg.source_address = buf_addr; in i3c_stm32_dma_msg_config() 1150 dma_stream->blk_cfg.block_size = buf_len; in i3c_stm32_dma_msg_config() 1151 ret = dma_config(dma_stream->dma_dev, dma_stream->dma_channel, &dma_stream->dma_cfg); in i3c_stm32_dma_msg_config() 1158 if (dma_start(dma_stream->dma_dev, dma_stream->dma_channel)) { in i3c_stm32_dma_msg_config() 1389 struct i3c_stm32_dma_stream *dma_stream, uint64_t src_addr, in i3c_stm32_dma_stream_config() argument 1392 if (dma_stream->dma_dev != NULL) { in i3c_stm32_dma_stream_config() [all …]
|
| /Zephyr-latest/drivers/serial/ |
| D | uart_ifx_cat1.c | 499 struct ifx_cat1_dma_stream *dma_stream = tx ? &data->async.dma_tx : &data->async.dma_rx; in ifx_cat1_uart_async_dma_config_buffer() local 502 dma_stream->blk_cfg.block_size = dma_stream->buf_len; in ifx_cat1_uart_async_dma_config_buffer() 505 dma_stream->blk_cfg.source_address = (uint32_t)dma_stream->buf; in ifx_cat1_uart_async_dma_config_buffer() 507 dma_stream->blk_cfg.dest_address = (uint32_t)dma_stream->buf; in ifx_cat1_uart_async_dma_config_buffer() 510 ret = dma_config(dma_stream->dev, dma_stream->dma_channel, &dma_stream->dma_cfg); in ifx_cat1_uart_async_dma_config_buffer() 513 ret = dma_start(dma_stream->dev, dma_stream->dma_channel); in ifx_cat1_uart_async_dma_config_buffer()
|
| /Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/ |
| D | ec_host_cmd_backend_spi_stm32.c | 148 struct dma_stream { struct 170 struct dma_stream *dma_rx; argument 171 struct dma_stream *dma_tx; 219 static struct dma_stream dma_rx = {SPI_DMA_CHANNEL_INIT(id, rx, RX, PERIPHERAL, MEMORY)}; \ 220 static struct dma_stream dma_tx = {SPI_DMA_CHANNEL_INIT(id, tx, TX, MEMORY, PERIPHERAL)} 447 struct dma_stream *stream = hc_spi->dma_tx; in spi_config_dma_tx() 504 struct dma_stream *stream = hc_spi->dma_rx; in spi_config_dma_rx()
|
| /Zephyr-latest/drivers/flash/ |
| D | flash_stm32_xspi.c | 1936 static int flash_stm32_xspi_dma_init(DMA_HandleTypeDef *hdma, struct stream *dma_stream) in flash_stm32_xspi_dma_init() argument 1948 if (!device_is_ready(dma_stream->dev)) { in flash_stm32_xspi_dma_init() 1949 LOG_ERR("DMA %s device not ready", dma_stream->dev->name); in flash_stm32_xspi_dma_init() 1953 dma_stream->cfg.user_data = hdma; in flash_stm32_xspi_dma_init() 1955 dma_stream->cfg.linked_channel = STM32_DMA_HAL_OVERRIDE; in flash_stm32_xspi_dma_init() 1957 ret = dma_config(dma_stream->dev, in flash_stm32_xspi_dma_init() 1958 (dma_stream->channel + STM32_DMA_STREAM_OFFSET), &dma_stream->cfg); in flash_stm32_xspi_dma_init() 1961 dma_stream->channel + STM32_DMA_STREAM_OFFSET); in flash_stm32_xspi_dma_init() 1966 if (dma_stream->cfg.source_data_size != dma_stream->cfg.dest_data_size) { in flash_stm32_xspi_dma_init() 1973 hdma->Init.SrcInc = (dma_stream->src_addr_increment) in flash_stm32_xspi_dma_init() [all …]
|
| /Zephyr-latest/drivers/mipi_dbi/ |
| D | mipi_dbi_nxp_lcdic.c | 119 struct stream dma_stream; member 170 struct stream *stream = &data->dma_stream; in mipi_dbi_lcdic_start_dma() 750 INPUTMUX_AttachSignal(INPUTMUX, data->dma_stream.channel, in mipi_dbi_lcdic_init() 844 .dma_stream = { \
|