Searched refs:dmadesc_tx (Results 1 – 12 of 12) sorted by relevance
/device/soc/esp/esp32/components/hal/include/hal/ |
D | spi_hal.h | 76 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
|
D | spi_slave_hal.h | 54 lldesc_t *dmadesc_tx; /**< Array of DMA descriptor used by the RX DMA. member
|
D | spi_slave_hd_hal.h | 92 spi_slave_hd_hal_desc_append_t *dmadesc_tx; ///< Head of the TX DMA descriptors. member
|
/device/soc/esp/esp32/components/hal/ |
D | spi_slave_hd_hal.c | 73 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()
|
D | spi_slave_hal_iram.c | 65 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()
|
D | spi_hal.c | 56 hal->dmadesc_tx = config->dmadesc_tx; in spi_hal_init()
|
D | spi_hal_iram.c | 170 … 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/ |
D | spi_slave.c | 216 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()
|
D | spi_common.c | 669 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()
|
D | spi_slave_hd.c | 131 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()
|
D | spi_master.c | 241 .dmadesc_tx = bus_attr->dmadesc_tx, in spi_master_init_driver()
|
/device/soc/esp/esp32/components/driver/include/driver/ |
D | spi_common_internal.h | 71 lldesc_t *dmadesc_tx; ///< DMA descriptor array for TX member
|