brintos

brintos / linux-shallow public Read only

0
0
Text · 454 B · 146986a Raw
21 lines · c
1#ifndef __NVIF_USER_H__2#define __NVIF_USER_H__3#include <nvif/object.h>4struct nvif_device;5 6struct nvif_user {7	const struct nvif_user_func *func;8	struct nvif_object object;9};10 11struct nvif_user_func {12	void (*doorbell)(struct nvif_user *, u32 token);13	u64 (*time)(struct nvif_user *);14};15 16int nvif_user_ctor(struct nvif_device *, const char *name);17void nvif_user_dtor(struct nvif_device *);18 19extern const struct nvif_user_func nvif_userc361;20#endif21