Lines Matching defs:nfc
227 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip() local
255 static void meson_nfc_cmd_idle(struct meson_nfc *nfc, u32 time) in meson_nfc_cmd_idle()
261 static void meson_nfc_cmd_seed(struct meson_nfc *nfc, u32 seed) in meson_nfc_cmd_seed()
271 struct meson_nfc *nfc = nand_get_controller_data(mtd_to_nand(mtd)); in meson_nfc_cmd_access() local
293 static void meson_nfc_drain_cmd(struct meson_nfc *nfc) in meson_nfc_drain_cmd()
310 static int meson_nfc_wait_cmd_finish(struct meson_nfc *nfc, in meson_nfc_wait_cmd_finish()
326 static int meson_nfc_wait_dma_finish(struct meson_nfc *nfc) in meson_nfc_wait_dma_finish()
392 static int meson_nfc_queue_rb(struct meson_nfc *nfc, int timeout_ms) in meson_nfc_queue_rb()
479 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_setup() local
519 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_release() local
530 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_buf() local
559 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_buf() local
584 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_rw_cmd_prepare_and_execute() local
638 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_page_sub() local
700 static void meson_nfc_check_ecc_pages_valid(struct meson_nfc *nfc, in meson_nfc_check_ecc_pages_valid()
724 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_page_sub() local
906 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_exec_op() local
998 static int meson_nfc_clk_init(struct meson_nfc *nfc) in meson_nfc_clk_init()
1072 static void meson_nfc_disable_clk(struct meson_nfc *nfc) in meson_nfc_disable_clk()
1180 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nand_attach_chip() local
1243 struct meson_nfc *nfc, struct device_node *np) in meson_nfc_nand_chip_init()
1305 static int meson_nfc_nand_chip_cleanup(struct meson_nfc *nfc) in meson_nfc_nand_chip_cleanup()
1327 struct meson_nfc *nfc) in meson_nfc_nand_chips_init()
1347 struct meson_nfc *nfc = id; in meson_nfc_irq() local
1384 struct meson_nfc *nfc; in meson_nfc_probe() local
1455 struct meson_nfc *nfc = platform_get_drvdata(pdev); in meson_nfc_remove() local