Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.15/drivers/mtd/nand/raw/
Dmpc5121_nfc.c34 /* Addresses for NFC SPARE BUFFER areas */
393 /* Copy data from/to NFC spare buffers. */
402 * NAND spare area is available through NFC spare buffers. in mpc5121_nfc_copy_spare()
403 * The NFC divides spare area into (page_size / 512) chunks. in mpc5121_nfc_copy_spare()
404 * Each chunk is placed into separate spare memory area, using in mpc5121_nfc_copy_spare()
407 * For NAND device in which the spare area is not divided fully in mpc5121_nfc_copy_spare()
408 * by the number of chunks, number of used bytes in each spare in mpc5121_nfc_copy_spare()
410 * and all remaining bytes are added to the last used spare area. in mpc5121_nfc_copy_spare()
416 /* Calculate number of valid bytes in each spare buffer */ in mpc5121_nfc_copy_spare()
420 /* Calculate spare buffer number */ in mpc5121_nfc_copy_spare()
[all …]
Dmtk_nand.c162 * supported spare size of each IP.
163 * order should be the same with the spare size bitfiled defination of
324 u32 fmt, spare, i; in mtk_nfc_hw_runtime_config() local
329 spare = mtk_nand->spare_per_sector; in mtk_nfc_hw_runtime_config()
366 spare >>= 1; in mtk_nfc_hw_runtime_config()
369 if (nfc->caps->spare_size[i] == spare) in mtk_nfc_hw_runtime_config()
374 dev_err(nfc->dev, "invalid spare size %d\n", spare); in mtk_nfc_hw_runtime_config()
946 u32 spare = mtk_nand->spare_per_sector; in mtk_nfc_read_subpage() local
959 column = start * (chip->ecc.size + spare); in mtk_nfc_read_subpage()
961 len = sectors * chip->ecc.size + (raw ? sectors * spare : 0); in mtk_nfc_read_subpage()
[all …]
Dmarvell_nand.c23 * bytes (also called "spare" bytes in the driver). This engine
235 * a particular layout mixing data/spare/ecc is defined, with a possible last
247 * @spare_bytes: Number of spare bytes per chunk
250 * @last_spare_bytes: Number of spare bytes in the last chunk
940 u8 *spare, int spare_len, in marvell_nfc_check_empty_chunk() argument
954 if (!spare) in marvell_nfc_check_empty_chunk()
960 spare, spare_len, chip->ecc.strength); in marvell_nfc_check_empty_chunk()
1055 * documentation, spare bytes are protected by the ECC engine, and must in marvell_nfc_hw_ecc_hmg_do_read_page()
1117 * Spare area in Hamming layouts is not protected by the ECC engine (even if
1212 * Spare area in Hamming layouts is not protected by the ECC engine (even if
[all …]
/Linux-v5.15/arch/powerpc/platforms/pseries/
Dvio.c80 * @reserve: pool of memory from which devices reserve entitlement, incl. spare
81 * @excess: pool of excess entitlement not needed for device reserves or spare
82 * @spare: IO memory for device hotplug functionality
95 size_t spare; member
137 * IO memory available to all devices. The spare pool used to service
157 /* If spare is not fulfilled, the excess pool can not be used. */ in vio_cmo_alloc()
158 if (vio_cmo.spare >= VIO_CMO_MIN_ENT) in vio_cmo_alloc()
182 * The spare pool is replenished first from either memory pool, then
210 /* Spare is a subset of the reserve pool, replenish it first. */ in vio_cmo_dealloc()
211 spare_needed = VIO_CMO_MIN_ENT - vio_cmo.spare; in vio_cmo_dealloc()
[all …]
Dmsi.c216 int spare; member
259 counts->spare += counts->quota - req; in count_spare_msis()
307 * use the remainder as spare MSIs for anyone that wants them. */ in msi_quota_for_device()
308 counts.spare += total % counts.num_devices; in msi_quota_for_device()
310 /* Divide any spare by the number of over-quota requestors */ in msi_quota_for_device()
312 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device()
/Linux-v5.15/drivers/net/wireless/broadcom/b43/
Dradio_2055.h9 #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 …]
/Linux-v5.15/Documentation/driver-api/
Dmtdnand.rst431 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 …]
/Linux-v5.15/drivers/soc/tegra/fuse/
Dfuse-tegra30.c107 .spare = 0x144,
123 .spare = 0x180,
203 .spare = 0x200,
290 .spare = 0x280,
322 .spare = 0x280,
353 .spare = 0x280,
384 .spare = 0x280,
Dfuse.h23 unsigned int spare; member
68 bool __init tegra_fuse_read_spare(unsigned int spare);
/Linux-v5.15/crypto/async_tx/
Dasync_pq.c288 * @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()
Draid6test.c24 static struct page *spare; variable
115 disks, bytes, &result, spare, 0, &submit); in raid6_dual_recov()
162 spare = data[disks+2]; in test()
/Linux-v5.15/include/linux/
Dqcom_scm.h83 extern int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare);
84 extern int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size);
85 extern int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare);
/Linux-v5.15/Documentation/devicetree/bindings/mtd/
Dgpmc-nand.txt121 Higher ECC schemes require more OOB/Spare area to store ECC syndrome,
122 so the device should have enough free bytes available its OOB/Spare
127 OOBSIZE number of bytes in OOB/spare area
146 which can be accommodated in the OOB/Spare area of this device
/Linux-v5.15/arch/m68k/include/asm/
Dadb_iop.h43 __u8 spare[21]; /* spare */ member
/Linux-v5.15/drivers/gpu/drm/amd/pm/inc/
Dsmu13_driver_if_yellow_carp.h116 uint8_t Spare[3]; member
136 uint8_t spare[3]; member
164 uint16_t spare; member
Dsmu11_driver_if_vangogh.h150 uint8_t spare[2]; member
173 uint16_t spare; member
202 uint16_t spare; member
/Linux-v5.15/drivers/s390/char/
Dsclp_diag.h38 * @spare: reserved (zeroes)
53 u8 spare; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_smu.h125 uint8_t Spare[3]; member
145 uint8_t spare[3]; member
173 uint16_t spare; member
/Linux-v5.15/arch/arm/boot/dts/
Dstm32mp15xx-dhcom-picoitx.dtsi85 /* spare dmas for other usage */
96 /* spare dmas for other usage */
Dstm32mp15xx-dhcom-pdk2.dtsi161 /* spare dmas for other usage */
173 /* spare dmas for other usage */
273 /* spare dmas for other usage (un-delete to enable pwm capture) */
Dstm32mp15xx-dhcom-drc02.dtsi78 /* spare dmas for other usage */
102 /* spare dmas for other usage */
/Linux-v5.15/include/uapi/linux/raid/
Dmd_p.h79 #define MD_DISK_ACTIVE 1 /* disk is running or spare disk */
85 #define MD_DISK_CANDIDATE 5 /* disk is added as spare (local) until confirmed
165 __u32 spare_disks; /* 5 Number of spare disks */
303 * into the 'roles' value. If a device is spare or faulty, then it doesn't
306 __le16 dev_roles[0]; /* role in array, or 0xffff for a spare, or 0xfffe for faulty */
/Linux-v5.15/fs/hpfs/
Dhpfs.h107 /* The spare block has pointers to spare sectors. */
118 u8 sparedir_used: 1; /* spare dirblks used */
132 u8 sparedir_used: 1; /* spare dirblks used */
160 __le32 n_dnode_spares_free; /* spare dnodes unused */
195 /* The code page info pointed to by the spare block consists of an index
/Linux-v5.15/arch/arm/mach-s3c/
Dmach-jive.c90 * 0x0002c000-0x00030000 : spare
108 /* spare */
110 .name = "spare",
166 /* spare */
168 .name = "spare",
/Linux-v5.15/arch/sparc/include/asm/
Dfhc.h55 #define FHC_CONTROL_BPINS 0x00000003 /* Spare Bidirectional Pins */
65 #define FHC_BSR_SI 0x00000001 /* Spare input pin value */

12345678910>>...13