Searched refs:max_chips (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/mtd/chips/ |
D | gen_probe.c | 65 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-v4.19/include/linux/mtd/ |
D | onenand.h | 25 extern int onenand_scan(struct mtd_info *mtd, int max_chips);
|
D | rawnand.h | 30 int nand_scan_with_ids(struct mtd_info *mtd, int max_chips, 33 static inline int nand_scan(struct mtd_info *mtd, int max_chips) in nand_scan() argument 35 return nand_scan_with_ids(mtd, max_chips, NULL); in nand_scan()
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | hisi504_nand.c | 755 int ret = 0, irq, max_chips = HINFC504_MAX_CHIP; in hisi_nfc_probe() local 814 ret = nand_scan(mtd, max_chips); in hisi_nfc_probe()
|