Home
last modified time | relevance | path

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

/openbmc/qemu/hw/sd/
H A Dsdhci.c591 uint32_t boundary_count = boundary_chk - (s->sdmasysad % boundary_chk); in sdhci_sdma_transfer_multi_blocks() local
613 if (((boundary_count + begin) < block_size) && page_aligned) { in sdhci_sdma_transfer_multi_blocks()
614 s->data_count = boundary_count + begin; in sdhci_sdma_transfer_multi_blocks()
615 boundary_count = 0; in sdhci_sdma_transfer_multi_blocks()
618 boundary_count -= block_size - begin; in sdhci_sdma_transfer_multi_blocks()
629 if (page_aligned && boundary_count == 0) { in sdhci_sdma_transfer_multi_blocks()
637 if (((boundary_count + begin) < block_size) && page_aligned) { in sdhci_sdma_transfer_multi_blocks()
638 s->data_count = boundary_count + begin; in sdhci_sdma_transfer_multi_blocks()
639 boundary_count = 0; in sdhci_sdma_transfer_multi_blocks()
642 boundary_count -= block_size - begin; in sdhci_sdma_transfer_multi_blocks()
[all …]