Lines Matching refs:nvram_len
34 static size_t nvram_len; variable
66 nvram_len = copy_size; in bcm47xx_nvram_copy()
78 if (nvram_len) { in bcm47xx_nvram_find_and_copy()
115 if (nvram_len) { in bcm47xx_nvram_init_from_iomem()
169 nvram_len = header.len; in nvram_init()
170 if (nvram_len >= NVRAM_SPACE) { in nvram_init()
172 nvram_len, NVRAM_SPACE); in nvram_init()
173 nvram_len = NVRAM_SPACE - 1; in nvram_init()
176 err = mtd_read(mtd, 0, nvram_len, &nvram_len, in nvram_init()
193 if (!nvram_len) { in bcm47xx_nvram_getenv()
242 if (!nvram_len) { in bcm47xx_nvram_get_contents()
248 *nvram_size = nvram_len - sizeof(struct nvram_header); in bcm47xx_nvram_get_contents()