Home
last modified time | relevance | path

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

/hal_espressif-latest/components/driver/spi/gpspi/
Dspi_common.c77 static spicommon_bus_context_t* bus_ctx[SOC_SPI_PERIPH_NUM] = {&s_mainbus}; variable
227 spicommon_bus_context_t *ctx = bus_ctx[host_id]; in alloc_dma_chan()
283 bus_ctx[host_id] = ctx; in spicommon_dma_chan_alloc()
313 *gdma_handle = bus_ctx[host_id]->tx_channel; in spicommon_gdma_get_handle()
316 *gdma_handle = bus_ctx[host_id]->rx_channel; in spicommon_gdma_get_handle()
327 spicommon_bus_context_t *ctx = bus_ctx[host_id]; in dma_chan_free()
357 free(bus_ctx[host_id]); in spicommon_dma_chan_free()
358 bus_ctx[host_id] = NULL; in spicommon_dma_chan_free()
750 bus_ctx[0]->bus_attr.lock = lock; in spi_bus_main_set_lock()
755 return bus_ctx[host_id]->bus_attr.lock; in spi_bus_lock_get_by_id()
[all …]