Home
last modified time | relevance | path

Searched defs:filp (Results 1 – 25 of 109) sorted by relevance

12345

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_fileops.c28 struct file *filp = filp_open(filename, flags, mode); in klib_fopen() local
32 void klib_fclose(struct file *filp) in klib_fclose()
40 int klib_fwrite(const char *buf, unsigned long size, struct file *filp) in klib_fwrite()
52 int klib_fread(char *buf, unsigned long size, struct file *filp) in klib_fread()
80 void osal_klib_fclose(void *filp) in osal_klib_fclose()
91 int osal_klib_fwrite(const char *buf, unsigned long size, void *filp) in osal_klib_fwrite()
102 int osal_klib_fread(char *buf, unsigned long size, void *filp) in osal_klib_fread()
113 int osal_klib_user_fread(char *buf, unsigned long size, void *filp) in osal_klib_user_fread()
142 int osal_klib_user_fwrite(const char *buf, unsigned long size, void *filp) in osal_klib_user_fwrite()
167 int osal_klib_fseek(long long offset, int whence, void *filp) in osal_klib_fseek()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
Dosal_fileops.c25 struct file *filp = filp_open(filename, flags, mode); in klib_fopen() local
29 void klib_fclose(struct file *filp) in klib_fclose()
37 int klib_fwrite(const char *buf, int len, struct file *filp) in klib_fwrite()
46 int klib_fread(char *buf, unsigned int len, struct file *filp) in klib_fread()
61 void osal_klib_fclose(void *filp) in osal_klib_fclose()
67 int osal_klib_fwrite(const char *buf, int len, void *filp) in osal_klib_fwrite()
73 int osal_klib_fread(char *buf, unsigned int len, void *filp) in osal_klib_fread()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_kernel_sysfs.c82 static int open_copy_private_data(struct inode *inode, struct file *filp) in open_copy_private_data()
88 static ssize_t group_enabled_read(struct file *filp, char __user *buf, size_t count, loff_t *offp) in group_enabled_read()
103 static ssize_t group_enabled_write(struct file *filp, const char __user *buf, size_t count, loff_t … in group_enabled_write()
150 static ssize_t hw_core_base_addr_read(struct file *filp, char __user *buf, size_t count, loff_t *of… in hw_core_base_addr_read()
170 static ssize_t profiling_counter_src_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t … in profiling_counter_src_read()
215 static ssize_t profiling_counter_src_write(struct file *filp, const char __user *ubuf, size_t cnt, … in profiling_counter_src_write()
282 static ssize_t l2_l2x_counter_srcx_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *p… in l2_l2x_counter_srcx_read()
303 static ssize_t l2_l2x_counter_srcx_write(struct file *filp, const char __user *ubuf, size_t cnt, lo… in l2_l2x_counter_srcx_write()
336 static ssize_t l2_all_counter_srcx_write(struct file *filp, const char __user *ubuf, size_t cnt, lo… in l2_all_counter_srcx_write()
378 static ssize_t l2_l2x_counter_src0_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *p… in l2_l2x_counter_src0_read()
[all …]
Dmali_kernel_linux.c846 static int mali_open(struct inode *inode, struct file *filp) in mali_open()
872 static int mali_release(struct inode *inode, struct file *filp) in mali_release()
912 static long mali_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in mali_ioctl()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_kernel_sysfs.c82 static int open_copy_private_data(struct inode *inode, struct file *filp) in open_copy_private_data()
88 static ssize_t group_enabled_read(struct file *filp, char __user *buf, size_t count, loff_t *offp) in group_enabled_read()
102 static ssize_t group_enabled_write(struct file *filp, const char __user *buf, size_t count, loff_t … in group_enabled_write()
149 static ssize_t hw_core_base_addr_read(struct file *filp, char __user *buf, size_t count, loff_t *of… in hw_core_base_addr_read()
169 static ssize_t profiling_counter_src_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t … in profiling_counter_src_read()
214 static ssize_t profiling_counter_src_write(struct file *filp, const char __user *ubuf, size_t cnt, … in profiling_counter_src_write()
281 static ssize_t l2_l2x_counter_srcx_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *p… in l2_l2x_counter_srcx_read()
302 static ssize_t l2_l2x_counter_srcx_write(struct file *filp, const char __user *ubuf, size_t cnt, lo… in l2_l2x_counter_srcx_write()
336 static ssize_t l2_all_counter_srcx_write(struct file *filp, const char __user *ubuf, size_t cnt, lo… in l2_all_counter_srcx_write()
379 static ssize_t l2_l2x_counter_src0_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *p… in l2_l2x_counter_src0_read()
[all …]
Dmali_kernel_linux.c830 static int mali_open(struct inode *inode, struct file *filp) in mali_open()
858 static int mali_release(struct inode *inode, struct file *filp) in mali_release()
900 static long mali_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in mali_ioctl()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
Dump_kernel_linux.c137 static ssize_t ump_memory_used_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) in ump_memory_used_read()
243 static int ump_file_open(struct inode *inode, struct file *filp) in ump_file_open()
272 static int ump_file_release(struct inode *inode, struct file *filp) in ump_file_release()
290 static long ump_file_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ump_file_ioctl()
394 static int ump_file_mmap(struct file *filp, struct vm_area_struct *vma) in ump_file_mmap()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
Ddrv_mmz_compat.c92 static long compat_mmz_userdev_normal(struct file *filp, unsigned int cmd, struct mmb_info *mmi) in compat_mmz_userdev_normal()
126 static long compat_mmz_userdev_ioctl_m(struct file *filp, unsigned int cmd, unsigned long arg) in compat_mmz_userdev_ioctl_m()
179 static long compat_mmz_userdev_ioctl_c(struct file *filp, unsigned int cmd, unsigned long arg) in compat_mmz_userdev_ioctl_c()
228 long compat_mmz_userdev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in compat_mmz_userdev_ioctl()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_file.c315 static void drm_close_helper(struct file *filp) in drm_close_helper()
350 static int drm_open_helper(struct file *filp, struct drm_minor *minor) in drm_open_helper()
426 int drm_open(struct inode *inode, struct file *filp) in drm_open()
508 int drm_release(struct inode *inode, struct file *filp) in drm_release()
551 int drm_release_noglobal(struct inode *inode, struct file *filp) in drm_release_noglobal()
596 ssize_t drm_read(struct file *filp, char __user *buffer, size_t count, loff_t *offset) in drm_read()
687 __poll_t drm_poll(struct file *filp, struct poll_table_struct *wait) in drm_poll()
Ddrm_gem.c126 struct file *filp; in drm_gem_object_init() local
170 drm_gem_remove_prime_handles(struct drm_gem_object *obj, struct drm_file *filp) in drm_gem_remove_prime_handles()
275 drm_gem_handle_delete(struct drm_file *filp, u32 handle) in drm_gem_handle_delete()
663 static int objects_lookup(struct drm_file *filp, u32 *handle, int count, in objects_lookup()
705 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles, in drm_gem_objects_lookup()
755 drm_gem_object_lookup(struct drm_file *filp, u32 handle) in drm_gem_object_lookup()
1131 int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma) in drm_gem_mmap()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/
Dmali_kbase_timeline_io.c188 static ssize_t kbasep_timeline_io_read(struct file *filp, char __user *buffer, in kbasep_timeline_io_read()
294 static unsigned int kbasep_timeline_io_poll(struct file *filp, poll_table *wait) in kbasep_timeline_io_poll()
325 static int kbasep_timeline_io_release(struct inode *inode, struct file *filp) in kbasep_timeline_io_release()
363 static int kbasep_timeline_io_fsync(struct file *filp, loff_t start, loff_t end, in kbasep_timeline_io_fsync()
/device/soc/rockchip/common/sdk_linux/drivers/spi/
Dspidev.c140 static ssize_t spidev_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) in spidev_read()
170 static ssize_t spidev_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) in spidev_write()
328 static long spidev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in spidev_ioctl()
482 static long spidev_compat_ioc_message(struct file *filp, unsigned int cmd, unsigned long arg) in spidev_compat_ioc_message()
534 static long spidev_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in spidev_compat_ioctl()
546 static int spidev_open(struct inode *inode, struct file *filp) in spidev_open()
599 static int spidev_release(struct inode *inode, struct file *filp) in spidev_release()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/ledc/
Dledc-sunxi.c422 static ssize_t reset_ns_write(struct file *filp, const char __user *buf, in reset_ns_write()
463 static ssize_t reset_ns_read(struct file *filp, char __user *buf, in reset_ns_read()
481 static ssize_t t1h_ns_write(struct file *filp, const char __user *buf, in t1h_ns_write()
523 static ssize_t t1h_ns_read(struct file *filp, char __user *buf, in t1h_ns_read()
541 static ssize_t t1l_ns_write(struct file *filp, const char __user *buf, in t1l_ns_write()
582 static ssize_t t1l_ns_read(struct file *filp, char __user *buf, in t1l_ns_read()
600 static ssize_t t0h_ns_write(struct file *filp, const char __user *buf, in t0h_ns_write()
641 static ssize_t t0h_ns_read(struct file *filp, char __user *buf, in t0h_ns_read()
659 static ssize_t t0l_ns_write(struct file *filp, const char __user *buf, in t0l_ns_write()
700 static ssize_t t0l_ns_read(struct file *filp, char __user *buf, in t0l_ns_read()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/
Dmali_kbase_timeline_io.c176 static ssize_t kbasep_timeline_io_read(struct file *filp, char __user *buffer, size_t size, loff_t … in kbasep_timeline_io_read()
280 static unsigned int kbasep_timeline_io_poll(struct file *filp, poll_table *wait) in kbasep_timeline_io_poll()
314 static int kbasep_timeline_io_release(struct inode *inode, struct file *filp) in kbasep_timeline_io_release()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/fm11nt081d/
Dfm11nt081d.c300 static hi_s32 nfc_open(struct inode *inode, struct file *filp) in nfc_open()
306 static hi_s32 nfc_release(struct inode *inode, struct file *filp) in nfc_release()
313 static long nfc_ioctl(struct file *filp, hi_u32 cmd, unsigned long arg) in nfc_ioctl()
349 static ssize_t nfc_read(struct file *filp, hi_char __user *buf, size_t size, loff_t *offset) in nfc_read()
362 static ssize_t nfc_write(struct file *filp, const hi_char *buf, size_t size, loff_t *offset) in nfc_write()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_sink/encoder/h265/
Dvpu.c176 static s32 vpu_free_instances(struct file *filp) in vpu_free_instances()
209 static s32 vpu_free_buffers(struct file *filp) in vpu_free_buffers()
229 static u32 vpu_is_buffer_cached(struct file *filp, ulong vm_pgoff) in vpu_is_buffer_cached()
308 static s32 vpu_open(struct inode *inode, struct file *filp) in vpu_open()
446 static long vpu_ioctl(struct file *filp, u32 cmd, ulong arg) in vpu_ioctl()
1305 static long vpu_compat_ioctl(struct file *filp, u32 cmd, ulong arg) in vpu_compat_ioctl()
1315 static ssize_t vpu_write(struct file *filp, in vpu_write()
1379 static s32 vpu_release(struct inode *inode, struct file *filp) in vpu_release()
1446 static s32 vpu_fasync(s32 fd, struct file *filp, s32 mode) in vpu_fasync()
/device/soc/rockchip/common/sdk_linux/drivers/staging/blackbox/
Dblackbox_storage.c76 struct file *filp = NULL; in is_pstore_part_ready() local
126 struct file *filp = NULL; in get_log_by_pstore() local
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/ve/google-ve/
Dgoogle_vp9.c259 static long compat_googlevp9dev_ioctl(struct file *filp, in compat_googlevp9dev_ioctl()
477 static int googlevp9dev_open(struct inode *inode, struct file *filp) in googlevp9dev_open()
499 static int googlevp9dev_release(struct inode *inode, struct file *filp) in googlevp9dev_release()
565 static int googlevp9dev_mmap(struct file *filp, struct vm_area_struct *vma) in googlevp9dev_mmap()
/device/soc/amlogic/a311d/soc/amlogic/unifykey/
Defuse_burn.c44 static loff_t efuse_burn_llseek(struct file *filp, loff_t off, int whence) in efuse_burn_llseek()
81 static long efuse_burn_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long args) in efuse_burn_compat_ioctl()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_vinstr.c909 static long kbasep_vinstr_hwcnt_reader_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in kbasep_vinstr_hwcnt_reader_ioctl()
971 static unsigned int kbasep_vinstr_hwcnt_reader_poll(struct file *filp, poll_table *wait) in kbasep_vinstr_hwcnt_reader_poll()
998 static int kbasep_vinstr_hwcnt_reader_mmap(struct file *filp, struct vm_area_struct *vma) in kbasep_vinstr_hwcnt_reader_mmap()
1037 static int kbasep_vinstr_hwcnt_reader_release(struct inode *inode, struct file *filp) in kbasep_vinstr_hwcnt_reader_release()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_vinstr.c970 struct file *filp, in kbasep_vinstr_hwcnt_reader_ioctl()
1041 struct file *filp, in kbasep_vinstr_hwcnt_reader_poll()
1067 struct file *filp, in kbasep_vinstr_hwcnt_reader_mmap()
1114 struct file *filp) in kbasep_vinstr_hwcnt_reader_release()
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/
Dstats.c130 static int rkispp_stats_fh_open(struct file *filp) in rkispp_stats_fh_open()
148 static int rkispp_stats_fh_release(struct file *filp) in rkispp_stats_fh_release()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dstats.c130 static int rkispp_stats_fh_open(struct file *filp) in rkispp_stats_fh_open()
148 static int rkispp_stats_fh_release(struct file *filp) in rkispp_stats_fh_release()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/ve/cedar-ve/
Dcedar_ve.c279 struct file *filp; member
899 static int map_dma_buf_addr(int fd, unsigned int *addr, struct file *filp) in map_dma_buf_addr()
966 static void unmap_dma_buf_addr(int unmap_all, int fd, struct file *filp) in unmap_dma_buf_addr()
1036 static long compat_cedardev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in compat_cedardev_ioctl()
1753 static int cedardev_open(struct inode *inode, struct file *filp) in cedardev_open()
1784 static int cedardev_release(struct inode *inode, struct file *filp) in cedardev_release()
1861 static int cedardev_mmap(struct file *filp, struct vm_area_struct *vma) in cedardev_mmap()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dparams.c251 static int rkispp_param_fh_open(struct file *filp) in rkispp_param_fh_open()
273 static int rkispp_param_fh_release(struct file *filp) in rkispp_param_fh_release()

12345