NVIDIA DRIVE OS Linux API Reference
5.1.0.2 Release
Welcome
API Modules
Data Structures
Files
More
File List
Globals
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
{
31
QbFldRcht_Mb1
,
32
QbFldRcht_Mts
,
33
QbFldRcht_Mb1Bct
,
34
QbFldRcht_Max
,
35
}
QbFldRchtBins
;
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
{
46
NvError
e
;
47
NvS8 Status[
FLD_RCHT_STR_MAX
];
48
}
QbFldRchtStatus
;
49
53
typedef
struct
QbChipInfoRec
54
{
56
NvU16
Id
;
58
NvU8
Major
;
60
NvU8
Minor
;
62
NvU16
Netlist
;
64
NvU16
Patch
;
66
NvU32
SubRevisionId
;
67
68
}
QbChipInfo
;
69
78
NvError
QbQueryChipInfo
(
QbChipInfo
*pInfo);
79
81
#endif //INCLUDED_CHIP_INFO_H
QbChipInfoRec::Minor
NvU8 Minor
Chip minor.
Definition:
chip_info.h:60
QbFldRcht_Mb1
Definition:
chip_info.h:31
FLD_RCHT_STR_MAX
#define FLD_RCHT_STR_MAX
Definition:
chip_info.h:37
QbChipInfoRec::SubRevisionId
NvU32 SubRevisionId
SubRevisionId.
Definition:
chip_info.h:66
QbChipInfoRec::Patch
NvU16 Patch
Chip patch.
Definition:
chip_info.h:64
QbQueryChipInfo
NvError QbQueryChipInfo(QbChipInfo *pInfo)
Gets chip information.
QbChipInfoRec::Id
NvU16 Id
Chip ID.
Definition:
chip_info.h:56
QbChipInfoRec
Defines chip-related information.
Definition:
chip_info.h:53
QbChipInfoRec::Netlist
NvU16 Netlist
Chip netlist.
Definition:
chip_info.h:62
QbFldRcht_Mb1Bct
Definition:
chip_info.h:33
QbFldRcht_Max
Definition:
chip_info.h:34
QbChipInfo
struct QbChipInfoRec QbChipInfo
Defines chip-related information.
QbFldRcht_Mts
Definition:
chip_info.h:32
QbFldRchtStatus
Definition:
chip_info.h:45
QbFldRchtBins
QbFldRchtBins
Definition:
chip_info.h:30
QbChipInfoRec::Major
NvU8 Major
Chip major.
Definition:
chip_info.h:58
QbFldRchtStatus::e
NvError e
Definition:
chip_info.h:46
Advance Information | Subject to Change | Prepared and Provided under NDA | Generated by NVIDIA | Tue Jun 11 2019 20:27:21 | PR-08890-5.1