Home
last modified time | relevance | path

Searched refs:f_pos (Results 1 - 25 of 27) sorted by relevance

12

/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_fileops.c48 writelen = __kernel_write(filp, buf, size, &filp->f_pos); in klib_fwrite()
64 readlen = vfs_read(filp, (void __user *)buf, size, &filp->f_pos); in klib_fread()
133 len = vfs_read((struct file *)filp, buf, size, &(((struct file *)filp)->f_pos)); in osal_klib_user_fread()
159 len = vfs_write((struct file *)filp, buf, size, &(((struct file *)filp)->f_pos)); in osal_klib_user_fwrite()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_file.h58 #define OAL_FILE_POS(pst_file) (pst_file->fp->f_pos)
142 ul_ret = vfs_write(pst_file->fp, pc_string, ul_length, &(pst_file->fp->f_pos)); in oal_file_write()
180 return kernel_read(pst_file->fp, pc_buf, ul_count, &(pst_file->fp->f_pos)); in oal_file_read()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_fileops.c43 return __kernel_write(filp, buf, len, &filp->f_pos); in klib_fwrite()
52 return kernel_read(filp, (void __user*)buf, len, &filp->f_pos); in klib_fread()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_timeline_io.c30 static ssize_t kbasep_timeline_io_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos);
172 * @f_pos: Pointer to file offset (unused)
176 static ssize_t kbasep_timeline_io_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos) in kbasep_timeline_io_read() argument
182 KBASE_DEBUG_ASSERT(f_pos); in kbasep_timeline_io_read()
194 if ((*f_pos < 0) || (size < PACKET_SIZE)) { in kbasep_timeline_io_read()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_timeline_io.c32 size_t size, loff_t *f_pos);
184 * @f_pos: Pointer to file offset (unused)
189 size_t size, loff_t *f_pos) in kbasep_timeline_io_read()
195 KBASE_DEBUG_ASSERT(f_pos); in kbasep_timeline_io_read()
205 if (*f_pos < 0) in kbasep_timeline_io_read()
188 kbasep_timeline_io_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos) kbasep_timeline_io_read() argument
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_ir/
H A Dhiir.c427 static int hiir_read(char *buf, int count, long *f_pos, void *private_data) in hiir_read() argument
431 hi_ir_unused(f_pos); in hiir_read()
/device/soc/rockchip/common/sdk_linux/drivers/spi/
H A Dspidev.c140 static ssize_t spidev_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) in spidev_read() argument
170 static ssize_t spidev_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) in spidev_write() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_linux.c262 filp->f_pos = 0; in ump_file_open()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.c260 static ssize_t kbasep_tlstream_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos);
847 * @f_pos: pointer to file offset (unused)
851 static ssize_t kbasep_tlstream_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos) in kbasep_tlstream_read() argument
856 KBASE_DEBUG_ASSERT(f_pos); in kbasep_tlstream_read()
862 if ((0 > *f_pos) || (PACKET_SIZE > size)) { in kbasep_tlstream_read()
H A Dmali_kbase_core_linux.c1829 static ssize_t kbase_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) in kbase_read() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.c267 loff_t *f_pos);
1147 * @f_pos: pointer to file offset (unused)
1155 loff_t *f_pos) in kbasep_tlstream_read()
1160 KBASE_DEBUG_ASSERT(f_pos); in kbasep_tlstream_read()
1165 if ((0 > *f_pos) || (PACKET_SIZE > size)) in kbasep_tlstream_read()
1151 kbasep_tlstream_read( struct file *filp, char __user *buffer, size_t size, loff_t *f_pos) kbasep_tlstream_read() argument
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
H A Dstream.c1494 kernel_write(fp, reg, strlen(reg), &fp->f_pos); in dump_file()
1507 kernel_write(fp, buf->vaddr[0], vdev->tnr.cur_rd->dbuf[0]->size, &fp->f_pos); in dump_file()
1521 kernel_write(fp, buf->vaddr[0], vdev->tnr.nxt_rd->dbuf[0]->size, &fp->f_pos); in dump_file()
1540 kernel_write(fp, dummy->vaddr, dummy->size, &fp->f_pos); in dump_file()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
H A Dstream.c1555 kernel_write(fp, reg, strlen(reg), &fp->f_pos); in dump_file()
1570 kernel_write(fp, buf->vaddr[0], vdev->tnr.cur_rd->dbuf[0]->size, &fp->f_pos); in dump_file()
1587 kernel_write(fp, buf->vaddr[0], vdev->tnr.nxt_rd->dbuf[0]->size, &fp->f_pos); in dump_file()
1608 kernel_write(fp, dummy->vaddr, dummy->size, &fp->f_pos); in dump_file()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c174 static ssize_t _mali_profiling_stream_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos);
187 static ssize_t _mali_profiling_stream_read(struct file *filp, char __user *buffer, size_t size, loff_t *f_pos) in _mali_profiling_stream_read() argument
H A Dmali_kernel_linux.c848 filp->f_pos = 0; in mali_open()
H A Dmali_kernel_sysfs.c548 file->f_pos = offset; in power_power_events_seek()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c172 loff_t *f_pos);
189 loff_t *f_pos) in _mali_profiling_stream_read()
185 _mali_profiling_stream_read( struct file *filp, char __user *buffer, size_t size, loff_t *f_pos) _mali_profiling_stream_read() argument
H A Dmali_kernel_linux.c862 filp->f_pos = 0; in mali_open()
H A Dmali_kernel_sysfs.c544 file->f_pos = offset; in power_power_events_seek()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dlinux_osl.c1271 rdlen = kernel_read(fp, buf, len, &fp->f_pos); in osl_os_get_image_block()
1273 rdlen = kernel_read(fp, fp->f_pos, buf, len); in osl_os_get_image_block()
1277 fp->f_pos += rdlen; in osl_os_get_image_block()
H A Ddhd_common.c7035 dhd_pub_t *dhdp, void *fp, const void *user_buf, unsigned long *f_pos, in __dhd_log_dump_cookie_to_file()
7059 ret = dhd_export_debug_data(COOKIE_LOG_HDR, fp, user_buf, strlen(COOKIE_LOG_HDR), f_pos); in __dhd_log_dump_cookie_to_file()
7069 ret = dhd_export_debug_data((char *)&sec_hdr, fp, user_buf, sizeof(sec_hdr), f_pos); in __dhd_log_dump_cookie_to_file()
7075 ret = dhd_export_debug_data(buf, fp, user_buf, sec_hdr.length, f_pos); in __dhd_log_dump_cookie_to_file()
7186 dhd_log_dump_cookie_to_file(dhd_pub_t *dhdp, void *fp, const void *user_buf, unsigned long *f_pos) in dhd_log_dump_cookie_to_file() argument
7192 if (!dhdp || !dhdp->logdump_cookie || (!fp && !user_buf) || !f_pos) { in dhd_log_dump_cookie_to_file()
7194 "dhdp = %p cookie %p fp = %p f_pos = %p\n", in dhd_log_dump_cookie_to_file()
7195 __FUNCTION__, dhdp, dhdp?dhdp->logdump_cookie:NULL, fp, f_pos)); in dhd_log_dump_cookie_to_file()
7204 ret = __dhd_log_dump_cookie_to_file(dhdp, fp, user_buf, f_pos, buf, buf_size); in dhd_log_dump_cookie_to_file()
7034 __dhd_log_dump_cookie_to_file( dhd_pub_t *dhdp, void *fp, const void *user_buf, unsigned long *f_pos, char *buf, uint32 buf_size) __dhd_log_dump_cookie_to_file() argument
H A Ddhd_linux.c8281 return vfs_read(filep, buf, size, &filep->f_pos); in dhd_os_read_file()
8292 filep->f_pos = filep->f_pos + offset; in dhd_os_seek_file()
8338 if (vfs_read(filep, raw_fmts, logstrs_size, &filep->f_pos) != logstrs_size) { in dhd_init_logstrs_array()
8475 error = vfs_read(filep, raw_fmts, logstrs_size, (&filep->f_pos)); in dhd_init_static_strs_array()
13337 rdlen = compat_kernel_read(fp, fp->f_pos, buf, MIN(len, size)); in dhd_os_get_image_block()
13344 fp->f_pos += rdlen; in dhd_os_get_image_block()
13362 rd_len = compat_kernel_read(fp, fp->f_pos, str, len); in dhd_os_gets_image()
13370 fp->f_pos += str_len + 1; in dhd_os_gets_image()
17013 tmp = dhd_readregl(g_dbgfs.dhdp->bus, file->f_pos in dhd_dbg_state_read()
[all...]
H A Ddhd.h3214 const void *user_buf, unsigned long *f_pos);
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_core_linux.c1976 loff_t *f_pos) in kbase_read()
2019 loff_t *f_pos) in kbase_read()
1975 kbase_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) kbase_read() argument
2018 kbase_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) kbase_read() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_core_linux.c2008 static ssize_t kbase_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) in kbase_read() argument
2052 static ssize_t kbase_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) in kbase_read() argument

Completed in 79 milliseconds

12