Home
last modified time | relevance | path

Searched refs:dma_enabled (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.4.0/components/driver/
Dspi_slave.c62 bool dma_enabled; member
141 spihost[host]->dma_enabled = use_dma; in spi_slave_initialize()
242 if (spihost[host]->dma_enabled) { in spi_slave_initialize()
259 if (spihost[host]->dma_enabled) { in spi_slave_free()
281 …SPI_CHECK(spihost[host]->dma_enabled == 0 || trans_desc->tx_buffer==NULL || esp_ptr_dma_capable(tr… in spi_slave_queue_trans()
283 SPI_CHECK(spihost[host]->dma_enabled == 0 || trans_desc->rx_buffer==NULL || in spi_slave_queue_trans()
339 bool use_dma = host->dma_enabled; in spi_intr()
Dspi_master.c232 .dma_enabled = bus_attr->dma_enabled, in spi_master_init_driver()
607 if (bus_attr->dma_enabled) { in spi_intr()
660 … if (bus_attr->dma_enabled && (cur_trans_buf->buffer_to_rcv || cur_trans_buf->buffer_to_send)) { in spi_intr()
701 …SPI_CHECK(!is_half_duplex || !bus_attr->dma_enabled || !rx_enabled || !tx_enabled, "SPI half duple… in check_trans_valid()
802 ret = setup_priv_desc(trans_desc, &trans_buf, (host->bus_attr->dma_enabled)); in spi_device_queue_trans()
891 if (host->bus_attr->dma_enabled) { in spi_device_acquire_bus()
908 if (host->bus_attr->dma_enabled) { in spi_device_release_bus()
951 ret = setup_priv_desc(trans_desc, &host->cur_trans_buf, (host->bus_attr->dma_enabled)); in spi_device_polling_start()
Dspi_slave_hd.c26 bool dma_enabled; member
89 host->dma_enabled = (config->dma_chan != SPI_DMA_DISABLED); in spi_slave_hd_init()
91 if (host->dma_enabled) { in spi_slave_hd_init()
111 .dma_enabled = host->dma_enabled, in spi_slave_hd_init()
120 if (host->dma_enabled) { in spi_slave_hd_init()
243 if (host->dma_enabled) { in spi_slave_hd_deinit()
Dspi_common.c784 bus_attr->dma_enabled = 1; in spi_bus_initialize()
805 bus_attr->dma_enabled = 0; in spi_bus_initialize()
846 if (bus_attr->dma_enabled) { in spi_bus_initialize()
883 if (bus_attr->dma_enabled > 0) { in spi_bus_free()
/hal_espressif-3.4.0/components/hal/
Dspi_hal_iram.c147 if (!hal->dma_enabled) { in spi_hal_prepare_data()
163 if (hal->dma_enabled && !dev->half_duplex) { in spi_hal_prepare_data()
171 if (!hal->dma_enabled) { in spi_hal_prepare_data()
208 if (trans->rcv_buffer && !hal->dma_enabled) { in spi_hal_fetch_result()
Dspi_hal.c56 hal->dma_enabled = config->dma_enabled; in spi_hal_init()
Dspi_slave_hd_hal.c69 hal->dma_enabled = hal_config->dma_enabled; in spi_slave_hd_hal_init()
89 spi_ll_slave_set_mode(hw, hal_config->mode, (hal_config->dma_enabled)); in spi_slave_hd_hal_init()
/hal_espressif-3.4.0/components/hal/include/hal/
Dspi_hal.h76 …bool dma_enabled; ///< Whether the DMA is enabled, do not update after initializ… member
126 …bool dma_enabled; ///< Whether the DMA is enabled, do not update after initializ… member
Dspi_slave_hd_hal.h73 bool dma_enabled; ///< DMA enabled or not member
99 bool dma_enabled; ///< DMA enabled or not member
/hal_espressif-3.4.0/components/driver/include/driver/
Dspi_common_internal.h60 bool dma_enabled; ///< To enable DMA or not member