Home
last modified time | relevance | path

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

12345678910>>...27

/kernel/linux/linux-6.6/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.c161 * 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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dvio.c79 * @reserve: pool of memory from which devices reserve entitlement, incl. spare
80 * @excess: pool of excess entitlement not needed for device reserves or spare
81 * @spare: IO memory for device hotplug functionality
94 size_t spare; member
136 * IO memory available to all devices. The spare pool used to service
156 /* If spare is not fulfilled, the excess pool can not be used. */ in vio_cmo_alloc()
157 if (vio_cmo.spare >= VIO_CMO_MIN_ENT) in vio_cmo_alloc()
181 * The spare pool is replenished first from either memory pool, then
209 /* Spare is a subset of the reserve pool, replenish it first. */ in vio_cmo_dealloc()
210 spare_needed = VIO_CMO_MIN_ENT - vio_cmo.spare; in vio_cmo_dealloc()
[all …]
Dmsi.c225 int spare; member
268 counts->spare += counts->quota - req; in count_spare_msis()
316 * use the remainder as spare MSIs for anyone that wants them. */ in msi_quota_for_device()
317 counts.spare += total % counts.num_devices; in msi_quota_for_device()
319 /* Divide any spare by the number of over-quota requestors */ in msi_quota_for_device()
321 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device()
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/include/linux/
Dqcom_scm.h84 extern int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare);
85 extern int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size);
86 extern int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare);
141 static inline int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare) in qcom_scm_restore_sec_cfg() argument
143 static inline int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size) in qcom_scm_iommu_secure_ptbl_size() argument
145 static inline int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare) in qcom_scm_iommu_secure_ptbl_init() argument
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Dqcom,lcc.yaml59 - description: Mic I2S spare clock
61 - description: Speaker I2S spare clock
93 - description: Mic I2S spare clock
95 - description: Speaker I2S spare clock
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/include/linux/firmware/qcom/
Dqcom_scm.h89 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);
/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/
Dfuse-tegra30.c108 .spare = 0x144,
123 .spare = 0x180,
202 .spare = 0x200,
288 .spare = 0x280,
319 .spare = 0x280,
349 .spare = 0x280,
379 .spare = 0x280,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/
Dqcom,sc7180-mss-pil.yaml118 qcom,spare-regs:
121 Spare registers are multipurpose registers used for errata
178 - qcom,spare-regs
239 qcom,spare-regs = <&tcsr_regs 0xb3e4>;
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dadb_iop.h43 __u8 spare[21]; /* spare */ member
/kernel/linux/linux-6.6/arch/m68k/include/asm/
Dadb_iop.h43 __u8 spare[21]; /* spare */ member
/kernel/linux/linux-6.6/drivers/soc/tegra/fuse/
Dfuse-tegra30.c106 .spare = 0x144,
122 .spare = 0x180,
278 .spare = 0x200,
449 .spare = 0x280,
507 .spare = 0x280,
600 .spare = 0x280,
665 .spare = 0x280,
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dstm32mp15xc-lxa-tac.dtsi456 /* spare dmas for other usage */
507 /* spare dmas for other usage */
519 /* spare dmas for other usage */
531 /* spare dmas for other usage */
548 /* spare dmas for other usage */
562 /* spare dmas for other usage */

12345678910>>...27