Lines Matching refs:NVRAM_BYTES
73 #define NVRAM_BYTES (128-NVRAM_FIRST_BYTE) macro
85 #define NVRAM_BYTES (128-NVRAM_FIRST_BYTE) macro
101 #define NVRAM_BYTES 50 macro
245 offset += NVRAM_BYTES; in nvram_llseek()
254 unsigned char contents[NVRAM_BYTES]; in nvram_read()
259 if (i != n || i >= NVRAM_BYTES) in nvram_read()
267 for (tmp = contents; count-- > 0 && i < NVRAM_BYTES; ++i, ++tmp) in nvram_read()
287 unsigned char contents[NVRAM_BYTES]; in nvram_write()
293 if (i != n || i >= NVRAM_BYTES) in nvram_write()
296 len = (NVRAM_BYTES - i) < count ? (NVRAM_BYTES - i) : count; in nvram_write()
305 for (tmp = contents; count-- > 0 && i < NVRAM_BYTES; ++i, ++tmp) in nvram_write()
336 for (i = 0; i < NVRAM_BYTES; ++i) in nvram_ioctl()
413 unsigned char contents[NVRAM_BYTES]; in nvram_read_proc()
418 for (i = 0; i < NVRAM_BYTES; ++i) in nvram_read_proc()