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 */
314 * NFC handles ready/busy signal internally. Therefore, this function in mpc5121_nfc_dev_ready()
335 * NFC does not support sub-page reads and writes, in mpc5121_nfc_command()
393 /* Copy data from/to NFC spare buffers. */
402 * NAND spare area is available through NFC spare buffers. in mpc5121_nfc_copy_spare()
403 * The NFC divides spare area into (page_size / 512) chunks. in mpc5121_nfc_copy_spare()
445 /* Copy data from/to NFC main and spare buffers */
485 /* Read data from NFC buffers */
491 /* Write data to NFC buffers */
498 /* Read byte from NFC buffers */
509 * Read NFC configuration from Reset Config Word
511 * NFC is configured during reset in basis of information stored
544 /* Bit 6: NFC bus width */ in mpc5121_nfc_read_hw_config()
547 /* Bit 7: NFC Page/Spare size */ in mpc5121_nfc_read_hw_config()
636 * Check SoC revision. This driver supports only NFC in mpc5121_nfc_probe()
661 /* Read NFC configuration from Reset Config Word */ in mpc5121_nfc_probe()
664 dev_err(dev, "Unable to read NFC config!\n"); in mpc5121_nfc_probe()
722 /* Enable NFC clock */ in mpc5121_nfc_probe()
725 dev_err(dev, "Unable to acquire NFC clock!\n"); in mpc5121_nfc_probe()
731 dev_err(dev, "Unable to enable NFC clock!\n"); in mpc5121_nfc_probe()
740 dev_err(dev, "Timeout while resetting NFC!\n"); in mpc5121_nfc_probe()
748 /* Enable write to NFC memory */ in mpc5121_nfc_probe()
757 * Setup NFC: in mpc5121_nfc_probe()
836 { .compatible = "fsl,mpc5121-nfc", },