Home
last modified time | relevance | path

Searched refs:nvram (Results 1 – 25 of 40) sorted by relevance

12

/arch/m68k/atari/
Dnvram.c178 static void atari_nvram_proc_read(unsigned char *nvram, struct seq_file *seq, in atari_nvram_proc_read() argument
193 if (nvram[1] == boot_prefs[i].val) { in atari_nvram_proc_read()
198 seq_printf(seq, "0x%02x (undefined)\n", nvram[1]); in atari_nvram_proc_read()
201 (nvram[16] & 0x80) ? "on" : "off"); in atari_nvram_proc_read()
203 if (nvram[16] & 0x80) in atari_nvram_proc_read()
204 seq_printf(seq, "%d\n", nvram[16] & 7); in atari_nvram_proc_read()
212 if (nvram[6] < ARRAY_SIZE(languages)) in atari_nvram_proc_read()
213 seq_printf(seq, "%s\n", languages[nvram[6]]); in atari_nvram_proc_read()
215 seq_printf(seq, "%u (undefined)\n", nvram[6]); in atari_nvram_proc_read()
217 if (nvram[7] < ARRAY_SIZE(languages)) in atari_nvram_proc_read()
[all …]
DMakefile11 obj-$(CONFIG_NVRAM:m=y) += nvram.o
/arch/mips/bcm63xx/
Dnvram.c24 static struct bcm963xx_nvram nvram; variable
33 memcpy(&nvram, addr, BCM963XX_NVRAM_V5_SIZE); in bcm63xx_nvram_init()
36 if (bcm963xx_nvram_checksum(&nvram, &expected_crc, &crc)) in bcm63xx_nvram_init()
45 memcpy(nvram.mac_addr_base, hcs_mac_addr, ETH_ALEN); in bcm63xx_nvram_init()
46 nvram.mac_addr_count = 2; in bcm63xx_nvram_init()
52 return nvram.name; in bcm63xx_nvram_get_name()
61 if (mac_addr_used >= nvram.mac_addr_count) { in bcm63xx_nvram_get_mac_address()
66 memcpy(mac, nvram.mac_addr_base, ETH_ALEN); in bcm63xx_nvram_get_mac_address()
93 if (nvram.psi_size > 0) in bcm63xx_nvram_get_psi_size()
94 return nvram.psi_size; in bcm63xx_nvram_get_psi_size()
DMakefile2 obj-y += clk.o cpu.o cs.o gpio.o irq.o nvram.o prom.o reset.o \
/arch/powerpc/platforms/chrp/
Dnvram.c69 struct device_node *nvram; in chrp_nvram_init() local
73 nvram = of_find_node_by_type(NULL, "nvram"); in chrp_nvram_init()
74 if (nvram == NULL) in chrp_nvram_init()
77 nbytes_p = of_get_property(nvram, "#bytes", &proplen); in chrp_nvram_init()
79 of_node_put(nvram); in chrp_nvram_init()
86 of_node_put(nvram); in chrp_nvram_init()
DMakefile4 obj-$(CONFIG_NVRAM:m=y) += nvram.o
/arch/powerpc/platforms/pseries/
Dnvram.c214 struct device_node *nvram; in pSeries_nvram_init() local
218 nvram = of_find_node_by_type(NULL, "nvram"); in pSeries_nvram_init()
219 if (nvram == NULL) in pSeries_nvram_init()
222 nbytes_p = of_get_property(nvram, "#bytes", &proplen); in pSeries_nvram_init()
224 of_node_put(nvram); in pSeries_nvram_init()
233 of_node_put(nvram); in pSeries_nvram_init()
/arch/arm/boot/dts/
Dbcm4708-linksys-ea6300-v1.dts24 nvram@1c080000 {
25 compatible = "brcm,nvram";
Dbcm4709-linksys-ea9200.dts25 nvram@1c080000 {
26 compatible = "brcm,nvram";
Dbcm47094-luxul-xbr-4500.dts25 nvram@1eff0000 {
26 compatible = "brcm,nvram";
Dbcm47094-luxul-abr-4500.dts25 nvram@1eff0000 {
26 compatible = "brcm,nvram";
Dbcm4709-asus-rt-ac87u.dts83 nvram@80000 {
84 label = "nvram";
Dbcm47094-luxul-xwr-3150-v1.dts25 nvram@1eff0000 {
26 compatible = "brcm,nvram";
Dbcm53016-meraki-mr32.dts158 * It will only detect the "nvram" partition with an incorrect size.
161 * [ 1.733117] 0x000000400000-0x000008000000 : "nvram"
181 label = "nvram";
Dbcm47094-luxul-xwr-3100.dts25 nvram@1eff0000 {
26 compatible = "brcm,nvram";
Dbcm47081-tplink-archer-c5-v2.dts119 nvram@ff0000 {
120 label = "nvram";
Dbcm4709-tplink-archer-c9-v1.dts130 nvram@ff0000 {
131 label = "nvram";
Dbcm47081-luxul-xwr-1200.dts24 nvram@1eff0000 {
25 compatible = "brcm,nvram";
Dbcm47094-linksys-panamera.dts25 nvram@1c080000 {
26 compatible = "brcm,nvram";
294 label = "nvram";
Dbcm47094-phicomm-k3.dts54 label = "nvram";
/arch/mips/include/asm/mach-bcm63xx/
Dbcm63xx_nvram.h14 void bcm63xx_nvram_init(void *nvram);
/arch/mips/sgi-ip22/
DMakefile7 obj-y += ip22-mc.o ip22-hpc.o ip22-int.o ip22-time.o ip22-nvram.o \
/arch/powerpc/platforms/powermac/
DMakefile23 obj-$(CONFIG_NVRAM:m=y) += nvram.o
/arch/mips/boot/dts/brcm/
Dbcm97360svmb.dts106 flash0.nvram@240000 {
Dbcm97358svmb.dts103 flash0.nvram@240000 {

12