Lines Matching refs:meson_nfc
150 struct meson_nfc { struct
225 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip()
253 static void meson_nfc_cmd_idle(struct meson_nfc *nfc, u32 time) in meson_nfc_cmd_idle()
259 static void meson_nfc_cmd_seed(struct meson_nfc *nfc, u32 seed) in meson_nfc_cmd_seed()
269 struct meson_nfc *nfc = nand_get_controller_data(mtd_to_nand(mtd)); in meson_nfc_cmd_access()
291 static void meson_nfc_drain_cmd(struct meson_nfc *nfc) in meson_nfc_drain_cmd()
308 static int meson_nfc_wait_cmd_finish(struct meson_nfc *nfc, in meson_nfc_wait_cmd_finish()
324 static int meson_nfc_wait_dma_finish(struct meson_nfc *nfc) in meson_nfc_wait_dma_finish()
390 static int meson_nfc_queue_rb(struct meson_nfc *nfc, int timeout_ms) in meson_nfc_queue_rb()
477 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_setup()
516 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_release()
525 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_buf()
554 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_buf()
579 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_rw_cmd_prepare_and_execute()
633 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_page_sub()
695 static void meson_nfc_check_ecc_pages_valid(struct meson_nfc *nfc, in meson_nfc_check_ecc_pages_valid()
717 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_page_sub()
896 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_exec_op()
988 static int meson_nfc_clk_init(struct meson_nfc *nfc) in meson_nfc_clk_init()
1062 static void meson_nfc_disable_clk(struct meson_nfc *nfc) in meson_nfc_disable_clk()
1170 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nand_attach_chip()
1234 struct meson_nfc *nfc, struct device_node *np) in meson_nfc_nand_chip_init()
1296 static int meson_nfc_nand_chip_cleanup(struct meson_nfc *nfc) in meson_nfc_nand_chip_cleanup()
1319 struct meson_nfc *nfc) in meson_nfc_nand_chips_init()
1339 struct meson_nfc *nfc = id; in meson_nfc_irq()
1376 struct meson_nfc *nfc; in meson_nfc_probe()
1447 struct meson_nfc *nfc = platform_get_drvdata(pdev); in meson_nfc_remove()