Home
last modified time | relevance | path

Searched refs:rddir_p (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.6.0/src/misc/
Dlv_fs.c324 lv_fs_res_t lv_fs_dir_open(lv_fs_dir_t * rddir_p, const char * path) in lv_fs_dir_open() argument
352 rddir_p->drv = drv; in lv_fs_dir_open()
353 rddir_p->dir_d = dir_d; in lv_fs_dir_open()
358 lv_fs_res_t lv_fs_dir_read(lv_fs_dir_t * rddir_p, char * fn) in lv_fs_dir_read() argument
360 if(rddir_p->drv == NULL || rddir_p->dir_d == NULL) { in lv_fs_dir_read()
365 if(rddir_p->drv->dir_read_cb == NULL) { in lv_fs_dir_read()
370 lv_fs_res_t res = rddir_p->drv->dir_read_cb(rddir_p->drv, rddir_p->dir_d, fn); in lv_fs_dir_read()
375 lv_fs_res_t lv_fs_dir_close(lv_fs_dir_t * rddir_p) in lv_fs_dir_close() argument
377 if(rddir_p->drv == NULL || rddir_p->dir_d == NULL) { in lv_fs_dir_close()
381 if(rddir_p->drv->dir_close_cb == NULL) { in lv_fs_dir_close()
[all …]
Dlv_fs.h82 lv_fs_res_t (*dir_read_cb)(struct _lv_fs_drv_t * drv, void * rddir_p, char * fn);
83 lv_fs_res_t (*dir_close_cb)(struct _lv_fs_drv_t * drv, void * rddir_p);
207 lv_fs_res_t lv_fs_dir_open(lv_fs_dir_t * rddir_p, const char * path);
216 lv_fs_res_t lv_fs_dir_read(lv_fs_dir_t * rddir_p, char * fn);
223 lv_fs_res_t lv_fs_dir_close(lv_fs_dir_t * rddir_p);
/lvgl-3.6.0/examples/porting/
Dlv_port_fs_template.c37 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn);
38 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * rddir_p);
233 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn)
248 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * rddir_p)
/lvgl-3.6.0/src/extra/libs/fsdrv/
Dlv_fs_littlefs.c284 static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * rddir_p, char * fn) in fs_dir_read() argument
293 result = lfs_dir_read(lfs_p, rddir_p, &info); in fs_dir_read()
315 static lv_fs_res_t fs_dir_close(lv_fs_drv_t * drv, void * rddir_p) in fs_dir_close() argument
319 int result = lfs_dir_close(lfs_p, rddir_p); in fs_dir_close()
320 lv_mem_free(rddir_p); in fs_dir_close()