Back to home page

OSCL-LXR

 
 

    


0001 #ifndef __NVIF_USER_H__
0002 #define __NVIF_USER_H__
0003 #include <nvif/object.h>
0004 struct nvif_device;
0005 
0006 struct nvif_user {
0007     const struct nvif_user_func *func;
0008     struct nvif_object object;
0009 };
0010 
0011 struct nvif_user_func {
0012     void (*doorbell)(struct nvif_user *, u32 token);
0013     u64 (*time)(struct nvif_user *);
0014 };
0015 
0016 int nvif_user_ctor(struct nvif_device *, const char *name);
0017 void nvif_user_dtor(struct nvif_device *);
0018 
0019 extern const struct nvif_user_func nvif_userc361;
0020 #endif