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