Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Dmpc5121_nfc.c130 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) in nfc_write() function
141 nfc_write(mtd, reg, nfc_read(mtd, reg) | bits); in nfc_set()
147 nfc_write(mtd, reg, nfc_read(mtd, reg) & ~bits); in nfc_clear()
153 nfc_write(mtd, NFC_FLASH_ADDR, addr); in mpc5121_nfc_send_addr()
154 nfc_write(mtd, NFC_CONFIG2, NFC_ADDRESS); in mpc5121_nfc_send_addr()
161 nfc_write(mtd, NFC_FLASH_CMD, cmd); in mpc5121_nfc_send_cmd()
162 nfc_write(mtd, NFC_CONFIG2, NFC_COMMAND); in mpc5121_nfc_send_cmd()
170 nfc_write(mtd, NFC_CONFIG2, NFC_INPUT); in mpc5121_nfc_send_prog_page()
178 nfc_write(mtd, NFC_CONFIG2, NFC_OUTPUT); in mpc5121_nfc_send_read_page()
186 nfc_write(mtd, NFC_CONFIG2, NFC_ID); in mpc5121_nfc_send_read_id()
[all …]