/src/sys/arch/sgimips/sgimips/ |
arcemu.c | 181 * The following matches IP6's and IP12's NVRAM memory layout 202 } nvram; variable in typeref:struct:arcemu_nvramdata 279 eeprom_read((uint8_t *)&nvram, sizeof(nvram), i, 283 eeprom_read((uint8_t *)&nvram, sizeof(nvram), i, 288 if (nvram.enaddr[0] == 0x08 && nvram.enaddr[1] == 0x00 && 289 nvram.enaddr[2] == 0x69) 292 if (memcmp(nvram.lbaud, "9600\x0", 5) == 0 [all...] |
/src/sys/arch/prep/pnpbus/ |
nvram_pnpbus.c | 54 #include <machine/nvram.h> 61 static NVRAM_MAP *nvram; variable in typeref:typename:NVRAM_MAP * 142 aprint_error("nvram: couldn't map registers\n"); 146 /* Initialize the nvram header */ 152 * now that we have the header, we know how big the NVRAM part on 161 * now read the whole nvram in, one chunk at a time, marking down 180 nvram = (NVRAM_MAP *)&nvramData[0]; 182 aprint_verbose("%s: Read %d bytes from nvram of size %d\n", 187 printf("Dumping nvram\n"); 229 /* tell the NVRAM what we want * [all...] |
/src/sys/dev/sdmmc/ |
if_bwfm_sdio.c | 464 uint8_t *ucode, *nvram, *clm; local in function:bwfm_sdio_attachhook 492 nvram = bwfm_firmware_data(&fwctx, BWFM_FILETYPE_NVRAM, &nvlen); 493 KASSERT(nvram != NULL); 496 if (bwfm_nvram_convert(nvram, nvlen, &nvsize)) { 504 if (bwfm_sdio_load_microcode(sc, ucode, ucsize, nvram, nvsize) != 0) { 1157 u_char *nvram, size_t nvlen) 1185 DPRINTF(("nvram %zu bytes to 0x%08lx\n", nvlen, 1188 /* Upload nvram */ 1190 bwfm->sc_chip.ch_ramsize - nvlen, nvram, nvlen, 1); 1194 /* Verify nvram */ [all...] |