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 Information

Detailed Description

Declares an interface for chip information.

Data Structures

struct  QbFldRchtStatus
 
struct  QbChipInfoRec
 Defines chip-related information. More...
 

Macros

#define FLD_RCHT_STR_MAX   12
 
#define FLD_RCHT_NOT_CHECKED   "not_tried" /* Default status*/
 
#define FLD_RCHT_SKIPPED_ACTIVE   "skipped_a" /* HW value matches with binary ratchet */
 
#define FLD_RCHT_SKIPPED_INACTIVE   "skipped_i" /* HW value matches inactive binary ratchet value */
 
#define FLD_RCHT_SUCCESS   "updated" /* Ratchet successful in current boot session */
 
#define FLD_RCHT_FAILED   "failed" /* Ratchet check or update attempted but failed */
 
#define FLD_RCHT_NO_OPTIN   "no_optin" /* Customer not opted for field ratchet */
 

Typedefs

typedef struct QbChipInfoRec QbChipInfo
 Defines chip-related information. More...
 

Enumerations

enum  QbFldRchtBins {
  QbFldRcht_Mb1,
  QbFldRcht_Mts,
  QbFldRcht_Mb1Bct,
  QbFldRcht_Max
}
 

Functions

NvError QbQueryChipInfo (QbChipInfo *pInfo)
 Gets chip information. More...
 
NvBool IsPlatformVDK (void)
 Indicates if the platform is VDK. More...
 

Macro Definition Documentation

#define FLD_RCHT_FAILED   "failed" /* Ratchet check or update attempted but failed */

Definition at line 42 of file chip_info.h.

#define FLD_RCHT_NO_OPTIN   "no_optin" /* Customer not opted for field ratchet */

Definition at line 43 of file chip_info.h.

#define FLD_RCHT_NOT_CHECKED   "not_tried" /* Default status*/

Definition at line 38 of file chip_info.h.

#define FLD_RCHT_SKIPPED_ACTIVE   "skipped_a" /* HW value matches with binary ratchet */

Definition at line 39 of file chip_info.h.

#define FLD_RCHT_SKIPPED_INACTIVE   "skipped_i" /* HW value matches inactive binary ratchet value */

Definition at line 40 of file chip_info.h.

#define FLD_RCHT_STR_MAX   12

Definition at line 37 of file chip_info.h.

#define FLD_RCHT_SUCCESS   "updated" /* Ratchet successful in current boot session */

Definition at line 41 of file chip_info.h.

Typedef Documentation

typedef struct QbChipInfoRec QbChipInfo

Defines chip-related information.

Enumeration Type Documentation

Enumerator
QbFldRcht_Mb1 
QbFldRcht_Mts 
QbFldRcht_Mb1Bct 
QbFldRcht_Max 

Definition at line 30 of file chip_info.h.

Function Documentation

NvBool IsPlatformVDK ( void  )

Indicates if the platform is VDK.

Returns
NV_TRUE if platform is VDK otherwise returns NV_FALSE.
NvError QbQueryChipInfo ( QbChipInfo pInfo)

Gets chip information.

Parameters
[out]pInfoA pointer of type QbChipInfo.
Returns
NvError_BadParameter if pInfo is NULL, otherwise returns NvSuccess after successfully storing chip information in pInfo parameter.