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()
75 header = (struct nvram_header *)(iobase + off - size); in nvram_find_and_copy()
82 header = (struct nvram_header *)(iobase + 4096); in nvram_find_and_copy()
88 header = (struct nvram_header *)(iobase + 1024); in nvram_find_and_copy()
100 for (i = 0; i < sizeof(struct nvram_header); i += 4) in nvram_find_and_copy()
102 header = (struct nvram_header *)nvram_buf; in nvram_find_and_copy()
148 struct nvram_header header; in nvram_init()
190 var = &nvram_buf[sizeof(struct nvram_header)]; in bcm47xx_nvram_getenv()
238 *nvram_size = nvram_len - sizeof(struct nvram_header); in bcm47xx_nvram_get_contents()
242 memcpy(nvram, &nvram_buf[sizeof(struct nvram_header)], *nvram_size); in bcm47xx_nvram_get_contents()