Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/dma/
Ddma_xilinx_axi_dma.c243 size_t num_descriptors; member
509 if (channel_data->current_transfer_end_index >= channel_data->num_descriptors) { in dma_xilinx_axi_dma_clean_up_sg_descriptors()
603 if (channel_data->current_transfer_start_index >= channel_data->num_descriptors) { in dma_xilinx_axi_dma_start()
933 data->channels[channel].num_descriptors = ARRAY_SIZE(descriptors_tx); in dma_xilinx_axi_dma_configure()
938 data->channels[channel].num_descriptors = ARRAY_SIZE(descriptors_rx); in dma_xilinx_axi_dma_configure()
958 LOG_DBG("Configuring %zu DMA descriptors for %s", data->channels[channel].num_descriptors, in dma_xilinx_axi_dma_configure()
965 for (int i = 0; i < data->channels[channel].num_descriptors; i++) { in dma_xilinx_axi_dma_configure()
971 if (i + 1 < data->channels[channel].num_descriptors) { in dma_xilinx_axi_dma_configure()
/Zephyr-latest/drivers/ethernet/
Deth_xmc4xxx.c505 int num_descriptors; in eth_xmc4xxx_handle_tx() local
508 num_descriptors = tx_frame->head_index - tx_frame->tail_index + 1; in eth_xmc4xxx_handle_tx()
510 num_descriptors = tx_frame->head_index + NUM_TX_DMA_DESCRIPTORS - in eth_xmc4xxx_handle_tx()
515 for (int i = 0; i < num_descriptors; i++) { in eth_xmc4xxx_handle_tx()
542 for (int i = 0; i < num_descriptors; i++) { in eth_xmc4xxx_handle_tx()