Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/drivers/char/
Dnvram.c61 # error Cannot build nvram driver for this machine configuration.
549 pc_proc_infos(unsigned char *nvram, char *buffer, int *len, in pc_proc_infos() argument
562 (nvram[6] & 1) ? (nvram[6] >> 6) + 1 : 0); in pc_proc_infos()
564 type = nvram[2] >> 4; in pc_proc_infos()
570 type = nvram[2] & 0x0f; in pc_proc_infos()
577 type = nvram[4] >> 4; in pc_proc_infos()
579 PRINT_PROC("%02x\n", type == 0x0f ? nvram[11] : type); in pc_proc_infos()
584 type = nvram[4] & 0x0f; in pc_proc_infos()
586 PRINT_PROC("%02x\n", type == 0x0f ? nvram[12] : type); in pc_proc_infos()
591 nvram[18] | (nvram[19] << 8), in pc_proc_infos()
[all …]
DMakefile27 au1000_gpio.o vac-serial.o hp_psaux.o nvram.o \
258 obj-$(CONFIG_NVRAM) += nvram.o
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_nvram.c73 void sym_nvram_setup_host (hcb_p np, struct sym_nvram *nvram) in sym_nvram_setup_host() argument
80 switch(nvram->type) { in sym_nvram_setup_host()
82 if (!(nvram->data.Symbios.flags & SYMBIOS_PARITY_ENABLE)) in sym_nvram_setup_host()
84 np->myaddr = nvram->data.Symbios.host_id & 0x0f; in sym_nvram_setup_host()
85 if (nvram->data.Symbios.flags & SYMBIOS_VERBOSE_MSGS) in sym_nvram_setup_host()
87 if (nvram->data.Symbios.flags1 & SYMBIOS_SCAN_HI_LO) in sym_nvram_setup_host()
89 if (nvram->data.Symbios.flags2 & SYMBIOS_AVOID_BUS_RESET) in sym_nvram_setup_host()
93 np->myaddr = nvram->data.Tekram.host_id & 0x0f; in sym_nvram_setup_host()
105 static void sym_Symbios_setup_target(hcb_p np,int target, Symbios_nvram *nvram);
106 static void sym_Tekram_setup_target(hcb_p np,int target, Tekram_nvram *nvram);
[all …]
Dsym_glue.c1939 sym_nvram *nvram = dev->nvram; in sym_attach() local
2075 if (sym_hcb_attach(np, fw, nvram)) in sym_attach()
2189 devp->nvram = nvp; in sym_get_nvram()
2740 sym_nvram nvram; in sym53c8xx_detect() local
2845 nvp = &nvram; in sym53c8xx_detect()
2928 devp->nvram = &nvram; in sym53c8xx_detect()
2929 nvram.type = 0; in sym53c8xx_detect()
DDocumentation.txt567 nvram:n do not look for serial NVRAM
568 nvram:y test controllers for onboard serial NVRAM
571 0x01 look for NVRAM (equivalent to nvram=y)
626 nvram:n do not look for serial NVRAM
627 nvram:y test controllers for onboard serial NVRAM
661 The 'nvram' boot option can be entered in hexadecimal form in order
665 0x01 look for NVRAM (equivalent to nvram=y)
1033 nvram 64x16 (1024 bit)
1135 default nvram data:
Dsym_hipd.c741 static int sym_prepare_setting(hcb_p np, struct sym_nvram *nvram) argument
831 np->maxoffs_dt = nvram->type ? 62 : 31;
932 sym_nvram_setup_host (np, nvram);
965 else if (nvram->type == SYM_SYMBIOS_NVRAM) {
983 (nvram->type == SYM_SYMBIOS_NVRAM ||
984 (nvram->type == SYM_TEKRAM_NVRAM &&
1018 sym_nvram_setup_target (np, i, nvram);
1040 i = nvram->type;
5706 int sym_hcb_attach(hcb_p np, struct sym_fw *fw, struct sym_nvram *nvram) argument
5712 struct sym_nvram nvram_buf, *nvram = &nvram_buf; local
[all …]
/linux-2.4.37.9/arch/ppc/kernel/
Dprep_nvram.c20 static NVRAM_MAP *nvram=(NVRAM_MAP *)&nvramData[0]; variable
48 nvp = (char *) &nvram->Header; in init_prep_nvram()
60 nvramSize=(int)nvram->Header.GEAddress+nvram->Header.GELength; in init_prep_nvram()
66 nvram->Header.GELength=0; in init_prep_nvram()
73 nvp = (char *) &nvram->GEArea[0]; in init_prep_nvram()
104 if (nvram->Header.GELength == 0) { in prep_nvram_first_var()
107 return (((char *)nvram) in prep_nvram_first_var()
108 + ((unsigned int) nvram->Header.GEAddress)); in prep_nvram_first_var()
119 while (((cp - ((char *) nvram->GEArea)) < nvram->Header.GELength) in prep_nvram_next_var()
126 while (((cp - ((char *) nvram->GEArea)) < nvram->Header.GELength) in prep_nvram_next_var()
[all …]
/linux-2.4.37.9/arch/mips/gt64120/momenco_ocelot/
Dreset.c22 void *nvram = ioremap_nocache(0x2c807000, 0x1000); in momenco_ocelot_restart() local
24 if (!nvram) { in momenco_ocelot_restart()
28 writeb(0x84, nvram + 0xff7); /* Ask the NVRAM/RTC/watchdog chip to in momenco_ocelot_restart()
31 iounmap(nvram); in momenco_ocelot_restart()
/linux-2.4.37.9/arch/mips/momentum/ocelot_g/
Dreset.c22 void *nvram = ioremap_nocache(0x2c807000, 0x1000); in momenco_ocelot_restart() local
24 if (!nvram) { in momenco_ocelot_restart()
28 writeb(0x84, nvram + 0xff7); /* Ask the NVRAM/RTC/watchdog chip to in momenco_ocelot_restart()
31 iounmap(nvram); in momenco_ocelot_restart()
/linux-2.4.37.9/arch/mips/momentum/jaguar_atx/
Dreset.c30 void *nvram = (void*) 0xfffffffffc807000; in momenco_jaguar_restart() local
32 void *nvram = (void*) 0xfc807000; in momenco_jaguar_restart()
35 writeb(0x84, nvram + 0xff7); in momenco_jaguar_restart()
/linux-2.4.37.9/drivers/scsi/
Dsym53c8xx_comm.h1146 ncr_nvram *nvram; member
1385 static int __init sym_read_Symbios_nvram (ncr_slot *np, Symbios_nvram *nvram) in sym_read_Symbios_nvram() argument
1388 u_char *data = (u_char *) nvram; in sym_read_Symbios_nvram()
1389 int len = sizeof(*nvram); in sym_read_Symbios_nvram()
1398 if (nvram->type != 0 || in sym_read_Symbios_nvram()
1399 memcmp(nvram->trailer, Symbios_trailer, 6) || in sym_read_Symbios_nvram()
1400 nvram->byte_count != len - 12) in sym_read_Symbios_nvram()
1406 if (csum != nvram->checksum) in sym_read_Symbios_nvram()
1535 sym_read_T93C46_nvram (ncr_slot *np, Tekram_nvram *nvram) in sym_read_T93C46_nvram() argument
1553 retv = T93C46_Read_Data(np, (u_short *) nvram, in sym_read_T93C46_nvram()
[all …]
Dips.c2151 if ((le32_to_cpu(ha->nvram->signature) == IPS_NVRAM_P5_SIG) &&
2152 (le16_to_cpu(ha->nvram->adapter_type) != 0))
2178 if (le32_to_cpu(ha->nvram->signature) == IPS_NVRAM_P5_SIG) {
2179 if (ha->nvram->bios_low[3] == 0) {
2182 ha->nvram->bios_high[0], ha->nvram->bios_high[1],
2183 ha->nvram->bios_high[2], ha->nvram->bios_high[3],
2184 ha->nvram->bios_low[0], ha->nvram->bios_low[1],
2185 ha->nvram->bios_low[2]);
2190 ha->nvram->bios_high[0], ha->nvram->bios_high[1],
2191 ha->nvram->bios_high[2], ha->nvram->bios_high[3],
[all …]
Dsym53c8xx.c1396 ncr_nvram *nvram; member
2543 Tekram_nvram *nvram);
2544 static int sym_read_Symbios_nvram (ncr_slot *np, Symbios_nvram *nvram);
4828 ncr_Symbios_setup_target(ncb_p np, int target, Symbios_nvram *nvram) in ncr_Symbios_setup_target() argument
4831 Symbios_target *tn = &nvram->target[target]; in ncr_Symbios_setup_target()
4849 ncr_Tekram_setup_target(ncb_p np, int target, Tekram_nvram *nvram) in ncr_Tekram_setup_target() argument
4852 struct Tekram_target *tn = &nvram->target[target]; in ncr_Tekram_setup_target()
4863 tp->usrtags = 2 << nvram->max_tags_index; in ncr_Tekram_setup_target()
4912 static int __init ncr_prepare_setting(ncb_p np, ncr_nvram *nvram) argument
5136 if (nvram) {
[all …]
Dqla1280.c825 struct nvram *nv; in qla1280_read_nvram()
834 wptr = (uint16_t *)&ha->nvram; in qla1280_read_nvram()
835 nv = &ha->nvram; in qla1280_read_nvram()
849 for (; cnt < sizeof(struct nvram); cnt++) { in qla1280_read_nvram()
1658 struct nvram *nv; in qla12160_set_target_parameters()
1661 nv = &ha->nvram; in qla12160_set_target_parameters()
1720 struct nvram *nv; in qla1280_slave_configure()
1724 nv = &ha->nvram; in qla1280_slave_configure()
2235 struct nvram *nv = (struct nvram *) ha->response_ring; in qla1280_isp_firmware()
2712 struct nvram *nv; in qla1280_nvram_config()
[all …]
Dncr53c8xx.c3166 ncr_Symbios_setup_target(ncb_p np, int target, Symbios_nvram *nvram) in ncr_Symbios_setup_target() argument
3169 Symbios_target *tn = &nvram->target[target]; in ncr_Symbios_setup_target()
3187 ncr_Tekram_setup_target(ncb_p np, int target, Tekram_nvram *nvram) in ncr_Tekram_setup_target() argument
3190 struct Tekram_target *tn = &nvram->target[target]; in ncr_Tekram_setup_target()
3201 tp->usrtags = 2 << nvram->max_tags_index; in ncr_Tekram_setup_target()
3213 static int __init ncr_prepare_setting(ncb_p np, ncr_nvram *nvram) argument
3360 if (nvram) {
3361 switch(nvram->type) {
3363 np->myaddr = nvram->data.Tekram.host_id & 0x0f;
3366 if (!(nvram->data.Symbios.flags & SYMBIOS_PARITY_ENABLE))
[all …]
Dqla1280.h174 uint16_t nvram; /* NVRAM register. */ member
328 struct nvram { struct
1099 struct nvram nvram; member
/linux-2.4.37.9/arch/mips/momentum/ocelot_c/
Dreset.c29 void *nvram = (void *) in momenco_ocelot_restart() local
37 writeb(0x84, nvram + 0xff7); in momenco_ocelot_restart()
/linux-2.4.37.9/arch/mips/pmc-sierra/stretch/
Dreset.c20 void *nvram = (void *)PMC_STRETCH_NVRAM_BASE; in pmc_stretch_restart() local
23 writeb(0x84, nvram + 0xff7); in pmc_stretch_restart()
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/
Dprom.c50 void *nvram = YOSEMITE_NVRAM_BASE_ADDR; in prom_cpu0_exit() local
53 writeb(0x84, nvram + 0xff7); in prom_cpu0_exit()
/linux-2.4.37.9/arch/mips/sgi-ip22/
DMakefile16 ip22-time.o ip22-rtc.o ip22-nvram.o ip22-reset.o \
/linux-2.4.37.9/drivers/macintosh/
DMakefile32 obj-$(CONFIG_NVRAM) += nvram.o
/linux-2.4.37.9/drivers/message/fusion/
Dmptscsih.c5029 int nvram; in mptscsih_setTargetNegoParms() local
5101 if (pspi_data->nvram && (pspi_data->nvram[id] != MPT_HOST_NVRAM_INVALID)) { in mptscsih_setTargetNegoParms()
5102 nvram = pspi_data->nvram[id]; in mptscsih_setTargetNegoParms()
5103 nfactor = (nvram & MPT_NVRAM_SYNC_MASK) >> 8; in mptscsih_setTargetNegoParms()
5106 width = nvram & MPT_NVRAM_WIDE_DISABLE ? 0 : 1; in mptscsih_setTargetNegoParms()
5314 int ii, nvram; in mptscsih_writeSDP1() local
5345 if (ioc->spi_data.nvram && (ioc->spi_data.nvram[id] != MPT_HOST_NVRAM_INVALID)) { in mptscsih_writeSDP1()
5346 nvram = ioc->spi_data.nvram[id]; in mptscsih_writeSDP1()
5349 maxwidth = nvram & MPT_NVRAM_WIDE_DISABLE ? 0 : 1; in mptscsih_writeSDP1()
5352 maxfactor = (nvram & MPT_NVRAM_SYNC_MASK) >> 8; in mptscsih_writeSDP1()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dnvram.c280 struct device_node *nvram; in nvram_init() local
285 if ((nvram = find_type_devices("nvram")) != NULL) { in nvram_init()
286 nbytes_p = (unsigned int *)get_property(nvram, "#bytes", &proplen); in nvram_init()
DMakefile41 obj-y += nvram.o rtasd.o
/linux-2.4.37.9/drivers/mtd/maps/
DMakefile56 obj-$(CONFIG_MTD_AUTCPU12) += autcpu12-nvram.o

12