Home | History | Annotate | Line # | Download | only in nvif
      1  1.1  riastrad /*	$NetBSD: user.h,v 1.2 2021/12/18 23:45:33 riastradh Exp $	*/
      2  1.1  riastrad 
      3  1.1  riastrad #ifndef __NVIF_USER_H__
      4  1.1  riastrad #define __NVIF_USER_H__
      5  1.1  riastrad #include <nvif/object.h>
      6  1.1  riastrad struct nvif_device;
      7  1.1  riastrad 
      8  1.1  riastrad struct nvif_user {
      9  1.1  riastrad 	const struct nvif_user_func *func;
     10  1.1  riastrad 	struct nvif_object object;
     11  1.1  riastrad };
     12  1.1  riastrad 
     13  1.1  riastrad struct nvif_user_func {
     14  1.1  riastrad 	void (*doorbell)(struct nvif_user *, u32 token);
     15  1.1  riastrad };
     16  1.1  riastrad 
     17  1.1  riastrad int nvif_user_init(struct nvif_device *);
     18  1.1  riastrad void nvif_user_fini(struct nvif_device *);
     19  1.1  riastrad 
     20  1.1  riastrad extern const struct nvif_user_func nvif_userc361;
     21  1.1  riastrad #endif
     22