Home
last modified time | relevance | path

Searched refs:ppos (Results 1 - 25 of 47) sorted by relevance

12

/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_kernel_sysfs.c170 static ssize_t profiling_counter_src_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) in profiling_counter_src_read() argument
212 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in profiling_counter_src_read()
215 static ssize_t profiling_counter_src_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) in profiling_counter_src_write() argument
271 *ppos += 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 *ppos, u32 src_id) in l2_l2x_counter_srcx_read() argument
300 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); 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, loff_t *ppos, u32 src_id) in l2_l2x_counter_srcx_write() argument
332 *ppos += cnt; 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, loff_t *ppos, u32 src_id) in l2_all_counter_srcx_write() argument
374 *ppos in l2_all_counter_srcx_write()
378 l2_l2x_counter_src0_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_src0_read() argument
383 l2_l2x_counter_src1_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_src1_read() argument
388 l2_l2x_counter_src0_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_src0_write() argument
393 l2_l2x_counter_src1_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_src1_write() argument
398 l2_all_counter_src0_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) l2_all_counter_src0_write() argument
403 l2_all_counter_src1_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) l2_all_counter_src1_write() argument
432 l2_l2x_counter_valx_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos, u32 src_id) l2_l2x_counter_valx_read() argument
460 l2_l2x_counter_val0_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_val0_read() argument
465 l2_l2x_counter_val1_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_val1_read() argument
482 power_always_on_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) power_always_on_write() argument
512 power_always_on_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) power_always_on_read() argument
527 power_power_events_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) power_power_events_write() argument
593 profiling_record_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) profiling_record_read() argument
602 profiling_record_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) profiling_record_write() argument
911 utilization_gp_pp_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) utilization_gp_pp_read() argument
921 utilization_gp_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) utilization_gp_read() argument
931 utilization_pp_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) utilization_pp_read() argument
957 user_settings_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) user_settings_write() argument
983 user_settings_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) user_settings_read() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_kernel_sysfs.c169 static ssize_t profiling_counter_src_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) in profiling_counter_src_read() argument
211 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in profiling_counter_src_read()
214 static ssize_t profiling_counter_src_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) in profiling_counter_src_write() argument
270 *ppos += 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 *ppos, u32 src_id) in l2_l2x_counter_srcx_read() argument
299 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); 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, loff_t *ppos, in l2_l2x_counter_srcx_write() argument
332 *ppos += cnt; 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, loff_t *ppos, in l2_all_counter_srcx_write() argument
375 *ppos in l2_all_counter_srcx_write()
379 l2_l2x_counter_src0_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_src0_read() argument
384 l2_l2x_counter_src1_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_src1_read() argument
389 l2_l2x_counter_src0_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_src0_write() argument
394 l2_l2x_counter_src1_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_src1_write() argument
399 l2_all_counter_src0_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) l2_all_counter_src0_write() argument
404 l2_all_counter_src1_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) l2_all_counter_src1_write() argument
433 l2_l2x_counter_valx_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos, u32 src_id) l2_l2x_counter_valx_read() argument
461 l2_l2x_counter_val0_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_val0_read() argument
466 l2_l2x_counter_val1_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) l2_l2x_counter_val1_read() argument
483 power_always_on_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) power_always_on_write() argument
513 power_always_on_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) power_always_on_read() argument
528 power_power_events_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) power_power_events_write() argument
596 profiling_record_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) profiling_record_read() argument
605 profiling_record_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) profiling_record_write() argument
919 utilization_gp_pp_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) utilization_gp_pp_read() argument
929 utilization_gp_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) utilization_gp_read() argument
939 utilization_pp_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) utilization_pp_read() argument
964 user_settings_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) user_settings_write() argument
990 user_settings_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) user_settings_read() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem_pool_debugfs.c101 static ssize_t kbase_mem_pool_debugfs_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) in kbase_mem_pool_debugfs_write() argument
105 CSTD_UNUSED(ppos); in kbase_mem_pool_debugfs_write()
132 loff_t *ppos) in kbase_mem_pool_debugfs_max_size_write()
136 CSTD_UNUSED(ppos); in kbase_mem_pool_debugfs_max_size_write()
131 kbase_mem_pool_debugfs_max_size_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) kbase_mem_pool_debugfs_max_size_write() argument
H A Dmali_kbase_core_linux.c3680 * @ppos: File position
3690 size_t count, loff_t *ppos) in kbasep_serialize_jobs_debugfs_write()
3696 CSTD_UNUSED(ppos); in kbasep_serialize_jobs_debugfs_write()
4302 size_t count, loff_t *ppos) in kbase_device_debugfs_reset_write()
4307 CSTD_UNUSED(ppos); in kbase_device_debugfs_reset_write()
4326 * @ppos: Offset within file object
4335 loff_t *ppos) in debugfs_protected_debug_mode_read()
4346 ret_val = simple_read_from_buffer(buf, len, ppos, "1\n", 2); in debugfs_protected_debug_mode_read()
4348 ret_val = simple_read_from_buffer(buf, len, ppos, "0\n", 2); in debugfs_protected_debug_mode_read()
4376 struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) in kbase_device_debugfs_mem_pool_max_size_write()
3688 kbasep_serialize_jobs_debugfs_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) kbasep_serialize_jobs_debugfs_write() argument
4300 kbase_device_debugfs_reset_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) kbase_device_debugfs_reset_write() argument
4333 debugfs_protected_debug_mode_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) debugfs_protected_debug_mode_read() argument
4375 kbase_device_debugfs_mem_pool_max_size_write( struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) kbase_device_debugfs_mem_pool_max_size_write() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem_pool_debugfs.c106 const char __user *ubuf, size_t count, loff_t *ppos) in kbase_mem_pool_debugfs_write()
110 CSTD_UNUSED(ppos); in kbase_mem_pool_debugfs_write()
141 const char __user *ubuf, size_t count, loff_t *ppos) in kbase_mem_pool_debugfs_max_size_write()
145 CSTD_UNUSED(ppos); in kbase_mem_pool_debugfs_max_size_write()
105 kbase_mem_pool_debugfs_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) kbase_mem_pool_debugfs_write() argument
140 kbase_mem_pool_debugfs_max_size_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) kbase_mem_pool_debugfs_max_size_write() argument
H A Dmali_kbase_pbha_debugfs.c76 loff_t *ppos) in int_id_overrides_write()
74 int_id_overrides_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) int_id_overrides_write() argument
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_proc/kernel/
H A Dhiproc.c63 static hi_s32 proc_write(osal_proc_entry_t *entry, const hi_char *buf, hi_s32 count, hi_s64 *ppos);
231 user_proc_info->write_buf.ppos = proc_wait.write_buf.ppos; in hi_proc_ioctl()
343 static hi_s32 proc_write(osal_proc_entry_t *entry, const hi_char *buf, hi_s32 count, hi_s64 *ppos) in proc_write() argument
350 proc_wait.write_buf.ppos = *ppos; in proc_write()
361 proc_wait.write_buf.ppos = 0; in proc_write()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiproc/kernel/
H A Dhiproc.c62 static hi_s32 proc_write(osal_proc_entry *entry, const hi_char *buf, hi_s32 count, hi_s64 *ppos);
231 user_proc_info->write_buf.ppos = proc_wait.write_buf.ppos; in hiproc_get_cmd()
351 static hi_s32 proc_write(osal_proc_entry *entry, const hi_char *buf, hi_s32 count, hi_s64 *ppos) in proc_write() argument
358 proc_wait.write_buf.ppos = *ppos; in proc_write()
369 proc_wait.write_buf.ppos = 0; in proc_write()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_proc.c55 static ssize_t osal_procwrite(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in osal_procwrite() argument
58 return sentry->write(sentry, (char *)buf, count, (long long *)ppos); in osal_procwrite()
62 size_t count, loff_t *ppos) in osal_procwrite()
67 return item->write(item, buf, count, (long long *)ppos); in osal_procwrite()
61 osal_procwrite(struct file *file, const char __user *buf, size_t count, loff_t *ppos) osal_procwrite() argument
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/
H A Dmali_kbase_ipa_debugfs.c73 static ssize_t param_string_get(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) in param_string_get() argument
81 ret = simple_read_from_buffer(user_buf, count, ppos, param->addr.str, len); in param_string_get()
87 static ssize_t param_string_set(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) in param_string_set() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/
H A Dmali_kbase_ipa_debugfs.c75 size_t count, loff_t *ppos) in param_string_get()
83 ret = simple_read_from_buffer(user_buf, count, ppos, in param_string_get()
91 size_t count, loff_t *ppos) in param_string_set()
74 param_string_get(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) param_string_get() argument
90 param_string_set(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) param_string_set() argument
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_proc/include/
H A Dhiproc.h48 hi_s64 ppos; member
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiproc/include/
H A Dhiproc.h48 hi_s64 ppos; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/
H A Dmali_kbase_ipa_debugfs.c83 size_t count, loff_t *ppos) in param_string_get()
91 ret = simple_read_from_buffer(user_buf, count, ppos, in param_string_get()
99 size_t count, loff_t *ppos) in param_string_set()
82 param_string_get(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) param_string_get() argument
98 param_string_set(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) param_string_set() argument
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ipa/
H A Dmali_kbase_ipa_debugfs.c85 static ssize_t param_string_get(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) in param_string_get() argument
93 ret = simple_read_from_buffer(user_buf, count, ppos, param->addr.str, len); in param_string_get()
99 static ssize_t param_string_set(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) in param_string_set() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_csg_debugfs.c570 * @ppos: Offset within file object
581 char __user *user_buf, size_t count, loff_t *ppos) in kbase_csf_debugfs_scheduler_state_get()
594 return simple_read_from_buffer(user_buf, count, ppos, in kbase_csf_debugfs_scheduler_state_get()
604 * @ppos: Offset within file object
615 const char __user *ubuf, size_t count, loff_t *ppos) in kbase_csf_debugfs_scheduler_state_set()
621 CSTD_UNUSED(ppos); in kbase_csf_debugfs_scheduler_state_set()
580 kbase_csf_debugfs_scheduler_state_get(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) kbase_csf_debugfs_scheduler_state_get() argument
614 kbase_csf_debugfs_scheduler_state_set(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) kbase_csf_debugfs_scheduler_state_set() argument
H A Dmali_kbase_csf_trace_buffer.c624 char __user *buf, size_t size, loff_t *ppos) in kbasep_csf_firmware_trace_debugfs_read()
657 *ppos += n_read; in kbasep_csf_firmware_trace_debugfs_read()
623 kbasep_csf_firmware_trace_debugfs_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) kbasep_csf_firmware_trace_debugfs_read() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
H A 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() argument
144 return simple_read_from_buffer(ubuf, cnt, ppos, buf, r); in ump_memory_used_read()
/device/soc/rockchip/common/sdk_linux/drivers/opp/
H A Ddebugfs.c35 static ssize_t bw_name_read(struct file *fp, char __user *userbuf, size_t count, loff_t *ppos) in bw_name_read() argument
43 return simple_read_from_buffer(userbuf, count, ppos, buf, i); in bw_name_read()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/kutf/
H A Dkutf_suite.c215 * @ppos: Offset into file to read from
217 * Return: On success, the number of bytes read and offset @ppos advanced by
221 char __user *buf, size_t len, loff_t *ppos) in kutf_debugfs_const_string_read()
225 return simple_read_from_buffer(buf, len, ppos, str, strlen(str)); in kutf_debugfs_const_string_read()
362 * @ppos: Offset into file to read from
378 size_t len, loff_t *ppos) in kutf_debugfs_run_read()
500 * @ppos: Offset into file to write to
510 const char __user *buf, size_t len, loff_t *ppos) in kutf_debugfs_run_write()
220 kutf_debugfs_const_string_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) kutf_debugfs_const_string_read() argument
377 kutf_debugfs_run_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) kutf_debugfs_run_read() argument
509 kutf_debugfs_run_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos) kutf_debugfs_run_write() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/tests/kutf/
H A Dkutf_suite.c204 * @ppos: Offset into file to read from
206 * Return: On success, the number of bytes read and offset @ppos advanced by
210 char __user *buf, size_t len, loff_t *ppos) in kutf_debugfs_const_string_read()
214 return simple_read_from_buffer(buf, len, ppos, str, strlen(str)); in kutf_debugfs_const_string_read()
329 * @ppos: Offset into file to read from
339 size_t len, loff_t *ppos) in kutf_debugfs_run_read()
209 kutf_debugfs_const_string_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) kutf_debugfs_const_string_read() argument
338 kutf_debugfs_run_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) kutf_debugfs_run_read() argument
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/based/mkp/src/
H A Dcmpi_log.c235 int count, long long *ppos) in log_proc_write()
247 if (*ppos >= TMP_BUF_LEN) { in log_proc_write()
234 log_proc_write(struct osal_proc_dir_entry *s, const char *buf, int count, long long *ppos) log_proc_write() argument
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_proc.c141 static ssize_t osal_proc_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) in osal_proc_write() argument
160 return entry->write(entry, buf, count, ppos); in osal_proc_write()
/device/soc/rockchip/common/vendor/drivers/devfreq/
H A Drockchip_dmc_dbg.c333 static ssize_t powersave_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) in powersave_proc_write() argument
499 static ssize_t drvodt_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) in drvodt_proc_write() argument
656 static ssize_t skew_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) in skew_proc_write() argument
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
H A Ddrv_mmz_userdev.c1327 ssize_t proc_mmz_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) in proc_mmz_write() argument
1333 if ((ppos == NULL) || (*ppos >= MAX_BUFFER_LENTH) || (count >= MAX_BUFFER_LENTH)) { in proc_mmz_write()
1376 *ppos = len ; in proc_mmz_write()

Completed in 25 milliseconds

12