Lines Matching refs:file_p
32 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
33 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
34 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
35 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
36 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
133 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p) in fs_close() argument
136 f_close(file_p); in fs_close()
137 lv_mem_free(file_p); in fs_close()
151 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b… in fs_read() argument
154 FRESULT res = f_read(file_p, buf, btr, (UINT *)br); in fs_read()
168 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3… in fs_write() argument
171 FRESULT res = f_write(file_p, buf, btw, (UINT *)bw); in fs_write()
185 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence) in fs_seek() argument
190 f_lseek(file_p, pos); in fs_seek()
193 f_lseek(file_p, f_tell((FIL *)file_p) + pos); in fs_seek()
196 f_lseek(file_p, f_size((FIL *)file_p) + pos); in fs_seek()
212 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p) in fs_tell() argument
215 *pos_p = f_tell((FIL *)file_p); in fs_tell()