1 #ifndef __NVIF_IF0003_H__ 2 #define __NVIF_IF0003_H__ 3 4 struct nvif_perfdom_v0 { 5 __u8 version; 6 __u8 domain; 7 __u8 mode; 8 __u8 pad03[1]; 9 struct { 10 __u8 signal[4]; 11 __u64 source[4][8]; 12 __u16 logic_op; 13 } ctr[4]; 14 }; 15 16 #define NVIF_PERFDOM_V0_INIT 0x00 17 #define NVIF_PERFDOM_V0_SAMPLE 0x01 18 #define NVIF_PERFDOM_V0_READ 0x02 19 20 struct nvif_perfdom_init { 21 }; 22 23 struct nvif_perfdom_sample { 24 }; 25 26 struct nvif_perfdom_read_v0 { 27 __u8 version; 28 __u8 pad01[7]; 29 __u32 ctr[4]; 30 __u32 clk; 31 __u8 pad04[4]; 32 }; 33 #endif 34