/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_mtdif.c | 28 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 D | yaffs_tagscompat.c | 25 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 D | yaffs_nandif.c | 38 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 D | yaffs_mtdif.h | 22 const u8 *data, const struct yaffs_spare *spare); 24 struct yaffs_spare *spare);
|
H A D | yaffs_flashif.h | 23 const u8 *data, const struct yaffs_spare *spare); 27 u8 *data, struct yaffs_spare *spare);
|
H A D | yaffs_flashif2.h | 23 const u8 *data, const struct yaffs_spare *spare); 27 u8 *data, struct yaffs_spare *spare);
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | mpc5121_nfc.c | 34 /* Addresses for NFC SPARE BUFFER areas */ 392 /* Copy data from/to NFC spare buffers. */ 401 * NAND spare area is available through NFC spare buffers. in mpc5121_nfc_copy_spare() 402 * The NFC divides spare area into (page_size / 512) chunks. in mpc5121_nfc_copy_spare() 403 * Each chunk is placed into separate spare memory area, using in mpc5121_nfc_copy_spare() 406 * For NAND device in which the spare area is not divided fully in mpc5121_nfc_copy_spare() 407 * by the number of chunks, number of used bytes in each spare in mpc5121_nfc_copy_spare() 409 * and all remaining bytes are added to the last used spare area. in mpc5121_nfc_copy_spare() 415 /* Calculate number of valid bytes in each spare buffer */ in mpc5121_nfc_copy_spare() 419 /* Calculate spare buffer number */ in mpc5121_nfc_copy_spare() [all …]
|
H A D | mtk_nand.c | 161 * supported spare size of each IP. 162 * order should be the same with the spare size bitfiled defination of 323 u32 fmt, spare, i; in mtk_nfc_hw_runtime_config() local 328 spare = mtk_nand->spare_per_sector; in mtk_nfc_hw_runtime_config() 365 spare >>= 1; in mtk_nfc_hw_runtime_config() 368 if (nfc->caps->spare_size[i] == spare) in mtk_nfc_hw_runtime_config() 373 dev_err(nfc->dev, "invalid spare size %d\n", spare); in mtk_nfc_hw_runtime_config() 945 u32 spare = mtk_nand->spare_per_sector; in mtk_nfc_read_subpage() local 958 column = start * (chip->ecc.size + spare); in mtk_nfc_read_subpage() 960 len = sectors * chip->ecc.size + (raw ? sectors * spare : 0); in mtk_nfc_read_subpage() [all …]
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 81 * @reserve: pool of memory from which devices reserve entitlement, incl. spare 82 * @excess: pool of excess entitlement not needed for device reserves or spare 83 * @spare: IO memory for device hotplug functionality 96 size_t spare; member 138 * IO memory available to all devices. The spare pool used to service 158 /* If spare is not fulfilled, the excess pool can not be used. */ in vio_cmo_alloc() 159 if (vio_cmo.spare >= VIO_CMO_MIN_ENT) in vio_cmo_alloc() 183 * The spare pool is replenished first from either memory pool, then 211 /* Spare is a subset of the reserve pool, replenish it first. */ in vio_cmo_dealloc() 212 spare_needed = VIO_CMO_MIN_ENT - vio_cmo.spare; in vio_cmo_dealloc() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | radio_2055.h | 9 #define B2055_GEN_SPARE 0x00 /* GEN spare */ 42 #define B2055_RRCCAL_CS 0x22 /* RRCCAL Control spare */ 71 #define B2055_RF_MMDSP 0x3F /* RF MMD spare */ 102 #define B2055_LGEN_SPARE2 0x5E /* LGEN spare 2 */ 109 #define B2055_C1_LGBUF_SPARE 0x65 /* Core 1 LGBUF spare */ 128 #define B2055_C1_RX_BB_SPARE1 0x78 /* Core 1 RX Baseband spare 1 */ 142 #define B2055_C1_TX_RF_SPARE 0x86 /* Core 1 TX RF spare */ 156 #define B2055_C2_LGBUF_SPARE 0x94 /* Core 2 LGBUF spare */ 175 #define B2055_C2_RX_BB_SPARE1 0xA7 /* Core 2 RX Baseband spare 1 */ 189 #define B2055_C2_TX_RF_SPARE 0xB5 /* Core 2 TX RF spare */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | qcom,lcc.yaml | 59 - description: Mic I2S spare clock 61 - description: Speaker I2S spare clock 93 - description: Mic I2S spare clock 95 - description: Speaker I2S spare clock
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | lpc32xx_nand_slc.c | 88 * 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 …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | mtdnand.rst | 431 Most NAND chips mark the bad blocks at a defined position in the spare 434 mark each time when the blocks are accessed by reading the spare area of 547 marked and identified by a pattern which is stored in the spare area 550 the pattern has to be stored in len and the offset in the spare area 578 is stored in 4 consecutive bytes in the spare area of the device. The 600 Spare area (auto)placement 604 filesystem data in the spare area, 645 The eccpos array holds the byte offsets in the spare area where the 650 The oobfree array defines the areas in the spare area which can be 661 spare area buffer along with the data buffer. The spare area buffer size [all …]
|
/openbmc/linux/include/linux/firmware/qcom/ |
H A D | qcom_scm.h | 89 extern int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare); 90 extern int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size); 91 extern int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare); 92 extern int qcom_scm_iommu_set_cp_pool_size(u32 spare, u32 size);
|
/openbmc/linux/crypto/async_tx/ |
H A D | async_pq.c | 288 * @spare: temporary result buffer for the synchronous case 289 * @s_off: spare buffer page offset 299 size_t len, enum sum_check_flags *pqres, struct page *spare, in async_syndrome_val() argument 390 BUG_ON(!spare || !scribble); in async_syndrome_val() 403 tx = async_xor_offs(spare, s_off, in async_syndrome_val() 407 s = page_address(spare) + s_off; in async_syndrome_val() 413 Q(blocks, disks) = spare; in async_syndrome_val() 420 s = page_address(spare) + s_off; in async_syndrome_val() 449 pr_err("%s: failed to allocate required spare page\n", __func__); in async_pq_init()
|
/openbmc/u-boot/include/ |
H A D | bloblist.h | 60 * @spare: Space space 75 u32 spare; member 92 * @spare: Spare space for other things 98 u32 spare; member
|
H A D | efi.h | 269 * @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/u-boot/include/zfs/ |
H A D | zfs.h | 75 #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 D | PersistentMemory.interface.yaml | 72 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/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,sc7180-mss-pil.yaml | 118 qcom,spare-regs: 121 Spare registers are multipurpose registers used for errata 178 - qcom,spare-regs 239 qcom,spare-regs = <&tcsr_regs 0xb3e4>;
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Drive.v1_21_0.json | 303 "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… 784 …spare for a user-defined set of drives or volumes. Clients cannot specify this value when modifyi… [all …]
|
H A D | StorageControllerMetrics.v1_0_3.json | 72 …"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 D | Drive.v1_21_0.json | 303 "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… 784 …spare for a user-defined set of drives or volumes. Clients cannot specify this value when modifyi… [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu_v13_0_4_ppsmc.h | 57 #define PPSMC_MSG_SPARE0 0x04 ///< SPARE 58 #define PPSMC_MSG_SPARE1 0x05 ///< SPARE 63 #define PPSMC_MSG_SPARE2 0x0A ///< SPARE 64 #define PPSMC_MSG_SPARE3 0x0B ///< SPARE
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | adb_iop.h | 43 __u8 spare[21]; /* spare */ member
|