xref: /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_usif.h (revision 41ec02673d281bbb3d38e6c78504ce6e30c228c1)
1 /*	$NetBSD: nouveau_usif.h,v 1.4 2021/12/18 23:45:32 riastradh Exp $	*/
2 
3 /* SPDX-License-Identifier: MIT */
4 #ifndef __NOUVEAU_USIF_H__
5 #define __NOUVEAU_USIF_H__
6 
7 void usif_client_init(struct nouveau_cli *);
8 void usif_client_fini(struct nouveau_cli *);
9 #ifdef __NetBSD__
10 int  usif_ioctl(struct drm_file *, void *, u32);
11 #else
12 int  usif_ioctl(struct drm_file *, void __user *, u32);
13 #endif
14 int  usif_notify(const void *, u32, const void *, u32);
15 
16 #endif
17