Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 70) sorted by relevance

123

/rockchip-linux_mpp/osal/
H A Dmpp_eventfd.c15 RK_S32 fd = eventfd(init, 0); in mpp_eventfd_get() local
23 RK_S32 mpp_eventfd_put(RK_S32 fd) in mpp_eventfd_put()
31 RK_S32 mpp_eventfd_read(RK_S32 fd, RK_U64 *val, RK_S64 timeout) in mpp_eventfd_read()
53 RK_S32 mpp_eventfd_write(RK_S32 fd, RK_U64 val) in mpp_eventfd_write()
H A Dmpp_dmabuf.c35 MPP_RET mpp_dmabuf_sync_begin(RK_S32 fd, RK_S32 ro, const char *caller) in mpp_dmabuf_sync_begin()
51 MPP_RET mpp_dmabuf_sync_end(RK_S32 fd, RK_S32 ro, const char *caller) in mpp_dmabuf_sync_end()
67 MPP_RET mpp_dmabuf_sync_partial_begin(RK_S32 fd, RK_S32 ro, RK_U32 offset, RK_U32 length, const cha… in mpp_dmabuf_sync_partial_begin()
98 MPP_RET mpp_dmabuf_sync_partial_end(RK_S32 fd, RK_S32 ro, RK_U32 offset, RK_U32 length, const char … in mpp_dmabuf_sync_partial_end()
129 MPP_RET mpp_dmabuf_set_name(RK_S32 fd, const char *name, const char *caller) in mpp_dmabuf_set_name()
H A Dmpp_trace.c37 rk_s32 fd; member
66 rk_s32 fd = open(ftrace_paths[i], O_WRONLY | O_CLOEXEC); in mpp_trace_srv_init() local
92 static void mpp_trace_write(rk_s32 fd, const char *fmt, ...) in mpp_trace_write()
/rockchip-linux_mpp/mpp/legacy/
H A Dvpu.c125 int fd; in VPUClientInit() local
182 int fd = socket; in VPUClientRelease() local
191 int fd = socket; in VPUClientSendReg() local
272 int fd = socket; in VPUClientWaitResult() local
321 int fd = socket; in VPUClientGetHwCfg() local
336 int fd = -1; in VPUCheckSupportWidth() local
H A Dvpu_api_legacy.cpp220 static int is_valid_dma_fd(int fd) in is_valid_dma_fd()
631 RK_S32 fd = mpp_buffer_get_fd(buf); in setup_VPU_FRAME_from_mpp_frame() local
706 RK_S32 fd = -1; in decode() local
1077 RK_S32 fd = -1; in encode() local
1344 RK_S32 fd = aEncInStrm->bufPhyAddr; in encoder_sendframe() local
/rockchip-linux_mpp/osal/allocator/
H A Dallocator_ion.c46 static int ion_ioctl(int fd, int req, void *arg) in ion_ioctl()
57 static int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, in ion_alloc()
82 static int ion_free(int fd, ion_user_handle_t handle) in ion_free()
95 static int ion_map_fd(int fd, ion_user_handle_t handle, int *map_fd) in ion_map_fd()
118 static int ion_mmap(int fd, size_t length, int prot, int flags, off_t offset, in ion_mmap()
275 RK_S32 fd; in allocator_ion_open() local
347 int fd = -1; in allocator_ion_alloc() local
H A Dallocator_drm.c83 static int drm_ioctl(int fd, int req, void *arg) in drm_ioctl()
96 static int drm_handle_to_fd(int fd, RK_U32 handle, int *map_fd, RK_U32 flags) in drm_handle_to_fd()
125 static int drm_alloc(int fd, size_t len, size_t align, RK_U32 *handle, RK_U32 flags) in drm_alloc()
150 static int drm_free(int fd, RK_U32 handle) in drm_free()
161 RK_S32 fd; in os_allocator_drm_open() local
H A Dallocator_dma_heap.c30 RK_U32 fd; member
61 RK_S32 fd; member
80 int fd; in try_open_path() local
175 static int dma_heap_alloc(int fd, size_t len, RK_S32 *dmabuf_fd, RK_U32 flags) in dma_heap_alloc()
H A Dion.h281 int fd; member
320 int fd; member
360 int fd; member
/rockchip-linux_mpp/osal/driver/
H A Dmpp_vcodec_client.c36 RK_S32 fd = -1; in mpp_vcodec_open() local
47 MPP_RET mpp_vcodec_ioctl(RK_S32 fd, RK_U32 cmd, RK_U32 ctrl_cmd, RK_U32 size, void *param) in mpp_vcodec_ioctl()
68 MPP_RET mpp_vcodec_close(RK_S32 fd) in mpp_vcodec_close()
H A Dmpp_service.c58 RK_S32 mpp_service_ioctl(RK_S32 fd, RK_U32 cmd, RK_U32 size, void *param) in mpp_service_ioctl()
73 RK_S32 mpp_service_ioctl_request(RK_S32 fd, MppReqV1 *req) in mpp_service_ioctl_request()
102 RK_S32 fd = -1; in check_mpp_service_cap() local
256 RK_S32 fd = node->buf_fd; in mpp_service_ioc_attach_fd() local
278 RK_S32 fd = node->buf_fd; in mpp_service_ioc_detach_fd() local
/rockchip-linux_mpp/osal/test/
H A Dmpp_dmabuf_test.c20 RK_S32 fd = -1; in main() local
/rockchip-linux_mpp/mpp/vproc/vdpp/
H A Dhwpq_vdpp_proc.c419 static void* vdpp_map_buffer_with_fd(int fd, size_t bufSize) in vdpp_map_buffer_with_fd()
477 int fd = p_proc_param->src_img_info.img_yrgb.fd; in vdpp_dump() local
498 int fd = p_proc_param->src_img_info.img_yrgb.fd; in vdpp_dump() local
H A Dvdpp.h42 RK_S32 fd; member
/rockchip-linux_mpp/mpp/hal/common/h264/
H A Dhal_h264e_stream_amend.c175 RK_S32 fd = mpp_buffer_get_fd(buf); in h264e_vepu_stream_amend_proc() local
364 RK_S32 fd = mpp_buffer_get_fd(buf); in h264e_vepu_stream_amend_sync_ref_idc() local
/rockchip-linux_mpp/utils/
H A Dcamera_source.c45 RK_S32 fd; // Device handle member
91 static RK_S32 camera_source_ioctl(RK_S32 fd, RK_S32 req, void* arg) in camera_source_ioctl()
/rockchip-linux_mpp/mpp/vproc/iep/
H A Diep.c38 RK_S32 fd; member
50 RK_S32 fd = -1; in iep_init() local
/rockchip-linux_mpp/mpp/hal/rkenc/common/
H A Dvepu580_common.c60 RK_S32 fd = -1; in vepu580_set_osd() local
/rockchip-linux_mpp/mpp/vproc/
H A Dmpp_dec_vproc.c157 RK_S32 fd = (buf) ? (mpp_buffer_get_fd(buf)) : (-1); in dec_vproc_clr_prev0() local
181 RK_S32 fd = (buf) ? (mpp_buffer_get_fd(buf)) : (-1); in dec_vproc_clr_prev1() local
223 static void dec_vproc_set_img(MppDecVprocCtxImpl *ctx, IepImg *img, RK_S32 fd, IepCmd cmd) in dec_vproc_set_img()
278 int fd = -1; in dec_vproc_set_dei_v1() local
390 RK_S32 fd = -1; in dec_vproc_config_dei_v2() local
/rockchip-linux_mpp/kmpp/
H A Dkmpp.c45 RK_U32 fd; member
595 static MPP_RET get_fd(Kmpp *ctx, RK_S32 *fd) in get_fd()
613 static MPP_RET close_fd(Kmpp *ctx, RK_S32 fd) in close_fd()
/rockchip-linux_mpp/mpp/base/test/
H A Dmpp_cfg_test.c83 rk_s32 fd = -1; in main() local
/rockchip-linux_mpp/mpp/vproc/rga/
H A Drga.c168 RK_S32 fd = mpp_buffer_get_fd(buf); in config_rga_image() local
352 RK_S32 fd = mpp_buffer_get_fd(buf); in rga_dup_field() local
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c1009 RK_S32 fd = mpp_buffer_get_fd(ctx->roi_buf); in setup_vepu541_intra_refresh() local
1114 RK_S32 fd = mpp_buffer_get_fd(ctx->roi_buf); in setup_vepu541_roi() local
1143 RK_S32 fd = mpp_buffer_get_fd(buf_pixel); in setup_vepu541_recn_refr() local
1158 RK_S32 fd = mpp_buffer_get_fd(buf_pixel); in setup_vepu541_recn_refr() local
/rockchip-linux_mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_rkv.c447 RK_U32 fd = mpp_buffer_get_fd(reg_ctx->scaling_list_data); in hal_h265d_v345_output_pps_packet() local
660 RK_U32 fd = mpp_buffer_get_fd(reg_ctx->scaling_list_data); in hal_h265d_output_pps_packet() local
/rockchip-linux_mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu384a.c412 RK_S32 fd = -1; in set_registers() local
430 RK_S32 fd = -1; in set_registers() local
507 RK_S32 fd = -1; in set_registers() local

123