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.

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... | |
| mnand_block_info* __mnand_chip::block_info |
| mnand_config_desc_info __mnand_chip::cfg_desc |
| mnand_cid_info __mnand_chip::cid |
| mnand_csd_info __mnand_chip::csd |
| char __mnand_chip::desc[128] |
| MNAND_DEVICE_TYPE __mnand_chip::dev_type |
| mnand_device_desc_info __mnand_chip::device_desc |
| int __mnand_chip::ffu_available |
| char __mnand_chip::fw_version[MAX_FW_STR_LEN] |
| mnand_geo_desc_info __mnand_chip::geo_desc |
| uint32_t __mnand_chip::identifier |
32bit magic number for plausibilty check.
This magic number is filled by mnand_bind() during init time.
| int __mnand_chip::num_blocks |
Number of blocks available.
Definition at line 809 of file nvmnand.h.
Referenced by mnand_is_block_info_available().
| void* __mnand_chip::priv_chip_ops |
| void* __mnand_chip::priv_ops |
| char __mnand_chip::prn[MAX_PRN_STR_LEN] |
| 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().
| mnand_refresh_properties __mnand_chip::rfsh_properties |
| 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().
| 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().
| mnand_summary_info* __mnand_chip::summary |
| 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().
| mnand_unit_desc_info __mnand_chip::unit_desc |
| mnand_ext_csd_info __mnand_chip::xcsd |