user.h 402 B

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