Lines Matching full:spare
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()
425 * Calculate offset to requested data block in selected spare in mpc5121_nfc_copy_spare()
444 /* Copy data from/to NFC main and spare buffers */
453 /* Handle spare area access */ in mpc5121_nfc_buf_copy()
455 /* Calculate offset from beginning of spare area */ in mpc5121_nfc_buf_copy()
466 * crossing main/spare boundary. in mpc5121_nfc_buf_copy()
476 /* Handle crossing main/spare boundary */ in mpc5121_nfc_buf_copy()
512 * size, spare size and bus width.
546 /* Bit 7: NFC Page/Spare size */ in mpc5121_nfc_read_hw_config()
583 "with %u spare.\n", in mpc5121_nfc_read_hw_config()
761 /* Set spare area size */ in mpc5121_nfc_probe()