Searched refs:nfc_write (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/mtd/nand/ |
H A D | mpc5121_nfc.c | 145 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) nfc_write() function 156 nfc_write(mtd, reg, nfc_read(mtd, reg) | bits); nfc_set() 162 nfc_write(mtd, reg, nfc_read(mtd, reg) & ~bits); nfc_clear() 168 nfc_write(mtd, NFC_FLASH_ADDR, addr); mpc5121_nfc_send_addr() 169 nfc_write(mtd, NFC_CONFIG2, NFC_ADDRESS); mpc5121_nfc_send_addr() 176 nfc_write(mtd, NFC_FLASH_CMD, cmd); mpc5121_nfc_send_cmd() 177 nfc_write(mtd, NFC_CONFIG2, NFC_COMMAND); mpc5121_nfc_send_cmd() 185 nfc_write(mtd, NFC_CONFIG2, NFC_INPUT); mpc5121_nfc_send_prog_page() 193 nfc_write(mtd, NFC_CONFIG2, NFC_OUTPUT); mpc5121_nfc_send_read_page() 201 nfc_write(mtd, NFC_CONFIG2, NFC_ID); mpc5121_nfc_send_read_id() 209 nfc_write(mtd, NFC_CONFIG2, NFC_STATUS); mpc5121_nfc_send_read_status() 758 nfc_write(mtd, NFC_CONFIG, NFC_BLS_UNLOCKED); mpc5121_nfc_probe() 761 nfc_write(mtd, NFC_UNLOCKSTART_BLK0, 0x0000); mpc5121_nfc_probe() 762 nfc_write(mtd, NFC_UNLOCKEND_BLK0, 0xFFFF); mpc5121_nfc_probe() 763 nfc_write(mtd, NFC_WRPROT, NFC_WPC_UNLOCK); mpc5121_nfc_probe() 770 nfc_write(mtd, NFC_CONFIG1, NFC_BIG_ENDIAN | NFC_INT_MASK | mpc5121_nfc_probe() 774 nfc_write(mtd, NFC_SPAS, mtd->oobsize >> 1); mpc5121_nfc_probe()
|
Completed in 194 milliseconds