Lines Matching refs:NVRW_CNT
45 static char nvram_buf[NVRW_CNT]; /* assume this is in the first 4GB */
187 if (count <= NVRW_CNT) { in __read_nvram()
190 remainder = count % NVRW_CNT; in __read_nvram()
205 count -= NVRW_CNT) { in __read_nvram()
207 NVRW_CNT) != 0) || len != NVRW_CNT) { in __read_nvram()
211 memcpy(p, nvram_buf, NVRW_CNT); in __read_nvram()
213 p += NVRW_CNT; in __read_nvram()
214 i += NVRW_CNT; in __read_nvram()
242 if (count <= NVRW_CNT) { in __write_nvram()
245 remainder = count % NVRW_CNT; in __write_nvram()
261 count -= NVRW_CNT) { in __write_nvram()
263 memcpy(nvram_buf, p, NVRW_CNT); in __write_nvram()
266 NVRW_CNT) != 0) || len != NVRW_CNT) { in __write_nvram()
270 p += NVRW_CNT; in __write_nvram()
271 i += NVRW_CNT; in __write_nvram()