Searched refs:chipnr (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/mtd/nand/ |
D | jz4740_nand.c | 81 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 467 chipnr = 0; in jz_nand_probe() 487 nand->banks[chipnr] = bank; in jz_nand_probe() [all …]
|
D | nand_base.c | 190 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip() argument 194 switch (chipnr) { in nand_select_chip() 323 int page, chipnr, res = 0, i = 0; in nand_block_bad() local 333 chipnr = (int)(ofs >> chip->chip_shift); in nand_block_bad() 338 chip->select_chip(mtd, chipnr); in nand_block_bad() 983 int chipnr; in nand_unlock() local 999 chipnr = ofs >> chip->chip_shift; in nand_unlock() 1001 chip->select_chip(mtd, chipnr); in nand_unlock() 1046 int chipnr, status, page; in nand_lock() local 1058 chipnr = ofs >> chip->chip_shift; in nand_lock() [all …]
|
D | cafe_nand.c | 314 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()
|
D | fsmc_nand.c | 330 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()
|
D | sh_flctl.c | 873 static void flctl_select_chip(struct mtd_info *mtd, int chipnr) in flctl_select_chip() argument 878 switch (chipnr) { in flctl_select_chip()
|
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-nand.c | 899 static void gpmi_select_chip(struct mtd_info *mtd, int chipnr) in gpmi_select_chip() argument 904 if ((this->current_chip < 0) && (chipnr >= 0)) in gpmi_select_chip() 906 else if ((this->current_chip >= 0) && (chipnr < 0)) in gpmi_select_chip() 909 this->current_chip = chipnr; in gpmi_select_chip() 1545 int column, page, status, chipnr; in gpmi_block_markbad() local 1547 chipnr = (int)(ofs >> chip->chip_shift); in gpmi_block_markbad() 1548 chip->select_chip(mtd, chipnr); in gpmi_block_markbad() 1741 int chipnr; in mx23_boot_init() local 1774 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift); in mx23_boot_init() 1779 chip->select_chip(mtd, chipnr); in mx23_boot_init()
|