Home
last modified time | relevance | path

Searched refs:nvp (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/arch/ppc/kernel/
Dprep_nvram.c39 unsigned char *nvp; in init_prep_nvram() local
48 nvp = (char *) &nvram->Header; in init_prep_nvram()
51 *nvp = ppc_md.nvram_read_val(i); in init_prep_nvram()
52 nvp++; in init_prep_nvram()
73 nvp = (char *) &nvram->GEArea[0]; in init_prep_nvram()
76 *nvp = ppc_md.nvram_read_val(i); in init_prep_nvram()
77 nvp++; in init_prep_nvram()
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_nvram.c109 void sym_nvram_setup_target (hcb_p np, int target, struct sym_nvram *nvp) in sym_nvram_setup_target() argument
112 switch(nvp->type) { in sym_nvram_setup_target()
114 sym_Symbios_setup_target (np, target, &nvp->data.Symbios); in sym_nvram_setup_target()
117 sym_Tekram_setup_target (np, target, &nvp->data.Tekram); in sym_nvram_setup_target()
272 int sym_read_nvram (sdev_p np, struct sym_nvram *nvp) in sym_read_nvram() argument
280 !sym_read_Symbios_nvram (np, &nvp->data.Symbios)) { in sym_read_nvram()
281 nvp->type = SYM_SYMBIOS_NVRAM; in sym_read_nvram()
283 sym_display_Symbios_nvram(np, &nvp->data.Symbios); in sym_read_nvram()
287 !sym_read_Tekram_nvram (np, &nvp->data.Tekram)) { in sym_read_nvram()
288 nvp->type = SYM_TEKRAM_NVRAM; in sym_read_nvram()
[all …]
Dsym_glue.c2184 static void __init sym_get_nvram(sym_device *devp, sym_nvram *nvp) in sym_get_nvram() argument
2186 if (!nvp) in sym_get_nvram()
2189 devp->nvram = nvp; in sym_get_nvram()
2191 nvp->type = 0; in sym_get_nvram()
2207 (void) sym_read_nvram(devp, nvp); in sym_get_nvram()
2742 sym_nvram nvram0, *nvp; in sym53c8xx_detect() local
2799 nvp = (sym_driver_setup.use_nvram & 0x1) ? &nvram0 : 0; in sym53c8xx_detect()
2836 if (nvp) { in sym53c8xx_detect()
2837 sym_get_nvram(devp, nvp); in sym53c8xx_detect()
2838 switch(nvp->type) { in sym53c8xx_detect()
[all …]
Dsym_hipd.h1143 void sym_nvram_setup_target (hcb_p np, int target, struct sym_nvram *nvp);
1144 int sym_read_nvram (sdev_p np, struct sym_nvram *nvp);
/linux-2.4.37.9/drivers/scsi/
Dsym53c8xx_comm.h1620 static void __init ncr_get_nvram(ncr_device *devp, ncr_nvram *nvp) in ncr_get_nvram() argument
1622 devp->nvram = nvp; in ncr_get_nvram()
1623 if (!nvp) in ncr_get_nvram()
1642 if (!sym_read_Symbios_nvram(&devp->slot, &nvp->data.Symbios)) in ncr_get_nvram()
1643 nvp->type = SCSI_NCR_SYMBIOS_NVRAM; in ncr_get_nvram()
1645 &nvp->data.Tekram)) in ncr_get_nvram()
1646 nvp->type = SCSI_NCR_TEKRAM_NVRAM; in ncr_get_nvram()
1648 nvp->type = 0; in ncr_get_nvram()
2524 ncr_nvram nvram0, nvram, *nvp; local
2562 nvp = (driver_setup.use_nvram & 0x1) ? &nvram0 : 0;
[all …]
Dsym53c8xx.c2541 static void ncr_get_nvram (ncr_device *devp, ncr_nvram *nvp);
12906 ncr_nvram nvram0, nvram, *nvp; local
12962 nvp = (driver_setup.use_nvram & 0x1) ? &nvram0 : 0;
12998 if (nvp) {
12999 ncr_get_nvram(devp, nvp);
13000 switch(nvp->type) {
13007 nvp = &nvram;
13035 if (!nvp || nvram0.type != SCSI_NCR_SYMBIOS_NVRAM)
13048 ncr_get_nvram(devp, nvp);
13075 ncr_get_nvram(devp, nvp);
[all …]