What is the functionality of mmc_flush_cache
& mmc_cache_ctrl
with MMC driver in linux.
I have found very little information on these, that mmc_flush_cache will flush the cache contents to the non volatile memory. But which cache memory they are referring to, whether MMC has it's own cache memory as like UFS device?
I need to copy the contents of cache to the MMC memory and from MMC memory to the cache. How I can achieve this in linux with the MMC driver.
Please suggest me the functions or API's using which I can do cache related operations in MMC driver.
Thanks in advance.