Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v6.1/drivers/mtd/nand/raw/
Dmpc5121_nfc.c34 /* 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 …]
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
946 u8 *spare, int spare_len, in marvell_nfc_check_empty_chunk() argument
960 if (!spare) in marvell_nfc_check_empty_chunk()
966 spare, spare_len, chip->ecc.strength); in marvell_nfc_check_empty_chunk()
1061 * documentation, spare bytes are protected by the ECC engine, and must in marvell_nfc_hw_ecc_hmg_do_read_page()
1123 * Spare area in Hamming layouts is not protected by the ECC engine (even if
1218 * Spare area in Hamming layouts is not protected by the ECC engine (even if
[all …]
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dvio.c81 * @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 …]
Dmsi.c217 int spare; member
260 counts->spare += counts->quota - req; in count_spare_msis()
308 * use the remainder as spare MSIs for anyone that wants them. */ in msi_quota_for_device()
309 counts.spare += total % counts.num_devices; in msi_quota_for_device()
311 /* Divide any spare by the number of over-quota requestors */ in msi_quota_for_device()
313 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device()
/Linux-v6.1/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-v6.1/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-v6.1/include/linux/
Dqcom_scm.h91 extern int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare);
92 extern int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size);
93 extern int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare);
94 extern int qcom_scm_iommu_set_cp_pool_size(u32 spare, u32 size);
/Linux-v6.1/drivers/soc/tegra/fuse/
Dfuse-tegra30.c107 .spare = 0x144,
123 .spare = 0x180,
203 .spare = 0x200,
290 .spare = 0x280,
322 .spare = 0x280,
368 .spare = 0x280,
399 .spare = 0x280,
Dfuse.h23 unsigned int spare; member
69 u32 __init tegra_fuse_read_spare(unsigned int spare);
/Linux-v6.1/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()
/Linux-v6.1/Documentation/devicetree/bindings/remoteproc/
Dqcom,sc7180-mss-pil.yaml117 qcom,spare-regs:
120 Spare registers are multipurpose registers used for errata
177 - qcom,spare-regs
238 qcom,spare-regs = <&tcsr_regs 0xb3e4>;
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
Dsmu_v13_0_4_ppsmc.h57 #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
Dsmu13_driver_if_yellow_carp.h116 uint8_t Spare[3]; member
136 uint8_t spare[3]; member
164 uint16_t spare; member
Dsmu13_driver_if_v13_0_0.h372 uint32_t Spare[8]; member
716 uint32_t Spare[13]; member
754 uint32_t Spare[13]; member
858 uint32_t Spare[8]; member
889 uint32_t Spare[11]; member
1248 uint32_t Spare[43]; member
1369 uint32_t Spare[8]; member
1393 uint32_t Spare[32]; member
1463 uint32_t Spare[30]; member
1492 uint32_t Spare[16]; member
Dsmu13_driver_if_v13_0_7.h376 uint32_t Spare[8]; member
748 uint32_t Spare[10]; member
792 uint32_t Spare[10]; member
896 uint32_t Spare[8]; member
927 uint32_t Spare[11]; member
1281 uint32_t Spare[43]; member
1402 uint32_t Spare[8]; member
1426 uint32_t Spare[32]; member
1495 uint32_t Spare[30]; member
1524 uint32_t Spare[16]; member
Dsmu11_driver_if_vangogh.h150 uint8_t spare[2]; member
173 uint16_t spare; member
202 uint16_t spare; member
/Linux-v6.1/arch/m68k/include/asm/
Dadb_iop.h43 __u8 spare[21]; /* spare */ member
/Linux-v6.1/drivers/s390/char/
Dsclp_diag.h38 * @spare: reserved (zeroes)
53 u8 spare; member
/Linux-v6.1/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-v6.1/arch/arm/boot/dts/
Dstm32mp135f-dk.dts79 /* spare dmas for other usage */
92 /* spare dmas for other usage */
Dstm32mp15xx-dhcom-picoitx.dtsi85 /* spare dmas for other usage */
96 /* spare dmas for other usage */
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_smu.h44 uint8_t Spare[3]; member
64 uint8_t spare[3]; member
/Linux-v6.1/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[]; /* role in array, or 0xffff for a spare, or 0xfffe for faulty */
/Linux-v6.1/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

12345678910>>...14