Lines Matching full:referenced
62 * jz4780_nemc_num_banks() - count the number of banks referenced by a device
73 unsigned long referenced = 0; in jz4780_nemc_num_banks() local
78 if (!(referenced & BIT(bank))) { in jz4780_nemc_num_banks()
79 referenced |= BIT(bank); in jz4780_nemc_num_banks()
279 unsigned long referenced; in jz4780_nemc_probe() local
342 referenced = 0; in jz4780_nemc_probe()
352 referenced = 0; in jz4780_nemc_probe()
356 referenced |= BIT(bank); in jz4780_nemc_probe()
359 if (!referenced) { in jz4780_nemc_probe()
363 } else if (nemc->banks_present & referenced) { in jz4780_nemc_probe()
370 for_each_set_bit(bank, &referenced, JZ4780_NEMC_NUM_BANKS) { in jz4780_nemc_probe()
372 referenced = 0; in jz4780_nemc_probe()
377 if (referenced) { in jz4780_nemc_probe()
379 nemc->banks_present |= referenced; in jz4780_nemc_probe()