13f012e29Smrg#ifndef __NVIF_CL0080_H__
23f012e29Smrg#define __NVIF_CL0080_H__
33f012e29Smrg
43f012e29Smrgstruct nv_device_v0 {
53f012e29Smrg	__u8  version;
63f012e29Smrg	__u8  pad01[7];
73f012e29Smrg	__u64 device;	/* device identifier, ~0 for client default */
83f012e29Smrg};
93f012e29Smrg
103f012e29Smrg#define NV_DEVICE_V0_INFO                                                  0x00
113f012e29Smrg#define NV_DEVICE_V0_TIME                                                  0x01
123f012e29Smrg
133f012e29Smrgstruct nv_device_info_v0 {
143f012e29Smrg	__u8  version;
153f012e29Smrg#define NV_DEVICE_INFO_V0_IGP                                              0x00
163f012e29Smrg#define NV_DEVICE_INFO_V0_PCI                                              0x01
173f012e29Smrg#define NV_DEVICE_INFO_V0_AGP                                              0x02
183f012e29Smrg#define NV_DEVICE_INFO_V0_PCIE                                             0x03
193f012e29Smrg#define NV_DEVICE_INFO_V0_SOC                                              0x04
203f012e29Smrg	__u8  platform;
213f012e29Smrg	__u16 chipset;	/* from NV_PMC_BOOT_0 */
223f012e29Smrg	__u8  revision;	/* from NV_PMC_BOOT_0 */
233f012e29Smrg#define NV_DEVICE_INFO_V0_TNT                                              0x01
243f012e29Smrg#define NV_DEVICE_INFO_V0_CELSIUS                                          0x02
253f012e29Smrg#define NV_DEVICE_INFO_V0_KELVIN                                           0x03
263f012e29Smrg#define NV_DEVICE_INFO_V0_RANKINE                                          0x04
273f012e29Smrg#define NV_DEVICE_INFO_V0_CURIE                                            0x05
283f012e29Smrg#define NV_DEVICE_INFO_V0_TESLA                                            0x06
293f012e29Smrg#define NV_DEVICE_INFO_V0_FERMI                                            0x07
303f012e29Smrg#define NV_DEVICE_INFO_V0_KEPLER                                           0x08
313f012e29Smrg#define NV_DEVICE_INFO_V0_MAXWELL                                          0x09
323f012e29Smrg	__u8  family;
333f012e29Smrg	__u8  pad06[2];
343f012e29Smrg	__u64 ram_size;
353f012e29Smrg	__u64 ram_user;
363f012e29Smrg	char  chip[16];
373f012e29Smrg	char  name[64];
383f012e29Smrg};
393f012e29Smrg
403f012e29Smrgstruct nv_device_time_v0 {
413f012e29Smrg	__u8  version;
423f012e29Smrg	__u8  pad01[7];
433f012e29Smrg	__u64 time;
443f012e29Smrg};
453f012e29Smrg#endif
46