Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sdhc/
Dsdhc_esp32.c90 struct sdmmc_transfer_state s_cur_transfer; member
224 if (data->s_cur_transfer.size_remaining == 0) { in fill_dma_descriptors()
228 const size_t next = data->s_cur_transfer.next_desc; in fill_dma_descriptors()
235 size_t size_to_fill = (data->s_cur_transfer.size_remaining < SDMMC_DMA_MAX_BUF_LEN) in fill_dma_descriptors()
236 ? data->s_cur_transfer.size_remaining in fill_dma_descriptors()
239 bool last = size_to_fill == data->s_cur_transfer.size_remaining; in fill_dma_descriptors()
244 desc->buffer1_ptr = data->s_cur_transfer.ptr; in fill_dma_descriptors()
254 data->s_cur_transfer.size_remaining -= size_to_fill; in fill_dma_descriptors()
255 data->s_cur_transfer.ptr += size_to_fill; in fill_dma_descriptors()
256 data->s_cur_transfer.next_desc = in fill_dma_descriptors()
[all …]