Home
last modified time | relevance | path

Searched refs:nfc_write (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Dmpc5121_nfc.c131 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) in nfc_write() function
142 nfc_write(mtd, reg, nfc_read(mtd, reg) | bits); in nfc_set()
148 nfc_write(mtd, reg, nfc_read(mtd, reg) & ~bits); in nfc_clear()
154 nfc_write(mtd, NFC_FLASH_ADDR, addr); in mpc5121_nfc_send_addr()
155 nfc_write(mtd, NFC_CONFIG2, NFC_ADDRESS); in mpc5121_nfc_send_addr()
162 nfc_write(mtd, NFC_FLASH_CMD, cmd); in mpc5121_nfc_send_cmd()
163 nfc_write(mtd, NFC_CONFIG2, NFC_COMMAND); in mpc5121_nfc_send_cmd()
171 nfc_write(mtd, NFC_CONFIG2, NFC_INPUT); in mpc5121_nfc_send_prog_page()
179 nfc_write(mtd, NFC_CONFIG2, NFC_OUTPUT); in mpc5121_nfc_send_read_page()
187 nfc_write(mtd, NFC_CONFIG2, NFC_ID); in mpc5121_nfc_send_read_id()
[all …]