Lines Matching refs:file_p
38 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p);
39 static lv_fs_res_t fs_read(lv_fs_drv_t * drv, void * file_p, void * buf, uint32_t btr, uint32_t * b…
40 static lv_fs_res_t fs_write(lv_fs_drv_t * drv, void * file_p, const void * buf, uint32_t btw, uint3…
41 static lv_fs_res_t fs_seek(lv_fs_drv_t * drv, void * file_p, uint32_t pos, lv_fs_whence_t whence);
42 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p);
127 static lv_fs_res_t fs_close(lv_fs_drv_t * drv, void * file_p) in fs_close() argument
130 close((lv_uintptr_t)file_p); in fs_close()
144 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
147 *br = read((lv_uintptr_t)file_p, buf, btr); in fs_read()
160 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
163 *bw = write((lv_uintptr_t)file_p, buf, btw); in fs_write()
175 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
178 off_t offset = lseek((lv_uintptr_t)file_p, pos, whence); in fs_seek()
190 static lv_fs_res_t fs_tell(lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p) in fs_tell() argument
193 off_t offset = lseek((lv_uintptr_t)file_p, 0, SEEK_CUR); in fs_tell()