Lines Matching full:nfc
31 /* Addresses for NFC MAIN RAM BUFFER areas */
34 /* Addresses for NFC SPARE BUFFER areas */
39 /* MPC5121 NFC registers */
121 /* Read NFC register */
130 /* Write NFC register */
139 /* Set bits in NFC register */
145 /* Clear bits in NFC register */
167 /* Send data from NFC buffers to NAND flash */
199 /* NFC interrupt handler */
313 * NFC handles ready/busy signal internally. Therefore, this function in mpc5121_nfc_dev_ready()
334 * NFC does not support sub-page reads and writes, in mpc5121_nfc_command()
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()
444 /* Copy data from/to NFC main and spare buffers */
484 /* Read data from NFC buffers */
490 /* Write data to NFC buffers */
497 /* Read byte from NFC buffers */
508 * Read NFC configuration from Reset Config Word
510 * NFC is configured during reset in basis of information stored
543 /* Bit 6: NFC bus width */ in mpc5121_nfc_read_hw_config()
546 /* Bit 7: NFC Page/Spare size */ in mpc5121_nfc_read_hw_config()
633 * Check SoC revision. This driver supports only NFC in mpc5121_nfc_probe()
658 /* Read NFC configuration from Reset Config Word */ in mpc5121_nfc_probe()
661 dev_err(dev, "Unable to read NFC config!\n"); in mpc5121_nfc_probe()
719 /* Enable NFC clock */ in mpc5121_nfc_probe()
722 dev_err(dev, "Unable to acquire NFC clock!\n"); in mpc5121_nfc_probe()
728 dev_err(dev, "Unable to enable NFC clock!\n"); in mpc5121_nfc_probe()
737 dev_err(dev, "Timeout while resetting NFC!\n"); in mpc5121_nfc_probe()
745 /* Enable write to NFC memory */ in mpc5121_nfc_probe()
754 * Setup NFC: in mpc5121_nfc_probe()
840 { .compatible = "fsl,mpc5121-nfc", },