Userspace API to read Tegra chip information such as Chip ID, revision, fuse.
Macros | |
| #define | TEGRA_CHIPID_REV_UNKNOWN 0x0 |
| Identifier for unknown ChipID revision. More... | |
| #define | TEGRA_PRODUCTION_MODE_UNKNOWN ~0x0U |
| Identifier for unknown Production mode. More... | |
Functions | |
| NvSocSysErrCode | NvTegraSysGetVerboseLevel (NvS32 *VerbLevel) |
| Identifier for unknown Production mode. More... | |
| NvSocSysErrCode | NvTegraSysSetVerboseLevel (NvS32 VerbLevel) |
| NvSocChipId | NvTegraSysGetChipId (void) |
| Read the Tegra chip ID from chipid registers. More... | |
| NvSocSysErrCode | NvTegraSysGetSkuInfo (NvU32 *sku) |
| Read the Tegra chip SKU information from eFuse registers. More... | |
| NvSocSysErrCode | NvTegraSysGetReservedProduction (NvU32 *resproduction) |
| Read the Tegra chip Reserved Production information from eFuse registers. More... | |
| NvSocSysErrCode | NvTegraSysGetPackageInfo (NvU32 *package) |
| Read the Tegra chip Package information from eFuse registers. More... | |
| NvU32 | NvTegraSysGetProductionMode (void) |
| Read the Tegra chip Production mode information from eFuse registers. More... | |
| NvSocRevision | NvTegraSysGetChipRevision (void) |
| Read the Tegra chip Revision information from eFuse registers. More... | |
| NvU32 | NvTegraSysGetChipIdRev (void) |
| Read the Tegra chip Id Rev value. More... | |
| NvSocSysErrCode | NvTegraSysGetFuseVP9Disable (NvU32 *vp9disable) |
| Check whether VP9 (Video Encode/Decode) is disabled or not. More... | |
| NvSocSysErrCode | NvTegraSysGetFuseVP9DecDisable (NvU32 *vp9decdisable) |
| Check whether VP9 Decoder is disabled or not. More... | |
| NvSocSysErrCode | NvTegraSysGetFuseVP9EncDisable (NvU32 *vp9encdisable) |
| Check whether VP9 Encoder is disabled or not. More... | |
| const char * | NvTegraSysGetPlatform (void) |
| Get Platform Name. More... | |
| const char * | NvTegraSysGetCpuType (void) |
| Get CPU Type. More... | |
| NvSocSysErrCode | NvTegraSysGetFuseOPT_info (NvSocFuseOPTInfo FuseOPT, NvU32 *FuseOPT_info) |
| Get FUSE OPT register data following. More... | |
| NvSocSysErrCode | NvTegraSysGetFuseHashedECID (NvSysTegraECID *ecid) |
| Get Hashed ECID info with 512bits. More... | |
| NvSocSysErrCode | NvTegraSysGetFuseODMData (NvU32 *ODMID_0, NvU32 *ODMID_1, NvU32 *ODMInfo) |
| Get ODM data. More... | |
| const char * | NvTegraSysGetSOCVendor (void) |
| Get SOC Vendor Name. More... | |
| NvSocSysErrCode | NvTegraSysGetFuseDLADisable (NvU32 *dladisable) |
| Check whether DLA is disabled or not. More... | |
| NvSocSysErrCode | NvTegraSysInit (NvSysSocId SocId) |
| Initialize NvSocSys library to be able to read chip information. More... | |
| NvSocSysErrCode | NvTegraSysDeInit (void) |
| De-initialize NvSocSys library and perform cleanup. More... | |
| #define TEGRA_CHIPID_REV_UNKNOWN 0x0 |
Identifier for unknown ChipID revision.
Definition at line 316 of file nvsocsysapi.h.
| #define TEGRA_PRODUCTION_MODE_UNKNOWN ~0x0U |
Identifier for unknown Production mode.
Definition at line 318 of file nvsocsysapi.h.
| enum NvSocFuseOPTInfo |
Enumerator of FUSE bit info.
Definition at line 166 of file nvsocsysapi.h.
| enum NvSocSysErrCode |
Error code for reading system info.
| Enumerator | |
|---|---|
| NvSocSysError | Error for common. |
| NvSocSysErrUnavailable | Error for unavailable. |
| NvSocSysSuccess | Success. |
Definition at line 146 of file nvsocsysapi.h.
| enum NvSysSocId |
SOC types for retrieving info.
| Enumerator | |
|---|---|
| NvSysSocAutoDetect | Auto detect SoC ID. |
| NvSysSocT18x | SoC ID - T18x. |
| NvSysSocInvalid | Invalid SoC ID. |
Definition at line 156 of file nvsocsysapi.h.
| NvSocSysErrCode NvTegraSysDeInit | ( | void | ) |
De-initialize NvSocSys library and perform cleanup.
Usage considerations
| NvSocChipId NvTegraSysGetChipId | ( | void | ) |
Read the Tegra chip ID from chipid registers.
Usage considerations
| NvU32 NvTegraSysGetChipIdRev | ( | void | ) |
Read the Tegra chip Id Rev value.
Usage considerations
| NvSocRevision NvTegraSysGetChipRevision | ( | void | ) |
Read the Tegra chip Revision information from eFuse registers.
Usage considerations
| const char* NvTegraSysGetCpuType | ( | void | ) |
Get CPU Type.
Usage considerations
| NvSocSysErrCode NvTegraSysGetFuseDLADisable | ( | NvU32 * | dladisable | ) |
Check whether DLA is disabled or not.
| [out] | dladisable |
|
Usage considerations
| NvSocSysErrCode NvTegraSysGetFuseHashedECID | ( | NvSysTegraECID * | ecid | ) |
Get Hashed ECID info with 512bits.
| [out] | ecid | Structure NvSysTegraECID for 512bits ECID |
Usage considerations
| NvSocSysErrCode NvTegraSysGetFuseODMData | ( | NvU32 * | ODMID_0, |
| NvU32 * | ODMID_1, | ||
| NvU32 * | ODMInfo | ||
| ) |
Get ODM data.
| [out] | ODMID_0 | MSB 32bit data for ODMID |
| [out] | ODMID_1 | LSB 32bit data for ODMID |
| [out] | ODMInfo | 32bit data for ODMInfo |
Usage considerations
| NvSocSysErrCode NvTegraSysGetFuseOPT_info | ( | NvSocFuseOPTInfo | FuseOPT, |
| NvU32 * | FuseOPT_info | ||
| ) |
Get FUSE OPT register data following.
| [in] | FuseOPT | enums to get Fuse OPT info at NvSocFuseOPTInfo. |
| [out] | FuseOPT_info | pointer to return Fuse OPT info data. |
Usage considerations
| NvSocSysErrCode NvTegraSysGetFuseVP9DecDisable | ( | NvU32 * | vp9decdisable | ) |
Check whether VP9 Decoder is disabled or not.
| [out] | vp9decdisable |
|
Usage considerations
| NvSocSysErrCode NvTegraSysGetFuseVP9Disable | ( | NvU32 * | vp9disable | ) |
Check whether VP9 (Video Encode/Decode) is disabled or not.
| [out] | vp9disable |
|
Usage considerations
| NvSocSysErrCode NvTegraSysGetFuseVP9EncDisable | ( | NvU32 * | vp9encdisable | ) |
Check whether VP9 Encoder is disabled or not.
| [out] | vp9encdisable |
|
Usage considerations
| NvSocSysErrCode NvTegraSysGetPackageInfo | ( | NvU32 * | package | ) |
Read the Tegra chip Package information from eFuse registers.
| [out] | package | Chip Package Information as following integer
|
Usage considerations
| const char* NvTegraSysGetPlatform | ( | void | ) |
Get Platform Name.
Usage considerations
| NvU32 NvTegraSysGetProductionMode | ( | void | ) |
Read the Tegra chip Production mode information from eFuse registers.
Usage considerations
| NvSocSysErrCode NvTegraSysGetReservedProduction | ( | NvU32 * | resproduction | ) |
Read the Tegra chip Reserved Production information from eFuse registers.
| [out] | resproduction | Reserved production information as NvU32 value. |
Usage considerations
| NvSocSysErrCode NvTegraSysGetSkuInfo | ( | NvU32 * | sku | ) |
Read the Tegra chip SKU information from eFuse registers.
| [out] | sku | SKU information as NvU32 value. |
Usage considerations
| const char* NvTegraSysGetSOCVendor | ( | void | ) |
Get SOC Vendor Name.
Usage considerations
| NvSocSysErrCode NvTegraSysGetVerboseLevel | ( | NvS32 * | VerbLevel | ) |
Identifier for unknown Production mode.
| NvSocSysErrCode NvTegraSysInit | ( | NvSysSocId | SocId | ) |
Initialize NvSocSys library to be able to read chip information.
| [in] | SocId | id for detection, default is NvSysSocAutoDetect. |
Usage considerations
| NvSocSysErrCode NvTegraSysSetVerboseLevel | ( | NvS32 | VerbLevel | ) |