Linux 4.1-rc5
[deliverable/linux.git] / drivers / gpu / drm / nouveau / include / nvif / event.h
1 #ifndef __NVIF_EVENT_H__
2 #define __NVIF_EVENT_H__
3
4 struct nvif_notify_req_v0 {
5 __u8 version;
6 __u8 reply;
7 __u8 pad02[5];
8 #define NVIF_NOTIFY_V0_ROUTE_NVIF 0x00
9 __u8 route;
10 __u64 token; /* must be unique */
11 __u8 data[]; /* request data (below) */
12 };
13
14 struct nvif_notify_rep_v0 {
15 __u8 version;
16 __u8 pad01[6];
17 __u8 route;
18 __u64 token;
19 __u8 data[]; /* reply data (below) */
20 };
21
22 struct nvif_notify_head_req_v0 {
23 /* nvif_notify_req ... */
24 __u8 version;
25 __u8 head;
26 __u8 pad02[6];
27 };
28
29 struct nvif_notify_head_rep_v0 {
30 /* nvif_notify_rep ... */
31 __u8 version;
32 __u8 pad01[7];
33 };
34
35 struct nvif_notify_conn_req_v0 {
36 /* nvif_notify_req ... */
37 __u8 version;
38 #define NVIF_NOTIFY_CONN_V0_PLUG 0x01
39 #define NVIF_NOTIFY_CONN_V0_UNPLUG 0x02
40 #define NVIF_NOTIFY_CONN_V0_IRQ 0x04
41 #define NVIF_NOTIFY_CONN_V0_ANY 0x07
42 __u8 mask;
43 __u8 conn;
44 __u8 pad03[5];
45 };
46
47 struct nvif_notify_conn_rep_v0 {
48 /* nvif_notify_rep ... */
49 __u8 version;
50 __u8 mask;
51 __u8 pad02[6];
52 };
53
54 struct nvif_notify_uevent_req {
55 /* nvif_notify_req ... */
56 };
57
58 struct nvif_notify_uevent_rep {
59 /* nvif_notify_rep ... */
60 };
61
62 #endif
This page took 0.068784 seconds and 5 git commands to generate.