GVM User Suite
User tools for the GVM open source project.
inc
gpu
nvidia
resman
classes
nv2080.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 2666680 Ontario Inc.
3
*
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License
6
* as published by the Free Software Foundation; either version 2
7
* of the License, or (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
*
18
*/
19
#ifndef GPU_NVIDIA_RESMAN_CLASSES_NV2080_H
20
#define GPU_NVIDIA_RESMAN_CLASSES_NV2080_H
21
22
#include <stdint.h>
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
29
#define NV2080_CLASS 0x00002080
30
32
#define NV2080_GET_BUS_PCI_INFO 0x20801801
33
38
struct
BusGetPciInfo
{
39
uint32_t
dev_id
;
40
uint32_t
sub_dev_id
;
41
uint32_t
revision_id
;
42
uint32_t
ext_id
;
43
};
44
45
#ifdef __cplusplus
46
};
47
#endif
48
49
#endif
BusGetPciInfo
Gets the BUS PCI info.
Definition:
nv2080.h:38
BusGetPciInfo::ext_id
uint32_t ext_id
Extension ID.
Definition:
nv2080.h:42
BusGetPciInfo::revision_id
uint32_t revision_id
Revision ID.
Definition:
nv2080.h:41
BusGetPciInfo::sub_dev_id
uint32_t sub_dev_id
Sub device ID.
Definition:
nv2080.h:40
BusGetPciInfo::dev_id
uint32_t dev_id
Device ID.
Definition:
nv2080.h:39
Generated by
1.9.1