Lines Matching refs:lfs_p
104 lv_fs_drv_t * lv_fs_littlefs_set_driver(char label, void * lfs_p) in lv_fs_littlefs_set_driver() argument
107 if(drv_p != NULL) drv_p->user_data = (lfs_t *) lfs_p; in lv_fs_littlefs_set_driver()
131 lfs_t * lfs_p = drv->user_data; in fs_open() local
141 int result = lfs_file_open(lfs_p, file_p, path, flags); in fs_open()
159 lfs_t * lfs_p = drv->user_data; in fs_close() local
161 int result = lfs_file_close(lfs_p, file_p); in fs_close()
180 lfs_t * lfs_p = drv->user_data; in fs_read() local
182 lfs_ssize_t result = lfs_file_read(lfs_p, file_p, buf, btr); in fs_read()
201 lfs_t * lfs_p = drv->user_data; in fs_write() local
203 lfs_ssize_t result = lfs_file_write(lfs_p, file_p, buf, btw); in fs_write()
204 if(result < 0 || lfs_file_sync(lfs_p, file_p) < 0) return LV_FS_RES_UNKNOWN; in fs_write()
223 lfs_t * lfs_p = drv->user_data; in fs_seek() local
229 lfs_soff_t result = lfs_file_seek(lfs_p, file_p, pos, lfs_whence); in fs_seek()
245 lfs_t * lfs_p = drv->user_data; in fs_tell() local
247 lfs_soff_t result = lfs_file_tell(lfs_p, file_p); in fs_tell()
262 lfs_t * lfs_p = drv->user_data; in fs_dir_open() local
267 int result = lfs_dir_open(lfs_p, dir_p, path); in fs_dir_open()
286 lfs_t * lfs_p = drv->user_data; in fs_dir_read() local
293 result = lfs_dir_read(lfs_p, rddir_p, &info); in fs_dir_read()
317 lfs_t * lfs_p = drv->user_data; in fs_dir_close() local
319 int result = lfs_dir_close(lfs_p, rddir_p); in fs_dir_close()