Home
last modified time | relevance | path

Searched refs:dmabuf_sync (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c134 static int dmabuf_sync(int fd, int start_stop) in dmabuf_sync() function
176 dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_START); in test_alloc_and_import()
179 dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_END); in test_alloc_and_import()
193 ret = dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_START); in test_alloc_and_import()
200 ret = dmabuf_sync(dmabuf_fd, DMA_BUF_SYNC_END); in test_alloc_and_import()
248 dmabuf_sync(dmabuf_fd[i], DMA_BUF_SYNC_START); in test_alloc_zeroed()
250 dmabuf_sync(dmabuf_fd[i], DMA_BUF_SYNC_END); in test_alloc_zeroed()
272 dmabuf_sync(dmabuf_fd[i], DMA_BUF_SYNC_START); in test_alloc_zeroed()
280 dmabuf_sync(dmabuf_fd[i], DMA_BUF_SYNC_END); in test_alloc_zeroed()
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch54671 +int dmabuf_sync(struct dmabuf_h * const dh, unsigned int flags)
54688 + return dmabuf_sync(dh, DMA_BUF_SYNC_START | DMA_BUF_SYNC_WRITE);
54693 + return dmabuf_sync(dh, DMA_BUF_SYNC_END | DMA_BUF_SYNC_WRITE);
54700 + return dmabuf_sync(dh, DMA_BUF_SYNC_START | DMA_BUF_SYNC_READ);
54705 + return dmabuf_sync(dh, DMA_BUF_SYNC_END | DMA_BUF_SYNC_READ);
54842 +int dmabuf_sync(struct dmabuf_h * const dh, unsigned int flags);