template <typename VmoInfoType>
class DmaDescriptorBuilder
Defined at line 34 of file ../../src/devices/block/drivers/sdhci/dma-descriptor-builder.h
Maintains a list of physical memory regions to be used for DMA. Input buffers are pinned if
needed, and unpinned upon destruction.
Public Methods
void DmaDescriptorBuilder<VmoInfoType> (const fuchsia_hardware_sdmmc::wire::SdmmcReq &request,VmoStore ®istered_vmos,uint64_tdma_boundary_alignment,zx::unowned_btibti)
Defined at line 38 of file ../../src/devices/block/drivers/sdhci/dma-descriptor-builder.h
void ~DmaDescriptorBuilder<VmoInfoType> ()
Defined at line 45 of file ../../src/devices/block/drivers/sdhci/dma-descriptor-builder.h
size_t block_count ()
Defined at line 58 of file ../../src/devices/block/drivers/sdhci/dma-descriptor-builder.h
size_t descriptor_count ()
Defined at line 62 of file ../../src/devices/block/drivers/sdhci/dma-descriptor-builder.h
zx_status_t ProcessBuffer (const fuchsia_hardware_sdmmc::wire::SdmmcBufferRegion & buffer)
Appends the physical memory regions for this buffer to the end of the list.
Defined at line 170 of file ../../src/devices/block/drivers/sdhci/dma-descriptor-builder.h
template <typename DescriptorType>
zx_status_t BuildDmaDescriptors (cpp20::span<DescriptorType> out_descriptors)
Builds DMA descriptors of the template type in the array provided.
Defined at line 117 of file ../../src/devices/block/drivers/sdhci/dma-descriptor-builder.h