Lines Matching refs:nvram
53 # error Cannot build nvram driver for this machine configuration.
516 static void pc_proc_infos(unsigned char *nvram, struct seq_file *seq, in pc_proc_infos() argument
529 (nvram[6] & 1) ? (nvram[6] >> 6) + 1 : 0); in pc_proc_infos()
531 type = nvram[2] >> 4; in pc_proc_infos()
537 type = nvram[2] & 0x0f; in pc_proc_infos()
544 type = nvram[4] >> 4; in pc_proc_infos()
546 seq_printf(seq, "%02x\n", type == 0x0f ? nvram[11] : type); in pc_proc_infos()
551 type = nvram[4] & 0x0f; in pc_proc_infos()
553 seq_printf(seq, "%02x\n", type == 0x0f ? nvram[12] : type); in pc_proc_infos()
558 nvram[18] | (nvram[19] << 8), in pc_proc_infos()
559 nvram[20], nvram[25], in pc_proc_infos()
560 nvram[21] | (nvram[22] << 8), nvram[23] | (nvram[24] << 8)); in pc_proc_infos()
562 nvram[39] | (nvram[40] << 8), in pc_proc_infos()
563 nvram[41], nvram[46], in pc_proc_infos()
564 nvram[42] | (nvram[43] << 8), nvram[44] | (nvram[45] << 8)); in pc_proc_infos()
566 seq_printf(seq, "DOS base memory: %d kB\n", nvram[7] | (nvram[8] << 8)); in pc_proc_infos()
568 nvram[9] | (nvram[10] << 8), nvram[34] | (nvram[35] << 8)); in pc_proc_infos()
571 gfx_types[(nvram[6] >> 4) & 3]); in pc_proc_infos()
574 (nvram[6] & 2) ? "" : "not "); in pc_proc_infos()
646 static void atari_proc_infos(unsigned char *nvram, struct seq_file *seq, in atari_proc_infos() argument
657 if (nvram[1] == boot_prefs[i].val) { in atari_proc_infos()
663 seq_printf(seq, "0x%02x (undefined)\n", nvram[1]); in atari_proc_infos()
666 (nvram[16] & 0x80) ? "on" : "off"); in atari_proc_infos()
668 if (nvram[16] & 0x80) in atari_proc_infos()
669 seq_printf(seq, "%d\n", nvram[16] & 7); in atari_proc_infos()
678 if (nvram[6] < ARRAY_SIZE(languages)) in atari_proc_infos()
679 seq_printf(seq, "%s\n", languages[nvram[6]]); in atari_proc_infos()
681 seq_printf(seq, "%u (undefined)\n", nvram[6]); in atari_proc_infos()
683 if (nvram[7] < ARRAY_SIZE(languages)) in atari_proc_infos()
684 seq_printf(seq, "%s\n", languages[nvram[7]]); in atari_proc_infos()
686 seq_printf(seq, "%u (undefined)\n", nvram[7]); in atari_proc_infos()
688 seq_printf(seq, dateformat[nvram[8] & 7], in atari_proc_infos()
689 nvram[9] ? nvram[9] : '/', nvram[9] ? nvram[9] : '/'); in atari_proc_infos()
690 seq_printf(seq, ", %dh clock\n", nvram[8] & 16 ? 24 : 12); in atari_proc_infos()
692 if (nvram[10] == 0) in atari_proc_infos()
695 seq_printf(seq, "%ds%s\n", nvram[10], in atari_proc_infos()
696 nvram[10] < 8 ? ", no memory test" : ""); in atari_proc_infos()
698 vmode = (nvram[14] << 8) || nvram[15]; in atari_proc_infos()