Home
last modified time | relevance | path

Searched refs:max_chips (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/mtd/chips/
Dgen_probe.c65 int max_chips; in genprobe_ident_chips() local
108 max_chips = map->size >> cfi.chipshift; in genprobe_ident_chips()
109 if (!max_chips) { in genprobe_ident_chips()
111 max_chips = 1; in genprobe_ident_chips()
114 mapsize = sizeof(long) * DIV_ROUND_UP(max_chips, BITS_PER_LONG); in genprobe_ident_chips()
129 for (i = 1; i < max_chips; i++) { in genprobe_ident_chips()
149 for (i = 0, j = 0; (j < cfi.numchips) && (i < max_chips); i++) { in genprobe_ident_chips()
169 int max_chips = map_bankwidth(map); /* And minimum 1 */ in genprobe_new_chip() local
172 for (nr_chips = max_chips; nr_chips >= min_chips; nr_chips >>= 1) { in genprobe_new_chip()
/linux-4.1.27/include/linux/mtd/
Donenand.h25 extern int onenand_scan(struct mtd_info *mtd, int max_chips);
Dnand.h30 extern int nand_scan(struct mtd_info *mtd, int max_chips);
35 extern int nand_scan_ident(struct mtd_info *mtd, int max_chips,
/linux-4.1.27/drivers/mtd/nand/
Dhisi504_nand.c699 int ret = 0, irq, buswidth, flag, max_chips = HINFC504_MAX_CHIP; in hisi_nfc_probe() local
767 ret = nand_scan_ident(mtd, max_chips, NULL); in hisi_nfc_probe()