max_chips          65 drivers/mtd/chips/gen_probe.c 	int max_chips;
max_chips         108 drivers/mtd/chips/gen_probe.c 	max_chips = map->size >> cfi.chipshift;
max_chips         109 drivers/mtd/chips/gen_probe.c 	if (!max_chips) {
max_chips         111 drivers/mtd/chips/gen_probe.c 		max_chips = 1;
max_chips         114 drivers/mtd/chips/gen_probe.c 	mapsize = sizeof(long) * DIV_ROUND_UP(max_chips, BITS_PER_LONG);
max_chips         129 drivers/mtd/chips/gen_probe.c 	for (i = 1; i < max_chips; i++) {
max_chips         149 drivers/mtd/chips/gen_probe.c 	for (i = 0, j = 0; (j < cfi.numchips) && (i < max_chips); i++) {
max_chips         169 drivers/mtd/chips/gen_probe.c 	int max_chips = map_bankwidth(map); /* And minimum 1 */
max_chips         172 drivers/mtd/chips/gen_probe.c 	for (nr_chips = max_chips; nr_chips >= min_chips; nr_chips >>= 1) {
max_chips         736 drivers/mtd/nand/raw/hisi504_nand.c 	int ret = 0, irq, max_chips = HINFC504_MAX_CHIP;
max_chips         794 drivers/mtd/nand/raw/hisi504_nand.c 	ret = nand_scan(chip, max_chips);
max_chips          22 include/linux/mtd/onenand.h extern int onenand_scan(struct mtd_info *mtd, int max_chips);
max_chips        1355 include/linux/mtd/rawnand.h int nand_scan_with_ids(struct nand_chip *chip, unsigned int max_chips,
max_chips        1358 include/linux/mtd/rawnand.h static inline int nand_scan(struct nand_chip *chip, unsigned int max_chips)
max_chips        1360 include/linux/mtd/rawnand.h 	return nand_scan_with_ids(chip, max_chips, NULL);