Home
last modified time | relevance | path

Searched refs:chipnr (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/nand/
Djz4740_nand.c81 static void jz_nand_select_chip(struct mtd_info *mtd, int chipnr) in jz_nand_select_chip() argument
91 if (chipnr == -1) { in jz_nand_select_chip()
94 banknr = nand->banks[chipnr] - 1; in jz_nand_select_chip()
328 size_t chipnr, uint8_t *nand_maf_id, in jz_nand_detect_bank() argument
364 if (chipnr == 0) { in jz_nand_detect_bank()
378 chip->select_chip(mtd, chipnr); in jz_nand_detect_bank()
392 dev_info(&pdev->dev, "Found chip %i on bank %i\n", chipnr, bank); in jz_nand_detect_bank()
415 size_t chipnr, bank_idx; in jz_nand_probe() local
472 chipnr = 0; in jz_nand_probe()
492 nand->banks[chipnr] = bank; in jz_nand_probe()
[all …]
Dnand_base.c188 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip() argument
192 switch (chipnr) { in nand_select_chip()
287 int page, chipnr, res = 0, i = 0; in nand_block_bad() local
297 chipnr = (int)(ofs >> chip->chip_shift); in nand_block_bad()
302 chip->select_chip(mtd, chipnr); in nand_block_bad()
901 int chipnr; in nand_unlock() local
917 chipnr = ofs >> chip->chip_shift; in nand_unlock()
919 chip->select_chip(mtd, chipnr); in nand_unlock()
955 int chipnr, status, page; in nand_lock() local
967 chipnr = ofs >> chip->chip_shift; in nand_lock()
[all …]
Dcafe_nand.c314 static void cafe_select_chip(struct mtd_info *mtd, int chipnr) in cafe_select_chip() argument
318 cafe_dev_dbg(&cafe->pdev->dev, "select_chip %d\n", chipnr); in cafe_select_chip()
322 if (chipnr) in cafe_select_chip()
Dfsmc_nand.c330 static void fsmc_select_chip(struct mtd_info *mtd, int chipnr) in fsmc_select_chip() argument
337 switch (chipnr) { in fsmc_select_chip()
346 host->select_chip(chipnr, in fsmc_select_chip()
Dsh_flctl.c875 static void flctl_select_chip(struct mtd_info *mtd, int chipnr) in flctl_select_chip() argument
880 switch (chipnr) { in flctl_select_chip()
/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c229 int chipnr = this->current_chip; in get_dma_chan() local
231 return this->dma_chans[chipnr]; in get_dma_chan()
794 static void gpmi_select_chip(struct mtd_info *mtd, int chipnr) in gpmi_select_chip() argument
799 if ((this->current_chip < 0) && (chipnr >= 0)) in gpmi_select_chip()
801 else if ((this->current_chip >= 0) && (chipnr < 0)) in gpmi_select_chip()
804 this->current_chip = chipnr; in gpmi_select_chip()
1158 int column, page, status, chipnr; in gpmi_block_markbad() local
1169 chipnr = (int)(ofs >> chip->chip_shift); in gpmi_block_markbad()
1170 chip->select_chip(mtd, chipnr); in gpmi_block_markbad()
1367 int chipnr; in mx23_boot_init() local
[all …]