Searched refs:file_p (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/app/lvgl_demo/lvgl/ |
| H A D | lv_port_file.c | 16 FILE *file_p; in fs_open() local 19 file_p = fopen(path, "wb+"); in fs_open() 21 file_p = fopen(path, "rb"); in fs_open() 23 file_p = fopen(path, "wb+"); in fs_open() 25 return (void *)file_p; in fs_open() 36 static lv_fs_res_t fs_close(lv_fs_drv_t *drv, void *file_p) in fs_close() argument 41 fclose((file_p)); in fs_close() 56 static lv_fs_res_t fs_read(lv_fs_drv_t *drv, void *file_p, void *buf, uint32_t btr, uint32_t *br) in fs_read() argument 61 *br = fread((char *)buf, 1, btr, file_p); in fs_read() 63 printf("ftell %d %p %d\n", ftell(file_p), buf, btr); in fs_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/bluetooth/ |
| H A D | rtk_btusb.c | 979 static int btchr_open(struct inode *inode_p, struct file *file_p) in btchr_open() argument 1001 file_p->private_data = data; in btchr_open() 1008 return nonseekable_open(inode_p, file_p); in btchr_open() 1011 static int btchr_close(struct inode *inode_p, struct file *file_p) in btchr_close() argument 1020 data = file_p->private_data; in btchr_close() 1021 file_p->private_data = NULL; in btchr_close() 1042 static ssize_t btchr_read(struct file *file_p, in btchr_read() argument 1084 static ssize_t btchr_write(struct file *file_p, in btchr_write() argument 1089 struct btusb_data *data = file_p->private_data; in btchr_write() 1137 static unsigned int btchr_poll(struct file *file_p, poll_table *wait) in btchr_poll() argument [all …]
|