Home
last modified time | relevance | path

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

/openbmc/linux/arch/m68k/atari/
H A Dnvram.c37 static unsigned char __nvram_read_byte(int i) in __nvram_read_byte() function
61 sum += __nvram_read_byte(i); in __nvram_check_checksum()
62 return (__nvram_read_byte(ATARI_CKS_LOC) == (~sum & 0xff)) && in __nvram_check_checksum()
63 (__nvram_read_byte(ATARI_CKS_LOC + 1) == (sum & 0xff)); in __nvram_check_checksum()
72 sum += __nvram_read_byte(i); in __nvram_set_checksum()
108 *p = __nvram_read_byte(i); in atari_nvram_read()
251 contents[i] = __nvram_read_byte(i); in nvram_proc_read()
/openbmc/linux/drivers/char/
H A Dnvram.c84 static unsigned char __nvram_read_byte(int i) in __nvram_read_byte() function
95 c = __nvram_read_byte(i); in pc_nvram_read_byte()
127 sum += __nvram_read_byte(i); in __nvram_check_checksum()
128 expect = __nvram_read_byte(PC_CKS_LOC)<<8 | in __nvram_check_checksum()
129 __nvram_read_byte(PC_CKS_LOC+1); in __nvram_check_checksum()
139 sum += __nvram_read_byte(i); in __nvram_set_checksum()
180 *p = __nvram_read_byte(i); in pc_nvram_read()
481 contents[i] = __nvram_read_byte(i); in nvram_proc_read()