Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_esp32_spim.c182 gdma_ll_tx_reset_channel(data->hal_gdma.dev, cfg->dma_host); in spi_esp32_init_dma()
183 gdma_ll_rx_reset_channel(data->hal_gdma.dev, cfg->dma_host); in spi_esp32_init_dma()
184 gdma_ll_tx_connect_to_periph(data->hal_gdma.dev, cfg->dma_host, GDMA_TRIG_PERIPH_SPI, in spi_esp32_init_dma()
185 cfg->dma_host); in spi_esp32_init_dma()
186 gdma_ll_rx_connect_to_periph(data->hal_gdma.dev, cfg->dma_host, GDMA_TRIG_PERIPH_SPI, in spi_esp32_init_dma()
187 cfg->dma_host); in spi_esp32_init_dma()
194 DPORT_SET_PERI_REG_BITS(DPORT_SPI_DMA_CHAN_SEL_REG, 3, cfg->dma_host + 1, in spi_esp32_init_dma()
195 ((cfg->dma_host + 1) * 2)); in spi_esp32_init_dma()
201 data->hal_config.tx_dma_chan = cfg->dma_host + channel_offset; in spi_esp32_init_dma()
202 data->hal_config.rx_dma_chan = cfg->dma_host + channel_offset; in spi_esp32_init_dma()
[all …]
Dspi_esp32_spim.h40 int dma_host; member