Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/spi/
Dspi_esp32_spim.c175 gdma_ll_tx_reset_channel(data->hal_gdma.dev, cfg->dma_host); in spi_esp32_init_dma()
176 gdma_ll_rx_reset_channel(data->hal_gdma.dev, cfg->dma_host); in spi_esp32_init_dma()
177 gdma_ll_tx_connect_to_periph(data->hal_gdma.dev, cfg->dma_host, cfg->dma_host); in spi_esp32_init_dma()
178 gdma_ll_rx_connect_to_periph(data->hal_gdma.dev, cfg->dma_host, cfg->dma_host); in spi_esp32_init_dma()
185 DPORT_SET_PERI_REG_BITS(DPORT_SPI_DMA_CHAN_SEL_REG, 3, cfg->dma_host + 1, in spi_esp32_init_dma()
186 ((cfg->dma_host + 1) * 2)); in spi_esp32_init_dma()
192 data->hal_config.tx_dma_chan = cfg->dma_host + channel_offset; in spi_esp32_init_dma()
193 data->hal_config.rx_dma_chan = cfg->dma_host + channel_offset; in spi_esp32_init_dma()
204 spi_hal_init(&data->hal, cfg->dma_host + 1, &data->hal_config); in spi_esp32_init_dma()
516 .dma_host = DT_INST_PROP(idx, dma_host), \
Dspi_esp32_spim.h38 int dma_host; member