Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/hal/
Demac_hal.c155 hal->rx_desc = (eth_dma_rx_descriptor_t *)(hal->descriptors); in emac_hal_reset_desc_chain()
156 hal->tx_desc = (eth_dma_tx_descriptor_t *)(hal->rx_desc + in emac_hal_reset_desc_chain()
161 hal->rx_desc[i].RDES0.Own = EMAC_LL_DMADESC_OWNER_DMA; in emac_hal_reset_desc_chain()
163 hal->rx_desc[i].RDES1.SecondAddressChained = 1; in emac_hal_reset_desc_chain()
164 hal->rx_desc[i].RDES1.ReceiveBuffer1Size = CONFIG_ETH_DMA_BUFFER_SIZE; in emac_hal_reset_desc_chain()
166 hal->rx_desc[i].RDES1.DisableInterruptOnComplete = 0; in emac_hal_reset_desc_chain()
168 hal->rx_desc[i].Buffer1Addr = (uint32_t)(hal->rx_buf[i]); in emac_hal_reset_desc_chain()
170 hal->rx_desc[i].Buffer2NextDescAddr = (uint32_t)(hal->rx_desc + i + 1); in emac_hal_reset_desc_chain()
173 hal->rx_desc[CONFIG_ETH_DMA_RX_BUFFER_NUM - 1].Buffer2NextDescAddr = (uint32_t)(hal->rx_desc); in emac_hal_reset_desc_chain()
194 emac_ll_set_rx_desc_addr(hal->dma_regs, (uint32_t)hal->rx_desc); in emac_hal_reset_desc_chain()
[all …]
Dadc_hal.c298 hal->desc_dummy_head.next = hal->rx_desc; in adc_hal_context_config()
355 …adc_hal_digi_dma_link_descriptors(hal->rx_desc, data_buf, hal->eof_num * ADC_HAL_DATA_LEN_PER_CONV… in adc_hal_digi_start()
358 adc_dma_ll_rx_start(hal->dev, hal->dma_chan, (lldesc_t *)hal->rx_desc); in adc_hal_digi_start()
/hal_espressif-3.4.0/components/driver/
Dspi_slave_hd.c44 spi_slave_hd_data_t* rx_desc; member
295 if (host->rx_desc && spi_slave_hd_hal_check_disable_event(hal, SPI_EV_RECV)) { in spi_slave_hd_intr_segment()
320 host->rx_desc->trans_len = spi_slave_hd_hal_rxdma_seg_get_len(hal); in spi_slave_hd_intr_segment()
324 .trans = host->rx_desc, in spi_slave_hd_intr_segment()
331 ret = xQueueSendFromISR(host->rx_ret_queue, &host->rx_desc, &awoken); in spi_slave_hd_intr_segment()
335 host->rx_desc = NULL; in spi_slave_hd_intr_segment()
356 if (!host->rx_desc) { in spi_slave_hd_intr_segment()
357 ret = xQueueReceiveFromISR(host->rx_trans_queue, &host->rx_desc, &awoken); in spi_slave_hd_intr_segment()
359 spi_slave_hd_hal_rxdma(hal, host->rx_desc->data, host->rx_desc->len); in spi_slave_hd_intr_segment()
364 .trans = host->rx_desc, in spi_slave_hd_intr_segment()
Dadc.c178 …s_adc_digi_ctx->hal.rx_desc = heap_caps_calloc(1, (sizeof(dma_descriptor_t)) * INTERNAL_BUF_NUM, M… in adc_digi_initialize()
179 if (!s_adc_digi_ctx->hal.rx_desc) { in adc_digi_initialize()
532 free(s_adc_digi_ctx->hal.rx_desc); in adc_digi_deinitialize()
/hal_espressif-3.4.0/components/esp_hw_support/
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()
124 dma_descriptor_t *desc = asmcp->rx_desc; // descriptor iterator in async_memcpy_prepare_receive()
254 asmcp->rx_desc = desc->next; in esp_async_memcpy()
/hal_espressif-3.4.0/components/hal/include/hal/
Dadc_hal.h73 dma_descriptor_t *rx_desc; ///< DMA descriptors member
Demac_hal.h162 eth_dma_rx_descriptor_t *rx_desc; member