ARM: pmu: add support for interrupt-affinity property
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvif / event.h
blob21764499b4bef19b3eea0a5d6703dc024c305b02
1 #ifndef __NVIF_EVENT_H__
2 #define __NVIF_EVENT_H__
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) */
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) */
22 struct nvif_notify_head_req_v0 {
23 /* nvif_notify_req ... */
24 __u8 version;
25 __u8 head;
26 __u8 pad02[6];
29 struct nvif_notify_head_rep_v0 {
30 /* nvif_notify_rep ... */
31 __u8 version;
32 __u8 pad01[7];
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];
47 struct nvif_notify_conn_rep_v0 {
48 /* nvif_notify_rep ... */
49 __u8 version;
50 __u8 mask;
51 __u8 pad02[6];
54 struct nvif_notify_uevent_req {
55 /* nvif_notify_req ... */
58 struct nvif_notify_uevent_rep {
59 /* nvif_notify_rep ... */
62 #endif