Lines Matching refs:rom
417 static u32 rom[256];
423 if (read_rom(device, i, &rom[i]) != RCODE_COMPLETE)
428 * rom to indicate that they are booting (for example,
433 if (i == 0 && rom[i] == 0)
438 * Now parse the config rom. The config rom is a recursive
450 * lower 24 bits is the offset into the config rom,
456 if (i >= ARRAY_SIZE(rom))
459 * config rom area, something's fishy.
464 if (read_rom(device, i, &rom[i]) != RCODE_COMPLETE)
466 end = i + (rom[i] >> 16) + 1;
468 if (end > ARRAY_SIZE(rom))
483 if (read_rom(device, i, &rom[i]) != RCODE_COMPLETE)
485 if ((key >> 30) == 3 && (rom[i] >> 30) > 1 &&
487 stack[sp++] = i + rom[i];
497 memcpy(device->config_rom, rom, length * 4);
605 * rom. It shouldn't be necessary to tweak these; if the device
606 * doesn't respond to a config rom read within 10 seconds, it's not
635 fw_notify("giving up on config rom for node id %x\n",
683 fw_notify("created new fw device %s (%d config rom retries)\n",
688 * root node config rom. If this races with a bus reset we
745 * card and node so we can read the config rom and we
769 * first config rom scan half a second after bus reset.
797 * process of reading its config rom
801 * scheduled to read it's config rom, and we just put