Lines Matching refs:nvram_header
29 struct nvram_header { struct
43 struct nvram_header __iomem *header; in find_nvram_size() argument
47 header = (struct nvram_header *)(end - nvram_sizes[i]); in find_nvram_size()
58 struct nvram_header __iomem *header; in nvram_find_and_copy()
73 header = (struct nvram_header *)(iobase + off - size); in nvram_find_and_copy()
80 header = (struct nvram_header *)(iobase + 4096); in nvram_find_and_copy()
86 header = (struct nvram_header *)(iobase + 1024); in nvram_find_and_copy()
97 nvram_len = ((struct nvram_header *)(nvram_buf))->len; in nvram_find_and_copy()
142 struct nvram_header header; in nvram_init()
184 var = &nvram_buf[sizeof(struct nvram_header)]; in bcm47xx_nvram_getenv()
232 *nvram_size = nvram_len - sizeof(struct nvram_header); in bcm47xx_nvram_get_contents()
236 memcpy(nvram, &nvram_buf[sizeof(struct nvram_header)], *nvram_size); in bcm47xx_nvram_get_contents()