HomeFreeBSD

dwmmc: Rework the DMA engine

Description

dwmmc: Rework the DMA engine

Each segment can be up to 4096 bytes in chain structure according to the
RK3399 TRM Part 2.
Set the buffers in full ring where the last one point to the first one.
Correctly reports the MMC_IVAR_MAX_DATA.
Use CACHE_LINE_SIZE for bus_dma alignment.

MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D23894

Details

Provenance
manuAuthored on
Differential Revision
D23894: dwmmc: Rework the DMA engine
Parents
rS358634: execve: use LOCKSHARED when looking up the interpreter
Branches
Unknown
Tags
Unknown