Searched refs:nand_curr_device (Results 1 – 11 of 11) sorted by relevance
17 int nand_curr_device = -1; variable72 if (nand_curr_device == -1) in nand_register()73 nand_curr_device = devnum; in nand_register()170 board_nand_select_device(mtd_to_nand(get_nand_dev_by_index(nand_curr_device)), in nand_init()171 nand_curr_device); in nand_init()
411 mtd = get_nand_dev_by_index(nand_curr_device); in fsmc_nand_switch_ecc()
896 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in omap_nand_switch_ecc()
39 mtd = get_nand_dev_by_index(nand_curr_device); in nand_block_op()41 if (nand_curr_device < 0 || in nand_block_op()42 nand_curr_device >= CONFIG_SYS_MAX_NAND_DEVICE || in nand_block_op()147 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in dfu_flush_medium_nand()150 if (nand_curr_device < 0 || in dfu_flush_medium_nand()151 nand_curr_device >= CONFIG_SYS_MAX_NAND_DEVICE || in dfu_flush_medium_nand()
263 nand_curr_device = 0; in board_late_init()266 nand_curr_device = 1; in board_late_init()
45 extern int nand_curr_device;
123 if (nand_curr_device == dev) in set_dev()128 nand_curr_device = dev; in set_dev()387 int dev = nand_curr_device; in do_nand()
454 int nand_dev = nand_curr_device; in do_imls_nand()
238 int dev = nand_curr_device; in unlock_nand()
49 struct mtd_info *mtd = get_nand_dev_by_index(nand_curr_device); in splash_nand_read_raw()
315 mtd = get_nand_dev_by_index(nand_curr_device); in nand_burn_image()