Lines Matching refs:nvram_header
25 struct nvram_header { struct
39 struct nvram_header __iomem *header; in find_nvram_size() argument
43 header = (struct nvram_header *)(end - nvram_sizes[i]); in find_nvram_size()
54 struct nvram_header __iomem *header; in nvram_find_and_copy()
69 header = (struct nvram_header *)(iobase + off - size); in nvram_find_and_copy()
76 header = (struct nvram_header *)(iobase + 4096); in nvram_find_and_copy()
82 header = (struct nvram_header *)(iobase + 1024); in nvram_find_and_copy()
93 nvram_len = ((struct nvram_header *)(nvram_buf))->len; in nvram_find_and_copy()
138 struct nvram_header header; in nvram_init()
180 var = &nvram_buf[sizeof(struct nvram_header)]; in bcm47xx_nvram_getenv()
228 *nvram_size = nvram_len - sizeof(struct nvram_header); in bcm47xx_nvram_get_contents()
232 memcpy(nvram, &nvram_buf[sizeof(struct nvram_header)], *nvram_size); in bcm47xx_nvram_get_contents()