/Linux-v4.19/Documentation/mtd/nand/ |
D | pxa3xx-nand.txt | 19 | 2048B data | 32B spare | 30B ECC || 2048B data | 32B spare | 30B ECC | ... | 22 The driver reads the data and spare portions independently and builds an internal 26 | 4096B data | 64B spare | 29 Also, for the READOOB command the driver disables the ECC and reads a 'spare + ECC' 33 | 4096B data | 32B spare | 30B ECC | 32B spare | 30B ECC | 38 (2048 data + 32 spare) each. 40 (4096 data + spare) or (4096 + spare + ECC + spare + ECC). 52 and expected to be located (when reading/programming) right after the spare 56 spare, and then the ECC controller will read/write the ECC code (30B in 60 | 2048B data | 32B spare | 30B ECC | [all …]
|
/Linux-v4.19/include/linux/ |
D | qcom_scm.h | 62 extern int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare); 63 extern int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size); 64 extern int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare); 98 static inline int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare) { return -ENODEV; } in qcom_scm_restore_sec_cfg() argument 99 static inline int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size) { return -ENODEV; } in qcom_scm_iommu_secure_ptbl_size() argument 100 static inline int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare) { return -ENODEV; } in qcom_scm_iommu_secure_ptbl_init() argument
|
D | qnx6_fs.h | 91 __u8 spare[6]; member
|
/Linux-v4.19/drivers/soc/tegra/fuse/ |
D | fuse-tegra30.c | 117 .spare = 0x144, 131 .spare = 0x180, 145 .spare = 0x200, 159 .spare = 0x280, 173 .spare = 0x280,
|
D | fuse.h | 30 unsigned int spare; member 65 bool __init tegra_fuse_read_spare(unsigned int spare);
|
D | fuse-tegra.c | 179 bool __init tegra_fuse_read_spare(unsigned int spare) in tegra_fuse_read_spare() argument 181 unsigned int offset = fuse->soc->info->spare + spare * 4; in tegra_fuse_read_spare()
|
/Linux-v4.19/drivers/firmware/ |
D | qcom_scm.h | 99 u32 spare); 102 extern int __qcom_scm_iommu_secure_ptbl_size(struct device *dev, u32 spare, 105 u32 size, u32 spare);
|
D | qcom_scm.c | 338 int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare) in qcom_scm_restore_sec_cfg() argument 340 return __qcom_scm_restore_sec_cfg(__scm->dev, device_id, spare); in qcom_scm_restore_sec_cfg() 344 int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size) in qcom_scm_iommu_secure_ptbl_size() argument 346 return __qcom_scm_iommu_secure_ptbl_size(__scm->dev, spare, size); in qcom_scm_iommu_secure_ptbl_size() 350 int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare) in qcom_scm_iommu_secure_ptbl_init() argument 352 return __qcom_scm_iommu_secure_ptbl_init(__scm->dev, addr, size, spare); in qcom_scm_iommu_secure_ptbl_init()
|
D | qcom_scm-64.c | 412 int __qcom_scm_restore_sec_cfg(struct device *dev, u32 device_id, u32 spare) in __qcom_scm_restore_sec_cfg() argument 419 desc.args[1] = spare; in __qcom_scm_restore_sec_cfg() 428 int __qcom_scm_iommu_secure_ptbl_size(struct device *dev, u32 spare, in __qcom_scm_iommu_secure_ptbl_size() argument 435 desc.args[0] = spare; in __qcom_scm_iommu_secure_ptbl_size() 448 u32 spare) in __qcom_scm_iommu_secure_ptbl_init() argument 456 desc.args[2] = spare; in __qcom_scm_iommu_secure_ptbl_init()
|
D | qcom_scm-32.c | 596 u32 spare) in __qcom_scm_restore_sec_cfg() argument 601 int __qcom_scm_iommu_secure_ptbl_size(struct device *dev, u32 spare, in __qcom_scm_iommu_secure_ptbl_size() argument 608 u32 spare) in __qcom_scm_iommu_secure_ptbl_init() argument
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | vio.c | 97 size_t spare; member 160 if (vio_cmo.spare >= VIO_CMO_MIN_ENT) in vio_cmo_alloc() 213 spare_needed = VIO_CMO_MIN_ENT - vio_cmo.spare; in vio_cmo_dealloc() 223 vio_cmo.spare += tmp; in vio_cmo_dealloc() 238 vio_cmo.spare += tmp; in vio_cmo_dealloc() 293 if (vio_cmo.spare < VIO_CMO_MIN_ENT) { in vio_cmo_entitlement_update() 294 tmp = min(delta, (VIO_CMO_MIN_ENT - vio_cmo.spare)); in vio_cmo_entitlement_update() 295 vio_cmo.spare += tmp; in vio_cmo_entitlement_update() 403 cmo->spare = min_t(size_t, VIO_CMO_MIN_ENT, (cmo->entitled - cmo->min)); in vio_cmo_balance() 404 cmo->min += cmo->spare; in vio_cmo_balance() [all …]
|
D | msi.c | 228 int spare; member 271 counts->spare += counts->quota - req; in count_spare_msis() 320 counts.spare += total % counts.num_devices; in msi_quota_for_device() 324 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device()
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | mtk_nand.c | 326 u32 fmt, spare, i; in mtk_nfc_hw_runtime_config() local 331 spare = mtk_nand->spare_per_sector; in mtk_nfc_hw_runtime_config() 368 spare >>= 1; in mtk_nfc_hw_runtime_config() 371 if (nfc->caps->spare_size[i] == spare) in mtk_nfc_hw_runtime_config() 376 dev_err(nfc->dev, "invalid spare size %d\n", spare); in mtk_nfc_hw_runtime_config() 877 u32 spare = mtk_nand->spare_per_sector; in mtk_nfc_read_subpage() local 889 column = start * (chip->ecc.size + spare); in mtk_nfc_read_subpage() 891 len = sectors * chip->ecc.size + (raw ? sectors * spare : 0); in mtk_nfc_read_subpage() 1157 const u8 *spare = nfc->caps->spare_size; in mtk_nfc_set_spare_per_sector() local 1170 if (*sps >= spare[i] && spare[i] >= spare[closest_spare]) { in mtk_nfc_set_spare_per_sector() [all …]
|
D | marvell_nand.c | 828 u8 *spare, int spare_len, in marvell_nfc_check_empty_chunk() argument 842 if (!spare) in marvell_nfc_check_empty_chunk() 848 spare, spare_len, chip->ecc.strength); in marvell_nfc_check_empty_chunk() 1166 u8 *spare, unsigned int spare_len, in marvell_nfc_hw_ecc_bch_read_chunk() argument 1225 marvell_nfc_xfer_data_in_pio(nfc, spare, in marvell_nfc_hw_ecc_bch_read_chunk() 1227 spare += FIFO_DEPTH * BCH_SEQ_READS; in marvell_nfc_hw_ecc_bch_read_chunk() 1238 u8 *data = buf, *spare = chip->oob_poi, *ecc; in marvell_nfc_hw_ecc_bch_read_page() local 1262 spare, spare_len, page); in marvell_nfc_hw_ecc_bch_read_page() 1268 spare += spare_len; in marvell_nfc_hw_ecc_bch_read_page() 1314 spare = chip->oob_poi + (chunk * (lt->spare_bytes + in marvell_nfc_hw_ecc_bch_read_page() [all …]
|
/Linux-v4.19/crypto/async_tx/ |
D | async_pq.c | 298 size_t len, enum sum_check_flags *pqres, struct page *spare, in async_syndrome_val() argument 387 BUG_ON(!spare || !scribble); in async_syndrome_val() 400 tx = async_xor(spare, blocks, offset, disks-2, len, submit); in async_syndrome_val() 403 s = page_address(spare) + offset; in async_syndrome_val() 409 Q(blocks, disks) = spare; in async_syndrome_val() 414 s = page_address(spare) + offset; in async_syndrome_val()
|
D | raid6test.c | 36 static struct page *spare; variable 120 tx = async_syndrome_val(ptrs, 0, disks, bytes, &result, spare, &submit); in raid6_dual_recov() 167 spare = data[disks+2]; in test()
|
/Linux-v4.19/Documentation/driver-api/ |
D | mtdnand.rst | 429 Most NAND chips mark the bad blocks at a defined position in the spare 432 mark each time when the blocks are accessed by reading the spare area of 545 marked and identified by a pattern which is stored in the spare area 548 the pattern has to be stored in len and the offset in the spare area 576 is stored in 4 consecutive bytes in the spare area of the device. The 602 filesystem data in the spare area, 643 The eccpos array holds the byte offsets in the spare area where the 648 The oobfree array defines the areas in the spare area which can be 659 spare area buffer along with the data buffer. The spare area buffer size 660 is (number of pages) \* (size of spare area). For reads the buffer size [all …]
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | adb_iop.h | 42 __u8 spare[21]; /* spare */ member
|
/Linux-v4.19/include/net/ |
D | gtp.h | 19 __u8 spare[3]; member
|
/Linux-v4.19/drivers/soc/bcm/brcmstb/pm/ |
D | aon_defs.h | 104 uint32_t spare[70]; member
|
/Linux-v4.19/drivers/s390/char/ |
D | sclp_diag.h | 53 u8 spare; member
|
/Linux-v4.19/sound/pci/asihpi/ |
D | hpi6205.h | 64 u32 spare; member
|
/Linux-v4.19/fs/afs/ |
D | afs_vl.h | 115 __be32 spare; member
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/inc/ |
D | smu8_fusion.h | 37 uint8_t spare[3]; member
|
/Linux-v4.19/arch/arm/lib/ |
D | lib1funcs.S | 137 .macro ARM_MOD_BODY dividend, divisor, order, spare 142 clz \spare, \dividend 143 sub \order, \order, \spare
|