NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
nvmnand_part_ops.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-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 
21 #ifndef __NV_MNAND_PART_OPS_H__
22 #define __NV_MNAND_PART_OPS_H__
23 
42 typedef MNAND_STATUS (*__mnand_open)(struct __mnand_chip *chip);
43 
55 typedef MNAND_STATUS (*__mnand_close)(struct __mnand_chip *chip);
56 
67 
77 
87 
98  MNAND_EOL_STATUS *eol_status);
99 
117  int cached, uint8_t block_type, int num_blocks, uint32_t rfsh_unit_time_us,
118  mnand_refresh_progress *progress);
119 
133  double *rfsh_progress);
134 
139  __mnand_open open; /* mandatory */
140  __mnand_close close; /* mandatory */
146  __mnand_check_eol check_eol; /* optional */
147 };
149 
150 #endif /* __NV_MNAND_PART_OPS_H__ */
__mnand_refresh_progress
information on refresh progress
Definition: nvmnand.h:137
__mnand_open
MNAND_STATUS(* __mnand_open)(struct __mnand_chip *chip)
"Opening" the mNAND chip.
Definition: nvmnand_part_ops.h:42
__mnand_operations::update_summary
__mnand_update_summary update_summary
Definition: nvmnand_part_ops.h:144
__mnand_operations::update_smart_summary
__mnand_update_smart_summary update_smart_summary
Definition: nvmnand_part_ops.h:145
__mnand_close
MNAND_STATUS(* __mnand_close)(struct __mnand_chip *chip)
"Closing" (aka releasing) the mNAND chip.
Definition: nvmnand_part_ops.h:55
__mnand_operations
mNAND part/vendor specific operation block
Definition: nvmnand_part_ops.h:138
__mnand_operations::close
__mnand_close close
Definition: nvmnand_part_ops.h:140
__mnand_update_smart_summary
MNAND_STATUS(* __mnand_update_smart_summary)(struct __mnand_chip *chip)
Updating the smart summary info inside mNAND chip handle.
Definition: nvmnand_part_ops.h:86
__mnand_get_rfsh_progress
MNAND_STATUS(* __mnand_get_rfsh_progress)(struct __mnand_chip *chip, double *rfsh_progress)
Extract refresh progress from the mNAND chip.
Definition: nvmnand_part_ops.h:132
__mnand_operations::open
__mnand_open open
Definition: nvmnand_part_ops.h:139
__mnand_operations::send_rfsh
__mnand_send_refresh send_rfsh
Definition: nvmnand_part_ops.h:141
MNAND_EOL_STATUS
enum __mnand_eol_status MNAND_EOL_STATUS
mNAND EOL status enumeration
__mnand_update_summary
MNAND_STATUS(* __mnand_update_summary)(struct __mnand_chip *chip)
Updating the summary info inside mNAND chip handle.
Definition: nvmnand_part_ops.h:76
__mnand_operations::check_eol
__mnand_check_eol check_eol
Definition: nvmnand_part_ops.h:146
__mnand_update_block_info
MNAND_STATUS(* __mnand_update_block_info)(struct __mnand_chip *chip)
Updating the list of block info(if supported by the chip) inside mNAND chip handle.
Definition: nvmnand_part_ops.h:66
__mnand_check_eol
MNAND_STATUS(* __mnand_check_eol)(struct __mnand_chip *chip, MNAND_EOL_STATUS *eol_status)
Checking EOL status – check EOL status from device and update status.
Definition: nvmnand_part_ops.h:97
__mnand_chip
mNAND chip information
Definition: nvmnand.h:430
__mnand_chip::num_blocks
int num_blocks
Definition: nvmnand.h:437
MNAND_STATUS
enum __mnand_status MNAND_STATUS
mNAND operation status used in the API
__mnand_operations::update_blk_info
__mnand_update_block_info update_blk_info
Definition: nvmnand_part_ops.h:143
__mnand_send_refresh
MNAND_STATUS(* __mnand_send_refresh)(struct __mnand_chip *chip, int cached, uint8_t block_type, int num_blocks, uint32_t rfsh_unit_time_us, mnand_refresh_progress *progress)
Send "refresh" command to the mNAND chip.
Definition: nvmnand_part_ops.h:116
__mnand_operations::get_rfsh_progress
__mnand_get_rfsh_progress get_rfsh_progress
Definition: nvmnand_part_ops.h:142