Searched refs:nvh (Results 1 - 5 of 5) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/src/shared/ |
H A D | nvram_rw.c | 218 struct nvram_header *nvh; local 264 nvh = (struct nvram_header *)OSL_UNCACHED(flbase + off); 265 if (nvh->magic != NVRAM_MAGIC) 269 if ((nvh = nand_find_nvram(nfl_info, off)) == NULL) 271 if (nvram_calc_crc(nvh) == (uint8)nvh->crc_ver_init) 272 return nvh; 280 nvh = (struct nvram_header *) 282 if (nvh->magic == NVRAM_MAGIC) { 283 if (nvram_calc_crc(nvh) [all...] |
H A D | load.c | 315 struct nvram_header *nvh = NULL; local 334 nvh = (struct nvram_header *)(flbase + off - MAX_NVRAM_SPACE); 335 if (R_REG(osh, &nvh->magic) == NVRAM_MAGIC) 338 nvh = NULL; 341 if (nvh == NULL) { 342 nvh = (struct nvram_header *)(flbase + 1024); 343 if (R_REG(osh, &nvh->magic) != NVRAM_MAGIC) { 348 sflmaxclk = R_REG(osh, &nvh->crc_ver_init) >> 16;
|
H A D | nvram.c | 42 uint8 nvram_calc_crc(struct nvram_header *nvh); 379 BCMINITFN(nvram_calc_crc)(struct nvram_header *nvh) argument 385 tmp.crc_ver_init = htol32((nvh->crc_ver_init & NVRAM_CRC_VER_MASK)); 386 tmp.config_refresh = htol32(nvh->config_refresh); 387 tmp.config_ncdl = htol32(nvh->config_ncdl); 394 crc = hndcrc8((uint8 *) &nvh[1], nvh->len - sizeof(struct nvram_header), crc);
|
H A D | aisdram-ca9.c | 1108 struct nvram_header *nvh = NULL; local 1190 nvh = (struct nvram_header *)(flbase + off - MAX_NVRAM_SPACE); 1191 if (R_REG(osh, &nvh->magic) == NVRAM_MAGIC) 1194 nvh = NULL; 1200 if (nvh == NULL) { 1201 nvh = (struct nvram_header *)(flbase + 1024); 1202 if (R_REG(osh, &nvh->magic) != NVRAM_MAGIC) { 1206 config_refresh = R_REG(osh, &nvh->config_refresh); 1209 sdram_ncdl = R_REG(osh, &nvh->config_ncdl);
|
/netgear-R7000-V1.0.7.12_1.2.5/src/include/ |
H A D | bcmnvram.h | 227 * @param nvh nvram header pointer 229 uint8 nvram_calc_crc(struct nvram_header * nvh);
|
Completed in 123 milliseconds