• Home
  • Raw
  • Download

Lines Matching defs:mtd

135 static inline u16 nfc_read(struct mtd_info *mtd, uint reg)  in nfc_read()
144 static inline void nfc_write(struct mtd_info *mtd, uint reg, u16 val) in nfc_write()
153 static inline void nfc_set(struct mtd_info *mtd, uint reg, u16 bits) in nfc_set()
159 static inline void nfc_clear(struct mtd_info *mtd, uint reg, u16 bits) in nfc_clear()
165 static inline void mpc5121_nfc_send_addr(struct mtd_info *mtd, u16 addr) in mpc5121_nfc_send_addr()
173 static inline void mpc5121_nfc_send_cmd(struct mtd_info *mtd, u16 cmd) in mpc5121_nfc_send_cmd()
181 static inline void mpc5121_nfc_send_prog_page(struct mtd_info *mtd) in mpc5121_nfc_send_prog_page()
189 static inline void mpc5121_nfc_send_read_page(struct mtd_info *mtd) in mpc5121_nfc_send_read_page()
197 static inline void mpc5121_nfc_send_read_id(struct mtd_info *mtd) in mpc5121_nfc_send_read_id()
205 static inline void mpc5121_nfc_send_read_status(struct mtd_info *mtd) in mpc5121_nfc_send_read_status()
215 struct mtd_info *mtd = data; in mpc5121_nfc_irq() local
226 static void mpc5121_nfc_done(struct mtd_info *mtd) in mpc5121_nfc_done()
246 static void mpc5121_nfc_addr_cycle(struct mtd_info *mtd, int column, int page) in mpc5121_nfc_addr_cycle()
267 static void mpc5121_nfc_select_chip(struct mtd_info *mtd, int chip) in mpc5121_nfc_select_chip()
281 static int ads5121_chipselect_init(struct mtd_info *mtd) in ads5121_chipselect_init()
303 static void ads5121_select_chip(struct mtd_info *mtd, int chip) in ads5121_select_chip()
322 static int mpc5121_nfc_dev_ready(struct mtd_info *mtd) in mpc5121_nfc_dev_ready()
332 static void mpc5121_nfc_command(struct mtd_info *mtd, unsigned command, in mpc5121_nfc_command()
405 static void mpc5121_nfc_copy_spare(struct mtd_info *mtd, uint offset, in mpc5121_nfc_copy_spare()
457 static void mpc5121_nfc_buf_copy(struct mtd_info *mtd, u_char *buf, int len, in mpc5121_nfc_buf_copy()
497 static void mpc5121_nfc_read_buf(struct mtd_info *mtd, u_char *buf, int len) in mpc5121_nfc_read_buf()
503 static void mpc5121_nfc_write_buf(struct mtd_info *mtd, in mpc5121_nfc_write_buf()
510 static u8 mpc5121_nfc_read_byte(struct mtd_info *mtd) in mpc5121_nfc_read_byte()
520 static u16 mpc5121_nfc_read_word(struct mtd_info *mtd) in mpc5121_nfc_read_word()
536 static int mpc5121_nfc_read_hw_config(struct mtd_info *mtd) in mpc5121_nfc_read_hw_config()
615 static void mpc5121_nfc_free(struct device *dev, struct mtd_info *mtd) in mpc5121_nfc_free()
634 struct mtd_info *mtd; in mpc5121_nfc_probe() local
828 struct mtd_info *mtd = dev_get_drvdata(dev); in mpc5121_nfc_remove() local