Searched refs:die_nr (Results 1 – 2 of 2) sorted by relevance
465 static void tegra_nand_select_chip(struct mtd_info *mtd, int die_nr) in tegra_nand_select_chip() argument471 WARN_ON(die_nr >= (int)ARRAY_SIZE(nand->cs)); in tegra_nand_select_chip()473 if (die_nr < 0 || die_nr > 0) { in tegra_nand_select_chip()478 ctrl->cur_cs = nand->cs[die_nr]; in tegra_nand_select_chip()
637 static void marvell_nfc_select_chip(struct mtd_info *mtd, int die_nr) in marvell_nfc_select_chip() argument644 if (chip == nfc->selected_chip && die_nr == marvell_nand->selected_die) in marvell_nfc_select_chip()647 if (die_nr < 0 || die_nr >= marvell_nand->nsels) { in marvell_nfc_select_chip()668 marvell_nand->selected_die = die_nr; in marvell_nfc_select_chip()