Lines Matching refs:chipnr
828 static void gpmi_select_chip(struct mtd_info *mtd, int chipnr) in gpmi_select_chip() argument
838 if (this->current_chip < 0 && chipnr >= 0) { in gpmi_select_chip()
842 } else if (this->current_chip >= 0 && chipnr < 0) { in gpmi_select_chip()
854 if (chipnr >= 0 && this->hw.must_apply_timings) { in gpmi_select_chip()
859 this->current_chip = chipnr; in gpmi_select_chip()
1557 int column, page, chipnr; in gpmi_block_markbad() local
1559 chipnr = (int)(ofs >> chip->chip_shift); in gpmi_block_markbad()
1560 chip->select_chip(mtd, chipnr); in gpmi_block_markbad()
1736 int chipnr; in mx23_boot_init() local
1769 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init()
1774 chip->select_chip(mtd, chipnr); in mx23_boot_init()