Searched refs:NVRAM_SIZE (Results 1 – 1 of 1) sorted by relevance
42 #define NVRAM_SIZE 0x2000 /* 8kB of non-volatile RAM */ macro111 if (*index > NVRAM_SIZE) in core99_nvram_read()115 if (i + count > NVRAM_SIZE) in core99_nvram_read()116 count = NVRAM_SIZE - i; in core99_nvram_read()129 if (*index > NVRAM_SIZE) in core99_nvram_write()133 if (i + count > NVRAM_SIZE) in core99_nvram_write()134 count = NVRAM_SIZE - i; in core99_nvram_write()145 return NVRAM_SIZE; in core99_nvram_size()154 return in_8(&nvram_data[(addr & (NVRAM_SIZE - 1)) * nvram_mult]); in direct_nvram_read_byte()159 out_8(&nvram_data[(addr & (NVRAM_SIZE - 1)) * nvram_mult], val); in direct_nvram_write_byte()[all …]