NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
chip_info.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2010-2018, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 
25 #ifndef INCLUDED_CHIP_INFO_H
26 #define INCLUDED_CHIP_INFO_H
27 
28 #include <nvcommon.h>
29 
30 typedef enum {
36 
37 #define FLD_RCHT_STR_MAX 12
38 #define FLD_RCHT_NOT_CHECKED "not_tried" /* Default status*/
39 #define FLD_RCHT_SKIPPED_ACTIVE "skipped_a" /* HW value matches with binary ratchet */
40 #define FLD_RCHT_SKIPPED_INACTIVE "skipped_i" /* HW value matches inactive binary ratchet value */
41 #define FLD_RCHT_SUCCESS "updated" /* Ratchet successful in current boot session */
42 #define FLD_RCHT_FAILED "failed" /* Ratchet check or update attempted but failed */
43 #define FLD_RCHT_NO_OPTIN "no_optin" /* Customer not opted for field ratchet */
44 
45 typedef struct {
47  NvS8 Status[FLD_RCHT_STR_MAX];
49 
53 typedef struct QbChipInfoRec
54 {
56  NvU16 Id;
58  NvU8 Major;
60  NvU8 Minor;
62  NvU16 Netlist;
64  NvU16 Patch;
67 
68 }QbChipInfo;
69 
79 
80 
86 NvBool IsPlatformVDK(void);
87 
89 #endif //INCLUDED_CHIP_INFO_H
NvU8 Minor
Chip minor.
Definition: chip_info.h:60
NvBool IsPlatformVDK(void)
Indicates if the platform is VDK.
NvError
The NvError enumeration contains ALL return / error codes.
Definition: nverror.h:36
#define FLD_RCHT_STR_MAX
Definition: chip_info.h:37
NvU32 SubRevisionId
SubRevisionId.
Definition: chip_info.h:66
NvU16 Patch
Chip patch.
Definition: chip_info.h:64
NvError QbQueryChipInfo(QbChipInfo *pInfo)
Gets chip information.
NvU16 Id
Chip ID.
Definition: chip_info.h:56
Defines chip-related information.
Definition: chip_info.h:53
NvU16 Netlist
Chip netlist.
Definition: chip_info.h:62
struct QbChipInfoRec QbChipInfo
Defines chip-related information.
QbFldRchtBins
Definition: chip_info.h:30
NvU8 Major
Chip major.
Definition: chip_info.h:58