blob: 30200306d53a0dd602f8293d1f14dab4d8eb0491 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2019 Xilinx, Inc.
*
* Author: Hyun Woo Kwon <hyun.kwon@xilinx.com>
*
* DMA buf support for UIO device
*
*/
#ifndef _UIO_DMABUF_H_
#define _UIO_DMABUF_H_
struct uio_device;
struct list_head;
struct mutex;
long uio_dmabuf_map(struct uio_device *dev, struct list_head *dbufs,
struct mutex *dbufs_lock, void __user *user_args);
long uio_dmabuf_unmap(struct uio_device *dev, struct list_head *dbufs,
struct mutex *dbufs_lock, void __user *user_args);
int uio_dmabuf_cleanup(struct uio_device *dev, struct list_head *dbufs,
struct mutex *dbufs_lock);
#endif
|