File indexing completed on 2025-01-18 10:01:48
0001 #ifndef __NVIF_CL0080_H__
0002 #define __NVIF_CL0080_H__
0003
0004 struct nv_device_v0 {
0005 __u8 version;
0006 __u8 pad01[7];
0007 __u64 device;
0008 };
0009
0010 #define NV_DEVICE_V0_INFO 0x00
0011 #define NV_DEVICE_V0_TIME 0x01
0012
0013 struct nv_device_info_v0 {
0014 __u8 version;
0015 #define NV_DEVICE_INFO_V0_IGP 0x00
0016 #define NV_DEVICE_INFO_V0_PCI 0x01
0017 #define NV_DEVICE_INFO_V0_AGP 0x02
0018 #define NV_DEVICE_INFO_V0_PCIE 0x03
0019 #define NV_DEVICE_INFO_V0_SOC 0x04
0020 __u8 platform;
0021 __u16 chipset;
0022 __u8 revision;
0023 #define NV_DEVICE_INFO_V0_TNT 0x01
0024 #define NV_DEVICE_INFO_V0_CELSIUS 0x02
0025 #define NV_DEVICE_INFO_V0_KELVIN 0x03
0026 #define NV_DEVICE_INFO_V0_RANKINE 0x04
0027 #define NV_DEVICE_INFO_V0_CURIE 0x05
0028 #define NV_DEVICE_INFO_V0_TESLA 0x06
0029 #define NV_DEVICE_INFO_V0_FERMI 0x07
0030 #define NV_DEVICE_INFO_V0_KEPLER 0x08
0031 #define NV_DEVICE_INFO_V0_MAXWELL 0x09
0032 __u8 family;
0033 __u8 pad06[2];
0034 __u64 ram_size;
0035 __u64 ram_user;
0036 char chip[16];
0037 char name[64];
0038 };
0039
0040 struct nv_device_time_v0 {
0041 __u8 version;
0042 __u8 pad01[7];
0043 __u64 time;
0044 };
0045 #endif