Home
last modified time | relevance | path

Searched refs:tx_dma_chan (Results 1 – 14 of 14) sorted by relevance

/hal_espressif-3.4.0/components/hal/
Dspi_slave_hd_hal.c56 spi_dma_ll_tx_enable_burst_data(hal->dma_out, hal->tx_dma_chan, 1); in s_spi_slave_hd_hal_dma_init_config()
58 spi_dma_ll_tx_enable_burst_desc(hal->dma_out, hal->tx_dma_chan, 1); in s_spi_slave_hd_hal_dma_init_config()
59 spi_dma_ll_enable_out_auto_wrback(hal->dma_out, hal->tx_dma_chan, 1); in s_spi_slave_hd_hal_dma_init_config()
60 spi_dma_ll_set_out_eof_generation(hal->dma_out, hal->tx_dma_chan, 1); in s_spi_slave_hd_hal_dma_init_config()
70 hal->tx_dma_chan = hal_config->tx_dma_chan; in spi_slave_hd_hal_init()
162 spi_dma_ll_tx_reset(hal->dma_out, hal->tx_dma_chan); 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()
271 …32_t)&hal->tx_dma_head->desc == spi_dma_ll_get_out_eof_desc_addr(hal->dma_out, hal->tx_dma_chan)) { in spi_slave_hd_hal_get_tx_finished_trans()
348 spi_dma_ll_tx_reset(hal->dma_out, hal->tx_dma_chan); in spi_slave_hd_hal_txdma_append()
350 spi_dma_ll_tx_start(hal->dma_out, hal->tx_dma_chan, &hal->tx_cur_desc->desc); in spi_slave_hd_hal_txdma_append()
[all …]
Dspi_hal.c44 spi_dma_ll_tx_enable_burst_data(hal->dma_out, hal->tx_dma_chan, 1); in s_spi_hal_dma_init_config()
46 spi_dma_ll_tx_enable_burst_desc(hal->dma_out, hal->tx_dma_chan ,1); in s_spi_hal_dma_init_config()
59 hal->tx_dma_chan = config->tx_dma_chan; in spi_hal_init()
Dspi_slave_hal.c21 spi_dma_ll_tx_enable_burst_data(hal->dma_out, hal->tx_dma_chan, 1); in s_spi_slave_hal_dma_init_config()
23 spi_dma_ll_tx_enable_burst_desc(hal->dma_out, hal->tx_dma_chan, 1); in s_spi_slave_hal_dma_init_config()
Dspi_slave_hal_iram.c53 spi_dma_ll_tx_reset(hal->dma_out, hal->tx_dma_chan); in spi_slave_hal_prepare_data()
59 spi_dma_ll_tx_start(hal->dma_out, hal->tx_dma_chan, (&hal->dmadesc_tx[0])); in spi_slave_hal_prepare_data()
Dspi_hal_iram.c177 spi_dma_ll_tx_reset(hal->dma_out, hal->tx_dma_chan); in spi_hal_prepare_data()
181 spi_dma_ll_tx_start(hal->dma_out, hal->tx_dma_chan, hal->dmadesc_tx); in spi_hal_prepare_data()
/hal_espressif-3.4.0/components/driver/
Dspi_slave.c63 uint32_t tx_dma_chan; member
162 spihost[host]->tx_dma_chan = actual_tx_dma_chan; in spi_slave_initialize()
221 hal->tx_dma_chan = actual_tx_dma_chan; in spi_slave_initialize()
349 … spicommon_dmaworkaround_req_reset(host->tx_dma_chan, spi_slave_restart_after_dmareset, host); in spi_intr()
359 spicommon_dmaworkaround_idle(host->tx_dma_chan); in spi_intr()
385 spicommon_dmaworkaround_transfer_active(host->tx_dma_chan); in spi_intr()
Dspi_master.c235 .tx_dma_chan = bus_attr->tx_dma_chan, in spi_master_init_driver()
609 spicommon_dmaworkaround_idle(bus_attr->tx_dma_chan); in spi_intr()
663 spicommon_dmaworkaround_transfer_active(bus_attr->tx_dma_chan); in spi_intr()
893 spicommon_dmaworkaround_transfer_active(host->bus_attr->tx_dma_chan); in spi_device_acquire_bus()
910 spicommon_dmaworkaround_idle(host->bus_attr->tx_dma_chan); in spi_device_release_bus()
Di2s.c91 gdma_channel_handle_t tx_dma_chan; /*!< I2S tx gDMA channel handle*/ member
520 …ESP_RETURN_ON_ERROR(gdma_new_channel(&dma_cfg, &p_i2s[i2s_num]->tx_dma_chan), TAG, "Register tx dm… in i2s_dma_intr_init()
521 …ESP_RETURN_ON_ERROR(gdma_connect(p_i2s[i2s_num]->tx_dma_chan, trig), TAG, "Connect tx dma channel … in i2s_dma_intr_init()
524 gdma_register_tx_event_callbacks(p_i2s[i2s_num]->tx_dma_chan, &cb, p_i2s[i2s_num]); in i2s_dma_intr_init()
553 gdma_reset(p_i2s[i2s_num]->tx_dma_chan); in i2s_tx_reset()
586 gdma_start(p_i2s[i2s_num]->tx_dma_chan, (uint32_t) p_i2s[i2s_num]->tx->desc[0]); in i2s_tx_start()
621 gdma_stop(p_i2s[i2s_num]->tx_dma_chan); in i2s_tx_stop()
1964 if (p_i2s[i2s_num]->tx_dma_chan) { in i2s_driver_uninstall()
1965 gdma_disconnect(p_i2s[i2s_num]->tx_dma_chan); in i2s_driver_uninstall()
1966 gdma_del_channel(p_i2s[i2s_num]->tx_dma_chan); in i2s_driver_uninstall()
Dspi_common.c53 .tx_dma_chan = 0, \
299 ctx->bus_attr.tx_dma_chan = actual_tx_dma_chan; in spicommon_dma_chan_alloc()
320 int dma_chan = ctx->bus_attr.tx_dma_chan; in dma_chan_free()
790 bus_attr->tx_dma_chan = actual_tx_dma_chan; in spi_bus_initialize()
Dspi_slave_hd.c112 .tx_dma_chan = actual_tx_dma_chan, in spi_slave_hd_init()
/hal_espressif-3.4.0/components/hal/include/hal/
Dspi_hal.h85 uint32_t tx_dma_chan; ///< TX DMA channel member
127 uint32_t tx_dma_chan; ///< TX DMA channel member
Dspi_slave_hd_hal.h74 uint32_t tx_dma_chan; ///< TX DMA channel used. member
100 uint32_t tx_dma_chan; ///< TX DMA channel used. member
Dspi_slave_hal.h59 uint32_t tx_dma_chan; ///< TX DMA channel member
/hal_espressif-3.4.0/components/driver/include/driver/
Dspi_common_internal.h61 …int tx_dma_chan; ///< TX DMA channel, on ESP32 and ESP32S2, tx_dma_chan and rx_dma_chan… member