Lines Matching +full:language +full:- +full:id
1 // SPDX-License-Identifier: GPL-2.0+
3 * CMOS/NV-RAM driver for Atari. Adapted from drivers/char/nvram.c.
4 * Copyright (C) 1997 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
26 * purpose memory in the NVRAM - that is to say, they all add the
32 * rtc_lock held. Due to the index-port/data-port design of the RTC, we
105 return -EIO; in atari_nvram_read()
107 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in atari_nvram_read()
112 return p - buf; in atari_nvram_read()
123 return -EIO; in atari_nvram_write()
125 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in atari_nvram_write()
131 return p - buf; in atari_nvram_write()
192 for (i = ARRAY_SIZE(boot_prefs) - 1; i >= 0; --i) in atari_nvram_proc_read()
202 seq_puts(seq, "SCSI host ID : "); in atari_nvram_proc_read()
211 seq_puts(seq, "OS language : "); in atari_nvram_proc_read()
216 seq_puts(seq, "Keyboard language: "); in atari_nvram_proc_read()
262 return -ENODEV; in atari_nvram_init()
266 return -ENOMEM; in atari_nvram_init()