Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/hal/
Demac_hal.c178 hal->rx_desc = (eth_dma_rx_descriptor_t *)(hal->descriptors); in emac_hal_reset_desc_chain()
184 hal->rx_desc[i].RDES0.Own = EMAC_LL_DMADESC_OWNER_DMA; in emac_hal_reset_desc_chain()
186 hal->rx_desc[i].RDES1.SecondAddressChained = 1; in emac_hal_reset_desc_chain()
187 hal->rx_desc[i].RDES1.ReceiveBuffer1Size = CONFIG_ETH_DMA_BUFFER_SIZE; in emac_hal_reset_desc_chain()
189 hal->rx_desc[i].RDES1.DisableInterruptOnComplete = 0; in emac_hal_reset_desc_chain()
191 hal->rx_desc[i].Buffer1Addr = (uint32_t)(hal->rx_buf[i]); in emac_hal_reset_desc_chain()
193 hal->rx_desc[i].Buffer2NextDescAddr = (uint32_t)(hal->rx_desc + i + 1); in emac_hal_reset_desc_chain()
196 hal->rx_desc[CONFIG_ETH_DMA_RX_BUFFER_NUM - 1].Buffer2NextDescAddr = (uint32_t)(hal->rx_desc); in emac_hal_reset_desc_chain()
217 emac_ll_set_rx_desc_addr(hal->dma_regs, (uint32_t)hal->rx_desc); in emac_hal_reset_desc_chain()
562 eth_dma_rx_descriptor_t *desc_iter = hal->rx_desc; in emac_hal_alloc_recv_buf()
[all …]
Dadc_hal.c97 hal->desc_dummy_head.next = hal->rx_desc; in adc_hal_dma_ctx_config()
280 …adc_hal_digi_dma_link_descriptors(hal->rx_desc, data_buf, hal->eof_num * SOC_ADC_DIGI_DATA_BYTES_P… in adc_hal_digi_start()
283 adc_dma_ll_rx_start(hal->dev, hal->dma_chan, (lldesc_t *)hal->rx_desc); in adc_hal_digi_start()
/hal_espressif-3.7.0/components/driver/spi/gpspi/
Dspi_slave_hd.c49 spi_slave_hd_data_t *rx_desc; member
301 if (host->rx_desc && spi_slave_hd_hal_check_disable_event(hal, SPI_EV_RECV)) { in spi_slave_hd_intr_segment()
326 host->rx_desc->trans_len = spi_slave_hd_hal_rxdma_seg_get_len(hal); in spi_slave_hd_intr_segment()
330 .trans = host->rx_desc, in spi_slave_hd_intr_segment()
337 ret = xQueueSendFromISR(host->rx_ret_queue, &host->rx_desc, &awoken); in spi_slave_hd_intr_segment()
341 host->rx_desc = NULL; in spi_slave_hd_intr_segment()
362 if (!host->rx_desc) { in spi_slave_hd_intr_segment()
363 ret = xQueueReceiveFromISR(host->rx_trans_queue, &host->rx_desc, &awoken); in spi_slave_hd_intr_segment()
365 spi_slave_hd_hal_rxdma(hal, host->rx_desc->data, host->rx_desc->len); in spi_slave_hd_intr_segment()
370 .trans = host->rx_desc, in spi_slave_hd_intr_segment()
/hal_espressif-3.7.0/components/esp_hw_support/dma/
Desp_async_memcpy.c40 dma_descriptor_t *rx_desc; // pointer to the next free RX descriptor member
79 mcp_hdl->rx_desc = &mcp_hdl->in_streams[0].desc; in esp_async_memcpy_install()
130 dma_descriptor_t *desc = asmcp->rx_desc; // descriptor iterator in async_memcpy_prepare_receive()
260 asmcp->rx_desc = desc->next; in esp_async_memcpy()
/hal_espressif-3.7.0/components/hal/include/hal/
Dadc_hal.h69 dma_descriptor_t *rx_desc; ///< DMA descriptors member
Demac_hal.h169 eth_dma_rx_descriptor_t *rx_desc; member
/hal_espressif-3.7.0/components/driver/deprecated/
Dadc_dma_legacy.c163 free(s_adc_digi_ctx->hal.rx_desc); in adc_digi_deinitialize()
212 …s_adc_digi_ctx->hal.rx_desc = heap_caps_calloc(1, (sizeof(dma_descriptor_t)) * dma_desc_max_num, M… in adc_digi_initialize()
213 if (!s_adc_digi_ctx->hal.rx_desc) { in adc_digi_initialize()
/hal_espressif-3.7.0/components/esp_adc/
Dadc_continuous.c139 …adc_ctx->hal.rx_desc = heap_caps_calloc(1, (sizeof(dma_descriptor_t)) * dma_desc_max_num, MALLOC_C… in adc_continuous_new_handle()
140 if (!adc_ctx->hal.rx_desc) { in adc_continuous_new_handle()
459 free(handle->hal.rx_desc); in adc_continuous_deinit()