Home
last modified time | relevance | path

Searched refs:max_chips (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/chips/
H A 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()
/kernel/linux/linux-6.6/drivers/mtd/chips/
H A Dgen_probe.c64 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 chip_map = bitmap_zalloc(max_chips, GFP_KERNEL); in genprobe_ident_chips()
128 for (i = 1; i < max_chips; i++) { in genprobe_ident_chips()
148 for (i = 0, j = 0; (j < cfi.numchips) && (i < max_chips); i++) { in genprobe_ident_chips()
168 int max_chips = map_bankwidth(map); /* And minimum 1 */ in genprobe_new_chip() local
171 for (nr_chips = max_chips; nr_chips >= min_chips; nr_chips >>= 1) { in genprobe_new_chip()
/kernel/linux/linux-5.10/include/linux/mtd/
H A Donenand.h22 extern int onenand_scan(struct mtd_info *mtd, int max_chips);
H A Drawnand.h1491 int nand_scan_with_ids(struct nand_chip *chip, unsigned int max_chips,
1494 static inline int nand_scan(struct nand_chip *chip, unsigned int max_chips) in nand_scan() argument
1496 return nand_scan_with_ids(chip, max_chips, NULL); in nand_scan()
/kernel/linux/linux-6.6/include/linux/mtd/
H A Donenand.h22 extern int onenand_scan(struct mtd_info *mtd, int max_chips);
H A Drawnand.h1574 int nand_scan_with_ids(struct nand_chip *chip, unsigned int max_chips,
1577 static inline int nand_scan(struct nand_chip *chip, unsigned int max_chips) in nand_scan() argument
1579 return nand_scan_with_ids(chip, max_chips, NULL); in nand_scan()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dhisi504_nand.c736 int ret = 0, irq, max_chips = HINFC504_MAX_CHIP; in hisi_nfc_probe() local
792 ret = nand_scan(chip, max_chips); in hisi_nfc_probe()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dhisi504_nand.c736 int ret = 0, irq, max_chips = HINFC504_MAX_CHIP; in hisi_nfc_probe() local
787 ret = nand_scan(chip, max_chips); in hisi_nfc_probe()

Completed in 10 milliseconds