NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release

Detailed Description

mNAND chip information

Main structure containing all device information, capabilities, and descriptors. This structure is used to maintain state and information for both eMMC and UFS devices throughout their lifecycle.

Definition at line 769 of file nvmnand.h.

Collaboration diagram for __mnand_chip:

Data Fields

int fd
 File descriptor to the device. More...
 
uint32_t identifier
 32bit magic number for plausibilty check. More...
 
char desc [128]
 Chip description, mNAND specific. More...
 
char prn [MAX_PRN_STR_LEN]
 Product Name. More...
 
char fw_version [MAX_FW_STR_LEN]
 Firmware version. More...
 
void * priv_ops
 mNAND vendor specific private operations More...
 
void * priv_chip_ops
 mNAND storage specific private operations More...
 
int num_blocks
 Number of blocks available. More...
 
mnand_block_info * block_info
 Block info list, indexed by num_blocks. More...
 
int refresh_available
 Indicates if force refresh is available. More...
 
int ffu_available
 Indicates if FFU (Field Firmware Update) is available. More...
 
mnand_refresh_properties rfsh_properties
 Refresh properties for the device. More...
 
int summary_available
 Indicates if summary information is available. More...
 
int smart_summary_available
 Indicates if smart summary information is available. More...
 
mnand_summary_info * summary
 Summary information, not NULL when available. More...
 
mnand_cid_info cid
 Card Identification Data (eMMC only) More...
 
mnand_csd_info csd
 Card Specific Data (eMMC only) More...
 
mnand_ext_csd_info xcsd
 Extended Card Specific Data (eMMC only) More...
 
mnand_device_desc_info device_desc
 Device Descriptor (UFS only) More...
 
mnand_config_desc_info cfg_desc
 Configuration Descriptor (UFS only) More...
 
mnand_geo_desc_info geo_desc
 Geometry Descriptor (UFS only) More...
 
mnand_unit_desc_info unit_desc
 Unit Descriptor (UFS only) More...
 
uint32_t card_status
 Current card status. More...
 
MNAND_DEVICE_TYPE dev_type
 Device type identifier. More...
 
MNAND_STORAGE_TYPE storage_type
 Storage type (eMMC/UFS) More...
 
void * priv
 mNAND specific private handle More...
 

Field Documentation

◆ block_info

mnand_block_info* __mnand_chip::block_info

Block info list, indexed by num_blocks.

Definition at line 814 of file nvmnand.h.

◆ card_status

uint32_t __mnand_chip::card_status

Current card status.

Definition at line 884 of file nvmnand.h.

◆ cfg_desc

mnand_config_desc_info __mnand_chip::cfg_desc

Configuration Descriptor (UFS only)

Definition at line 869 of file nvmnand.h.

◆ cid

mnand_cid_info __mnand_chip::cid

Card Identification Data (eMMC only)

Definition at line 849 of file nvmnand.h.

◆ csd

mnand_csd_info __mnand_chip::csd

Card Specific Data (eMMC only)

Definition at line 854 of file nvmnand.h.

◆ desc

char __mnand_chip::desc[128]

Chip description, mNAND specific.

Definition at line 783 of file nvmnand.h.

◆ dev_type

MNAND_DEVICE_TYPE __mnand_chip::dev_type

Device type identifier.

Definition at line 889 of file nvmnand.h.

◆ device_desc

mnand_device_desc_info __mnand_chip::device_desc

Device Descriptor (UFS only)

Definition at line 864 of file nvmnand.h.

◆ fd

int __mnand_chip::fd

File descriptor to the device.

Definition at line 773 of file nvmnand.h.

◆ ffu_available

int __mnand_chip::ffu_available

Indicates if FFU (Field Firmware Update) is available.

Definition at line 824 of file nvmnand.h.

◆ fw_version

char __mnand_chip::fw_version[MAX_FW_STR_LEN]

Firmware version.

Definition at line 793 of file nvmnand.h.

◆ geo_desc

mnand_geo_desc_info __mnand_chip::geo_desc

Geometry Descriptor (UFS only)

Definition at line 874 of file nvmnand.h.

◆ identifier

uint32_t __mnand_chip::identifier

32bit magic number for plausibilty check.

This magic number is filled by mnand_bind() during init time.

Definition at line 778 of file nvmnand.h.

◆ num_blocks

int __mnand_chip::num_blocks

Number of blocks available.

Note
Value of 0 indicates blocks are unavailable

Definition at line 809 of file nvmnand.h.

Referenced by mnand_is_block_info_available().

◆ priv

void* __mnand_chip::priv

mNAND specific private handle

Definition at line 899 of file nvmnand.h.

◆ priv_chip_ops

void* __mnand_chip::priv_chip_ops

mNAND storage specific private operations

Definition at line 803 of file nvmnand.h.

◆ priv_ops

void* __mnand_chip::priv_ops

mNAND vendor specific private operations

Definition at line 798 of file nvmnand.h.

◆ prn

char __mnand_chip::prn[MAX_PRN_STR_LEN]

Product Name.

Definition at line 788 of file nvmnand.h.

◆ refresh_available

int __mnand_chip::refresh_available

Indicates if force refresh is available.

Definition at line 819 of file nvmnand.h.

Referenced by mnand_is_refresh_available().

◆ rfsh_properties

mnand_refresh_properties __mnand_chip::rfsh_properties

Refresh properties for the device.

Definition at line 829 of file nvmnand.h.

◆ smart_summary_available

int __mnand_chip::smart_summary_available

Indicates if smart summary information is available.

Definition at line 839 of file nvmnand.h.

Referenced by mnand_is_smart_summary_available().

◆ storage_type

MNAND_STORAGE_TYPE __mnand_chip::storage_type

Storage type (eMMC/UFS)

Definition at line 894 of file nvmnand.h.

Referenced by mnand_get_storage_type().

◆ summary

mnand_summary_info* __mnand_chip::summary

Summary information, not NULL when available.

Definition at line 844 of file nvmnand.h.

◆ summary_available

int __mnand_chip::summary_available

Indicates if summary information is available.

Definition at line 834 of file nvmnand.h.

Referenced by mnand_is_summary_available().

◆ unit_desc

mnand_unit_desc_info __mnand_chip::unit_desc

Unit Descriptor (UFS only)

Definition at line 879 of file nvmnand.h.

◆ xcsd

mnand_ext_csd_info __mnand_chip::xcsd

Extended Card Specific Data (eMMC only)

Definition at line 859 of file nvmnand.h.


The documentation for this struct was generated from the following file: