Home
last modified time | relevance | path

Searched refs:use_dma (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/driver/
Dspi_slave.c140 bool use_dma = (dma_chan != SPI_DMA_DISABLED); in spi_slave_initialize() local
141 spihost[host]->dma_enabled = use_dma; in spi_slave_initialize()
142 if (use_dma) { in spi_slave_initialize()
159 if (use_dma) freeze_cs(spihost[host]); in spi_slave_initialize()
164 if (use_dma) { in spi_slave_initialize()
220 hal->use_dma = use_dma; in spi_slave_initialize()
339 bool use_dma = host->dma_enabled; in spi_intr() local
342 if (use_dma) freeze_cs(host); in spi_intr()
357 if (use_dma) { in spi_intr()
383 if (use_dma) { in spi_intr()
[all …]
/hal_espressif-3.6.0/components/hal/
Dspi_slave_hal_iram.c35 if (hal->use_dma) { in spi_slave_hal_prepare_data()
90 if (!hal->use_dma && hal->rx_buffer) { in spi_slave_hal_store_result()
105 if (hal->use_dma && hal->rx_buffer) { in spi_slave_hal_dma_need_reset()
Dspi_slave_hal.c48 spi_ll_slave_set_mode(hal->hw, hal->mode, hal->use_dma); in spi_slave_hal_setup_device()
/hal_espressif-3.6.0/components/hal/include/hal/
Dspi_slave_hal.h69 uint32_t use_dma : 1; member
/hal_espressif-3.6.0/components/driver/test/
Dtest_spi_master.c1310 static void speed_setup(spi_device_handle_t *spi, bool use_dma) in speed_setup() argument
1317 TEST_ESP_OK(spi_bus_initialize(TEST_SPI_HOST, &buscfg, (use_dma ? SPI_DMA_CH_AUTO : 0))); in speed_setup()
1365 const bool use_dma = true; variable
1372 speed_setup(&spi, use_dma);
1409 speed_setup(&spi, !use_dma);