for (nr_chips = min_chips; nr_chips <= max_chips; nr_chips <<= 1) { 
for (nr_chips = max_chips; nr_chips >= min_chips; nr_chips >>= 1) { 
static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,			     struct cfi_private *cfi){	int min_chips = (map_bankwidth(map)/4?:1); /* At most 4-bytes wide. */	int max_chips = map_bankwidth(map); /* And minimum 1 */	int nr_chips, type;	for (nr_chips = min_chips; nr_chips <= max_chips; nr_chips <<= 1) {		if (!cfi_interleave_supported(nr_chips))		    continue;		cfi->interleave = nr_chips;		/* Minimum device size. Don't look for one 8-bit device		   in a 16-bit bus, etc. */		type = map_bankwidth(map) / nr_chips;		for (; type <= CFI_DEVICETYPE_X32; type<<=1) {			cfi->device_type = type;			if (cp->probe_chip(map, 0, NULL, cfi))				return 1;		}	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6170b43401a3230756ff76287ee07db0d75eddde/gen_probe.c/clean/drivers/mtd/chips/gen_probe.c