Lines Matching refs:vf610_nfc

158 struct vf610_nfc {  struct
174 #define mtd_to_nfc(_mtd) container_of(_mtd, struct vf610_nfc, mtd) argument
204 static inline u32 vf610_nfc_read(struct vf610_nfc *nfc, uint reg) in vf610_nfc_read()
209 static inline void vf610_nfc_write(struct vf610_nfc *nfc, uint reg, u32 val) in vf610_nfc_write()
214 static inline void vf610_nfc_set(struct vf610_nfc *nfc, uint reg, u32 bits) in vf610_nfc_set()
219 static inline void vf610_nfc_clear(struct vf610_nfc *nfc, uint reg, u32 bits) in vf610_nfc_clear()
224 static inline void vf610_nfc_set_field(struct vf610_nfc *nfc, u32 reg, in vf610_nfc_set_field()
246 static inline void vf610_nfc_clear_status(struct vf610_nfc *nfc) in vf610_nfc_clear_status()
254 static void vf610_nfc_done(struct vf610_nfc *nfc) in vf610_nfc_done()
274 static u8 vf610_nfc_get_id(struct vf610_nfc *nfc, int col) in vf610_nfc_get_id()
289 static u8 vf610_nfc_get_status(struct vf610_nfc *nfc) in vf610_nfc_get_status()
294 static void vf610_nfc_send_command(struct vf610_nfc *nfc, u32 cmd_byte1, in vf610_nfc_send_command()
308 static void vf610_nfc_send_commands(struct vf610_nfc *nfc, u32 cmd_byte1, in vf610_nfc_send_commands()
324 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_irq()
332 static void vf610_nfc_addr_cycle(struct vf610_nfc *nfc, int column, int page) in vf610_nfc_addr_cycle()
345 static inline void vf610_nfc_ecc_mode(struct vf610_nfc *nfc, int ecc_mode) in vf610_nfc_ecc_mode()
352 static inline void vf610_nfc_transfer_size(struct vf610_nfc *nfc, int size) in vf610_nfc_transfer_size()
360 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_command()
453 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_read_buf()
467 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_write_buf()
480 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_read_byte()
525 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_select_chip()
560 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_correct_data()
609 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_write_page()
628 static void vf610_nfc_preinit_controller(struct vf610_nfc *nfc) in vf610_nfc_preinit_controller()
642 static void vf610_nfc_init_controller(struct vf610_nfc *nfc) in vf610_nfc_init_controller()
663 struct vf610_nfc *nfc; in vf610_nfc_probe()
830 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_remove()
841 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_suspend()
850 struct vf610_nfc *nfc = mtd_to_nfc(mtd); in vf610_nfc_resume()