Home
last modified time | relevance | path

Searched refs:NVRAM_BYTES (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/m68k/atari/
Dnvram.c23 #define NVRAM_BYTES 50 macro
90 for (i = 0; i < NVRAM_BYTES; ++i) in atari_nvram_initialize()
107 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in atari_nvram_read()
125 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in atari_nvram_write()
136 return NVRAM_BYTES; in atari_nvram_get_size()
246 unsigned char contents[NVRAM_BYTES]; in nvram_proc_read()
250 for (i = 0; i < NVRAM_BYTES; ++i) in nvram_proc_read()
/linux-6.12.1/drivers/char/
Dnvram.c76 #define NVRAM_BYTES (128 - NVRAM_FIRST_BYTE) macro
157 for (i = 0; i < NVRAM_BYTES; ++i) in pc_nvram_initialize()
166 return NVRAM_BYTES; in pc_nvram_get_size()
179 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in pc_nvram_read()
197 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in pc_nvram_write()
476 unsigned char contents[NVRAM_BYTES]; in nvram_proc_read()
480 for (i = 0; i < NVRAM_BYTES; ++i) in nvram_proc_read()