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 D0001-ffmpeg-5.1.4-rpi_24.patch7948 +int dmabuf_sync(struct dmabuf_h * const dh, unsigned int flags)
7967 + return dmabuf_sync(dh, DMA_BUF_SYNC_START | DMA_BUF_SYNC_WRITE);
7972 + return dmabuf_sync(dh, DMA_BUF_SYNC_END | DMA_BUF_SYNC_WRITE);
7979 + return dmabuf_sync(dh, DMA_BUF_SYNC_START | DMA_BUF_SYNC_READ);
7984 + return dmabuf_sync(dh, DMA_BUF_SYNC_END | DMA_BUF_SYNC_READ);
8247 +int dmabuf_sync(struct dmabuf_h * const dh, unsigned int flags);