Searched refs:nfc_write (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/drivers/mtd/nand/ |
D | mpc5121_nfc.c | 145 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) in nfc_write() function 156 nfc_write(mtd, reg, nfc_read(mtd, reg) | bits); in nfc_set() 162 nfc_write(mtd, reg, nfc_read(mtd, reg) & ~bits); in nfc_clear() 168 nfc_write(mtd, NFC_FLASH_ADDR, addr); in mpc5121_nfc_send_addr() 169 nfc_write(mtd, NFC_CONFIG2, NFC_ADDRESS); in mpc5121_nfc_send_addr() 176 nfc_write(mtd, NFC_FLASH_CMD, cmd); in mpc5121_nfc_send_cmd() 177 nfc_write(mtd, NFC_CONFIG2, NFC_COMMAND); in mpc5121_nfc_send_cmd() 185 nfc_write(mtd, NFC_CONFIG2, NFC_INPUT); in mpc5121_nfc_send_prog_page() 193 nfc_write(mtd, NFC_CONFIG2, NFC_OUTPUT); in mpc5121_nfc_send_read_page() 201 nfc_write(mtd, NFC_CONFIG2, NFC_ID); in mpc5121_nfc_send_read_id() [all …]
|