Home
last modified time | relevance | path

Searched full:spare (Results 1 – 25 of 237) sorted by relevance

12345678910

/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_mtdif.c28 static inline void translate_spare2oob(const struct yaffs_spare *spare, u8 *oob) in translate_spare2oob() argument
30 oob[0] = spare->tb0; in translate_spare2oob()
31 oob[1] = spare->tb1; in translate_spare2oob()
32 oob[2] = spare->tb2; in translate_spare2oob()
33 oob[3] = spare->tb3; in translate_spare2oob()
34 oob[4] = spare->tb4; in translate_spare2oob()
35 oob[5] = spare->tb5 & 0x3f; in translate_spare2oob()
36 oob[5] |= spare->block_status == 'Y' ? 0 : 0x80; in translate_spare2oob()
37 oob[5] |= spare->page_status == 0 ? 0 : 0x40; in translate_spare2oob()
38 oob[6] = spare->tb6; in translate_spare2oob()
[all …]
H A Dyaffs_tagscompat.c25 void yaffs_calc_ecc(const u8 *data, struct yaffs_spare *spare) in yaffs_calc_ecc() argument
27 yaffs_ecc_calc(data, spare->ecc1); in yaffs_calc_ecc()
28 yaffs_ecc_calc(&data[256], spare->ecc2); in yaffs_calc_ecc()
121 static void yaffs_spare_init(struct yaffs_spare *spare) in yaffs_spare_init() argument
123 memset(spare, 0xff, sizeof(struct yaffs_spare)); in yaffs_spare_init()
128 struct yaffs_spare *spare) in yaffs_wr_nand() argument
137 return dev->param.write_chunk_fn(dev, nand_chunk, data, spare); in yaffs_wr_nand()
143 struct yaffs_spare *spare, in yaffs_rd_chunk_nand() argument
150 if (!spare) { in yaffs_rd_chunk_nand()
151 /* If we don't have a real spare, then we use a local one. */ in yaffs_rd_chunk_nand()
[all …]
H A Dyaffs_nandif.c38 void *spare; in ynandif_WriteChunkWithTagsToNAND() local
58 spare = NULL; in ynandif_WriteChunkWithTagsToNAND()
62 spare = &pt; in ynandif_WriteChunkWithTagsToNAND()
68 spare, spareSize); in ynandif_WriteChunkWithTagsToNAND()
78 void *spare = NULL; in ynandif_ReadChunkWithTagsFromNAND() local
89 spare = NULL; in ynandif_ReadChunkWithTagsFromNAND()
97 spare = NULL; in ynandif_ReadChunkWithTagsFromNAND()
100 spare = &pt; in ynandif_ReadChunkWithTagsFromNAND()
107 spare, spareSize, in ynandif_ReadChunkWithTagsFromNAND()
H A Dyaffs_mtdif.h22 const u8 *data, const struct yaffs_spare *spare);
24 struct yaffs_spare *spare);
H A Dyaffs_flashif.h23 const u8 *data, const struct yaffs_spare *spare);
27 u8 *data, struct yaffs_spare *spare);
H A Dyaffs_flashif2.h23 const u8 *data, const struct yaffs_spare *spare);
27 u8 *data, struct yaffs_spare *spare);
H A Dyaffs_nandif.h39 unsigned char *spare,
48 const unsigned char *spare,
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dlpc32xx_nand_slc.c88 * For Large Block: 17 descriptors = ((16 Data and ECC Read) + 1 Spare Area)
89 * For Small Block: 5 descriptors = ((4 Data and ECC Read) + 1 Spare Area)
194 /* CTRL descriptor entry for reading/writing Spare Area */ in lpc32xx_nand_dma_configure()
216 * 2. Copy generated ECC data from Register to Spare Area in lpc32xx_nand_dma_configure()
218 * 4. Copy generated ECC data from Register to Spare Area. in lpc32xx_nand_dma_configure()
219 * 5. X'fer 16 byets of Spare area from Memory to Flash. in lpc32xx_nand_dma_configure()
226 * 5. X'fer 16 bytes of Spare area from Flash to Memory. in lpc32xx_nand_dma_configure()
232 * 2. X'fer 64 bytes of Spare area from Memory to Flash. in lpc32xx_nand_dma_configure()
238 * 2. X'fer 64 bytes of Spare area from Flash to Memory. in lpc32xx_nand_dma_configure()
275 /* Read/ Write Spare Area Data To/From Flash */ in lpc32xx_nand_dma_configure()
[all …]
H A Dmxc_nand.h15 * 4 16-byte spare buffers
22 * 8 64-byte spare buffers
64 * minus total main and spare sizes
H A Dmxc_nand.c44 /* Define single bit Error positions in Main & Spare area */
183 * The controller copies the 64 bytes of spare data from
184 * the first 16 bytes of each of the 4 64 byte spare buffers.
186 * the four spare area buffers.
205 /* Configure spare or page+spare access */
239 /* Configure spare or page+spare access */
258 * The controller copies the 64 bytes of spare data to
259 * the first 16 bytes of each of the 4 spare buffers.
748 /* If we are accessing the spare region */
1014 * flash, it does support SPARE ONLY operation.
[all …]
/openbmc/u-boot/include/zfs/
H A Dzfs.h75 #define VDEV_TYPE_SPARE "spare"
80 * SPA lifecycle: ACTIVE, EXPORTED, DESTROYED, SPARE, L2CACHE. The remaining
88 POOL_STATE_SPARE, /* Reserved for hot spare use */
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DPersistentMemory.interface.yaml72 Number of unused spare devices available in the memory.
76 An indication of whether a spare device is enabled for this memory.
80 An indication of whether rank spare is enabled for this memory.
/openbmc/u-boot/include/
H A Dbloblist.h60 * @spare: Space space
75 u32 spare; member
92 * @spare: Spare space for other things
98 u32 spare; member
H A Defi.h269 * @spare: Spare space for expansion
275 u32 spare[5]; member
285 * @spare1: Spare space for expansion
286 * @spare2: Spare space for expansion
302 * @spare: Spare space for expansion
308 u64 spare; member
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DDrive.v1_21_0.json303 "description": "The replacement mode for the hot spare drive.",
304 …"This property shall indicate whether a commissioned hot spare continues to serve as a hot spare a…
317 "description": "The type of hot spare that this drive serves as.",
318 …his property shall contain the hot spare type for the associated drive. If the drive currently se…
598 "description": "The spare part number of the drive.",
599 … "longDescription": "This property shall contain the spare part number of the drive.",
770 …ertible": "The hot spare drive that is commissioned due to a drive failure remains as a data drive…
771 …"Revertible": "The hot spare drive that is commissioned due to a drive failure reverts to a hot sp…
783 …"Chassis": "The drive is serving as a hot spare for all other drives in this storage domain that a…
784spare for a user-defined set of drives or volumes. Clients cannot specify this value when modifyi…
[all …]
H A DStorageControllerMetrics.v1_0_3.json72 …"description": "An indication of whether the available spare capacity of one or more Endurance Gro…
73 …"longDescription": "This property shall indicate whether the available spare capacity of one or mo…
103 … "description": "The normalized percentage of the remaining spare capacity available.",
104 …ain the NVMe-defined 'Available Spare', which represents the normalized percentage, `0` to `100`, …
115 "description": "The available spare threshold as a normalized percentage.",
116 …all contain the NVMe-defined 'Available Spare Threshold' as a percentage, `0` to `100`. When the …
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DDrive.v1_21_0.json303 "description": "The replacement mode for the hot spare drive.",
304 …"This property shall indicate whether a commissioned hot spare continues to serve as a hot spare a…
317 "description": "The type of hot spare that this drive serves as.",
318 …his property shall contain the hot spare type for the associated drive. If the drive currently se…
598 "description": "The spare part number of the drive.",
599 … "longDescription": "This property shall contain the spare part number of the drive.",
770 …ertible": "The hot spare drive that is commissioned due to a drive failure remains as a data drive…
771 …"Revertible": "The hot spare drive that is commissioned due to a drive failure reverts to a hot sp…
783 …"Chassis": "The drive is serving as a hot spare for all other drives in this storage domain that a…
784spare for a user-defined set of drives or volumes. Clients cannot specify this value when modifyi…
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Nvme/
H A DStatus.errors.yaml2 description: The available spare capacity has fallen below the threshold
H A DStatus.interface.yaml20 Represent the available spare capacity has fallen below the threshold.
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DStorageControllerMetrics_v1.xml130 …rm="OData.Description" String="The normalized percentage of the remaining spare capacity available…
131 …ain the NVMe-defined 'Available Spare', which represents the normalized percentage, `0` to `100`, …
138 …<Annotation Term="OData.Description" String="The available spare threshold as a normalized percent…
139 …all contain the NVMe-defined 'Available Spare Threshold' as a percentage, `0` to `100`. When the …
260 …<Annotation Term="OData.Description" String="An indication of whether the available spare capacity…
261 …ngDescription" String="This property shall indicate whether the available spare capacity of one or…
/openbmc/qemu/bsd-user/freebsd/
H A Dtarget_os_user.h165 char ki_sparestrings[50]; /* spare string space */
166 int32_t ki_spareints[TARGET_KI_NSPARE_INT]; /* spare room for growth */
190 abi_ulong ki_spareptrs[TARGET_KI_NSPARE_PTR]; /* spare room for growth */
191 abi_long ki_sparelongs[TARGET_KI_NSPARE_LONG];/* spare room for growth */
/openbmc/qemu/include/hw/ppc/
H A Dspapr_numa.h21 * feels odd, but it will spare a MACHINE() call inside the
/openbmc/webui-vue/src/views/HardwareStatus/Inventory/
H A DInventoryTableAssembly.vue60 <!-- Spare Part Number -->
61 <dt>Spare Part Number</dt>
/openbmc/u-boot/configs/
H A Dat91sam9260ek_nandflash_defconfig14 …l_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kern…
H A Dat91sam9n12ek_mmc_defconfig31 …l_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kern…

12345678910