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 <[email protected]-erlangen.de>
28 * purpose memory in the NVRAM - that is to say, they all add the
34 * rtc_lock held. Due to the index-port/data-port design of the RTC, we
107 return -EIO; in atari_nvram_read()
109 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in atari_nvram_read()
114 return p - buf; in atari_nvram_read()
125 return -EIO; in atari_nvram_write()
127 for (i = *ppos; count > 0 && i < NVRAM_BYTES; --count, ++i, ++p) in atari_nvram_write()
133 return p - buf; in atari_nvram_write()
194 for (i = ARRAY_SIZE(boot_prefs) - 1; i >= 0; --i) in atari_nvram_proc_read()
204 seq_puts(seq, "SCSI host ID : "); in atari_nvram_proc_read()
213 seq_puts(seq, "OS language : "); in atari_nvram_proc_read()
218 seq_puts(seq, "Keyboard language: "); in atari_nvram_proc_read()
264 return -ENODEV; in atari_nvram_init()
268 return -ENOMEM; in atari_nvram_init()