Home
last modified time | relevance | path

Searched refs:dmadesc_tx (Results 1 – 12 of 12) sorted by relevance

/device/soc/esp/esp32/components/hal/include/hal/
Dspi_hal.h76 lldesc_t *dmadesc_tx; /**< Array of DMA descriptor used by the TX DMA. member
111 lldesc_t *dmadesc_tx; /**< Array of DMA descriptor used by the TX DMA. member
Dspi_slave_hal.h54 lldesc_t *dmadesc_tx; /**< Array of DMA descriptor used by the RX DMA. member
Dspi_slave_hd_hal.h92 spi_slave_hd_hal_desc_append_t *dmadesc_tx; ///< Head of the TX DMA descriptors. member
/device/soc/esp/esp32/components/hal/
Dspi_slave_hd_hal.c73 hal->tx_cur_desc = hal->dmadesc_tx; in spi_slave_hd_hal_init()
74 STAILQ_NEXT(&hal->tx_dummy_head.desc, qe) = &hal->dmadesc_tx->desc; in spi_slave_hd_hal_init()
159 lldesc_setup_link(&hal->dmadesc_tx->desc, data, len, false); in spi_slave_hd_hal_txdma()
168 spi_dma_ll_tx_start(hal->dma_out, hal->tx_dma_chan, &hal->dmadesc_tx->desc); in spi_slave_hd_hal_txdma()
362 if (hal->tx_cur_desc == hal->dmadesc_tx + hal->dma_desc_num) { in spi_slave_hd_hal_txdma_append()
363 hal->tx_cur_desc = hal->dmadesc_tx; in spi_slave_hd_hal_txdma_append()
Dspi_slave_hal_iram.c65 lldesc_setup_link(hal->dmadesc_tx, hal->tx_buffer, (hal->bitlen + 7) / 8, false); in spi_slave_hal_prepare_data()
73 spi_dma_ll_tx_start(hal->dma_out, hal->tx_dma_chan, (&hal->dmadesc_tx[0])); in spi_slave_hal_prepare_data()
Dspi_hal.c56 hal->dmadesc_tx = config->dmadesc_tx; in spi_hal_init()
Dspi_hal_iram.c170 … lldesc_setup_link(hal->dmadesc_tx, trans->send_buffer, (trans->tx_bitlen + 7) / 8, false); in spi_hal_prepare_data()
175 spi_dma_ll_tx_start(hal->dma_out, hal->tx_dma_chan, hal->dmadesc_tx); in spi_hal_prepare_data()
/device/soc/esp/esp32/components/driver/
Dspi_slave.c216 hal->dmadesc_tx = heap_caps_malloc(sizeof(lldesc_t) * dma_desc_ct, MALLOC_CAP_DMA); in spi_slave_initialize()
218 if (!hal->dmadesc_tx || !hal->dmadesc_rx) { in spi_slave_initialize()
239 free(spihost[host]->hal.dmadesc_tx); in spi_slave_initialize()
269 free(spihost[host]->hal.dmadesc_tx); in spi_slave_free()
Dspi_common.c669 bus_attr->dmadesc_tx = heap_caps_malloc(sizeof(lldesc_t) * dma_desc_ct, MALLOC_CAP_DMA); in spi_bus_initialize()
671 if (bus_attr->dmadesc_tx == NULL || bus_attr->dmadesc_rx == NULL) { in spi_bus_initialize()
714 free(bus_attr->dmadesc_tx); in spi_bus_initialize()
716 bus_attr->dmadesc_tx = NULL; in spi_bus_initialize()
752 free(bus_attr->dmadesc_tx); in spi_bus_free()
753 bus_attr->dmadesc_tx = NULL; in spi_bus_free()
Dspi_slave_hd.c131 host->hal.dmadesc_tx = heap_caps_malloc(total_desc_size, MALLOC_CAP_DMA); in spi_slave_hd_init()
133 if (!host->hal.dmadesc_tx || !host->hal.dmadesc_rx) { in spi_slave_hd_init()
238 free(host->hal.dmadesc_tx); in spi_slave_hd_deinit()
Dspi_master.c241 .dmadesc_tx = bus_attr->dmadesc_tx, in spi_master_init_driver()
/device/soc/esp/esp32/components/driver/include/driver/
Dspi_common_internal.h71 lldesc_t *dmadesc_tx; ///< DMA descriptor array for TX member