Lines Matching refs:nvp
109 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()
290 sym_display_Tekram_nvram(np, &nvp->data.Tekram); in sym_read_nvram()
294 nvp->type = 0; in sym_read_nvram()
296 nvp->type = 0; in sym_read_nvram()
298 return nvp->type; in sym_read_nvram()