Home
last modified time | relevance | path

Searched refs:ro (Results 1 – 4 of 4) sorted by relevance

/rockchip-linux_mpp/osal/
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() argument
40 sync.flags = DMA_BUF_SYNC_START | (ro ? DMA_BUF_SYNC_READ : DMA_BUF_SYNC_RW); 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() argument
56 sync.flags = DMA_BUF_SYNC_END | (ro ? DMA_BUF_SYNC_READ : DMA_BUF_SYNC_RW); 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() argument
76 sync.flags = DMA_BUF_SYNC_START | (ro ? DMA_BUF_SYNC_READ : DMA_BUF_SYNC_RW); in mpp_dmabuf_sync_partial_begin()
95 return mpp_dmabuf_sync_begin(fd, ro, caller); 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() argument
107 sync.flags = DMA_BUF_SYNC_END | (ro ? DMA_BUF_SYNC_READ : DMA_BUF_SYNC_RW); in mpp_dmabuf_sync_partial_end()
126 return mpp_dmabuf_sync_end(fd, ro, caller); in mpp_dmabuf_sync_partial_end()
/rockchip-linux_mpp/osal/inc/
H A Dmpp_dmabuf.h16 MPP_RET mpp_dmabuf_sync_begin(RK_S32 fd, RK_S32 ro, const char *caller);
17 MPP_RET mpp_dmabuf_sync_end(RK_S32 fd, RK_S32 ro, const char *caller);
18 MPP_RET mpp_dmabuf_sync_partial_begin(RK_S32 fd, RK_S32 ro, RK_U32 offset, RK_U32 length, const cha…
19 MPP_RET mpp_dmabuf_sync_partial_end(RK_S32 fd, RK_S32 ro, RK_U32 offset, RK_U32 length, const char …
/rockchip-linux_mpp/mpp/base/
H A Dmpp_buffer.c301 MPP_RET mpp_buffer_sync_begin_f(MppBuffer buffer, RK_S32 ro, const char* caller) in mpp_buffer_sync_begin_f() argument
310 return mpp_dmabuf_sync_begin(impl->info.fd, ro, caller); in mpp_buffer_sync_begin_f()
313 MPP_RET mpp_buffer_sync_end_f(MppBuffer buffer, RK_S32 ro, const char* caller) in mpp_buffer_sync_end_f() argument
322 return mpp_dmabuf_sync_end(impl->info.fd, ro, caller); in mpp_buffer_sync_end_f()
325 MPP_RET mpp_buffer_sync_partial_begin_f(MppBuffer buffer, RK_S32 ro, RK_U32 offset, RK_U32 length, … in mpp_buffer_sync_partial_begin_f() argument
334 return mpp_dmabuf_sync_partial_begin(impl->info.fd, ro, impl->offset + offset, length, caller); in mpp_buffer_sync_partial_begin_f()
337 MPP_RET mpp_buffer_sync_partial_end_f(MppBuffer buffer, RK_S32 ro, RK_U32 offset, RK_U32 length, co… in mpp_buffer_sync_partial_end_f() argument
346 return mpp_dmabuf_sync_partial_end(impl->info.fd, ro, impl->offset + offset, length, caller); in mpp_buffer_sync_partial_end_f()
/rockchip-linux_mpp/inc/
H A Dmpp_buffer.h327 MPP_RET mpp_buffer_sync_begin_f(MppBuffer buffer, RK_S32 ro, const char* caller);
328 MPP_RET mpp_buffer_sync_end_f(MppBuffer buffer, RK_S32 ro, const char* caller);
329 MPP_RET mpp_buffer_sync_partial_begin_f(MppBuffer buffer, RK_S32 ro, RK_U32 offset, RK_U32 length, …
330 MPP_RET mpp_buffer_sync_partial_end_f(MppBuffer buffer, RK_S32 ro, RK_U32 offset, RK_U32 length, co…