Lines Matching refs:nvram_header
39 int _nvram_commit(struct nvram_header *header);
42 uint8 nvram_calc_crc(struct nvram_header *nvh);
114 BCMINITFN(nvram_rehash)(struct nvram_header *header)
280 BCMINITFN(_nvram_commit)(struct nvram_header *header)
314 ptr = (char *) header + sizeof(struct nvram_header);
315 bzero(ptr, nvram_space - sizeof(struct nvram_header));
346 struct nvram_header *header;
350 if (!(header = (struct nvram_header *) MALLOC(si_osh(sih), MAX_NVRAM_SPACE))) {
379 BCMINITFN(nvram_calc_crc)(struct nvram_header *nvh)
381 struct nvram_header tmp;
390 sizeof(struct nvram_header) - NVRAM_CRC_START_POSITION,
394 crc = hndcrc8((uint8 *) &nvh[1], nvh->len - sizeof(struct nvram_header), crc);