1 #ifndef __NVIF_USER_H__ 2 #define __NVIF_USER_H__ 3 #include <nvif/object.h> 4 struct nvif_device; 5 6 struct nvif_user { 7 const struct nvif_user_func *func; 8 struct nvif_object object; 9 }; 10 11 struct nvif_user_func { 12 void (*doorbell)(struct nvif_user *, u32 token); 13 }; 14 15 int nvif_user_init(struct nvif_device *); 16 void nvif_user_fini(struct nvif_device *); 17 18 extern const struct nvif_user_func nvif_userc361; 19 #endif 20