Lines Matching refs:cache
108 drv.cache_size = my_cache_size; /* Cache size for reading in bytes. 0 to not cache. */
311 times than ``lv_fs_read`` is called. In the best case where the cache size is
315 The cache should be sufficiently large or disabled in that case. Another case where the cache shoul…
319 to other driver FS functions when the cache is enabled. i.e., ``lv_fs_read`` may call the driver's …
320 so the driver needs to implement more callbacks when the cache is enabled.
322 ``lv_fs_read`` :sub:`(behavior when cache is enabled)`
331 the cache is enabled"] --> B{{"is there cached data
333 B -->|yes| C{{"does the cache have
336 the cache to the destination
340 until the end of the cache
343 of what the cache had available"]
345 larger than the size of the whole cache?"}}
350 to fill the whole cache
359 size of the entire cache?"}}
363 to fill the whole cache
369 ``lv_fs_write`` :sub:`(behavior when cache is enabled)`
372 The part of the cache that coincides with the written content
375 ``lv_fs_seek`` :sub:`(behavior when cache is enabled)`
382 ``lv_fs_tell`` :sub:`(behavior when cache is enabled)`