Searched refs:buffer_size (Results 1 – 1 of 1) sorted by relevance
139 uint16_t buffer_size = file_p->drv->cache_size; in lv_fs_read_cached() local144 …uint32_t buffer_remaining_length = LV_MIN((uint32_t)buffer_size - buffer_offset, (uint32_t)end - f… in lv_fs_read_cached()156 if(btr > buffer_size) { in lv_fs_read_cached()163 …res = file_p->drv->read_cb(file_p->drv, file_p->file_d, (void *)buffer, buffer_size, &bytes_read_t… in lv_fs_read_cached()175 if(btr > buffer_size) { in lv_fs_read_cached()182 file_p->cache->buffer = lv_mem_alloc(buffer_size); in lv_fs_read_cached()188 …res = file_p->drv->read_cb(file_p->drv, file_p->file_d, (void *)buffer, buffer_size, &bytes_read_t… in lv_fs_read_cached()