Lines Matching defs:nfc
259 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip() local
287 static void meson_nfc_cmd_idle(struct meson_nfc *nfc, u32 time) in meson_nfc_cmd_idle()
293 static void meson_nfc_cmd_seed(struct meson_nfc *nfc, u32 seed) in meson_nfc_cmd_seed()
303 struct meson_nfc *nfc = nand_get_controller_data(mtd_to_nand(mtd)); in meson_nfc_cmd_access() local
325 static void meson_nfc_drain_cmd(struct meson_nfc *nfc) in meson_nfc_drain_cmd()
342 static int meson_nfc_wait_cmd_finish(struct meson_nfc *nfc, in meson_nfc_wait_cmd_finish()
358 static int meson_nfc_wait_dma_finish(struct meson_nfc *nfc) in meson_nfc_wait_dma_finish()
427 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_wait_no_rb_pin() local
455 static int meson_nfc_wait_rb_pin(struct meson_nfc *nfc, int timeout_ms) in meson_nfc_wait_rb_pin()
486 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_queue_rb() local
565 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_setup() local
605 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_release() local
616 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_buf() local
645 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_buf() local
670 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_rw_cmd_prepare_and_execute() local
724 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_page_sub() local
786 static void meson_nfc_check_ecc_pages_valid(struct meson_nfc *nfc, in meson_nfc_check_ecc_pages_valid()
810 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_page_sub() local
1017 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_exec_op() local
1115 static int meson_nfc_clk_init(struct meson_nfc *nfc) in meson_nfc_clk_init()
1193 static void meson_nfc_disable_clk(struct meson_nfc *nfc) in meson_nfc_disable_clk()
1301 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nand_attach_chip() local
1372 struct meson_nfc *nfc, struct device_node *np) in meson_nfc_nand_chip_init()
1444 static void meson_nfc_nand_chip_cleanup(struct meson_nfc *nfc) in meson_nfc_nand_chip_cleanup()
1461 struct meson_nfc *nfc) in meson_nfc_nand_chips_init()
1481 struct meson_nfc *nfc = id; in meson_nfc_irq() local
1518 struct meson_nfc *nfc; in meson_nfc_probe() local
1583 struct meson_nfc *nfc = platform_get_drvdata(pdev); in meson_nfc_remove() local