summaryrefslogtreecommitdiff
path: root/nvif/event.h
blob: 6daced0988930f8caab64444b539ad2c333d15f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __NVIF_EVENT_H__
#define __NVIF_EVENT_H__

struct nvif_notify_head_req_v0 {
	__u8  version;
	__u8  head;
};

struct nvif_notify_head_rep_v0 {
	__u8  version;
};

struct nvif_notify_conn_req_v0 {
	__u8  version;
#define NVIF_NOTIFY_CONN_V0_PLUG                                           0x01
#define NVIF_NOTIFY_CONN_V0_UNPLUG                                         0x02
#define NVIF_NOTIFY_CONN_V0_IRQ                                            0x04
#define NVIF_NOTIFY_CONN_V0_ANY                                            0x07
	__u8  mask;
	__u8  conn;
};

struct nvif_notify_conn_rep_v0 {
	__u8  version;
	__u8  mask;
};

#endif