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
340 referenced = 0; in jz4780_nemc_probe()
350 referenced = 0; in jz4780_nemc_probe()
354 referenced |= BIT(bank); in jz4780_nemc_probe()
357 if (!referenced) { in jz4780_nemc_probe()
361 } else if (nemc->banks_present & referenced) { in jz4780_nemc_probe()
368 for_each_set_bit(bank, &referenced, JZ4780_NEMC_NUM_BANKS) { in jz4780_nemc_probe()
370 referenced = 0; in jz4780_nemc_probe()
375 if (referenced) { in jz4780_nemc_probe()
377 nemc->banks_present |= referenced; in jz4780_nemc_probe()