Searched refs:dma_enabled (Results 1 – 10 of 10) sorted by relevance
/hal_espressif-3.4.0/components/driver/ |
D | spi_slave.c | 62 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()
|
D | spi_master.c | 232 .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()
|
D | spi_slave_hd.c | 26 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()
|
D | spi_common.c | 784 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/ |
D | spi_hal_iram.c | 147 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()
|
D | spi_hal.c | 56 hal->dma_enabled = config->dma_enabled; in spi_hal_init()
|
D | spi_slave_hd_hal.c | 69 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/ |
D | spi_hal.h | 76 …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
|
D | spi_slave_hd_hal.h | 73 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/ |
D | spi_common_internal.h | 60 bool dma_enabled; ///< To enable DMA or not member
|