Searched refs:nvp (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.h | 197 void sym_nvram_setup_target (struct sym_tcb *tp, int target, struct sym_nvram *nvp); 198 int sym_read_nvram (struct sym_device *np, struct sym_nvram *nvp); 199 char *sym_nvram_type(struct sym_nvram *nvp); 203 static inline int sym_read_nvram(struct sym_device *np, struct sym_nvram *nvp) in sym_read_nvram() argument 205 nvp->type = 0; in sym_read_nvram() 208 static inline char *sym_nvram_type(struct sym_nvram *nvp) in sym_nvram_type() argument
|
D | sym_nvram.c | 138 void sym_nvram_setup_target(struct sym_tcb *tp, int target, struct sym_nvram *nvp) in sym_nvram_setup_target() argument 140 switch (nvp->type) { in sym_nvram_setup_target() 142 sym_Symbios_setup_target(tp, target, &nvp->data.Symbios); in sym_nvram_setup_target() 145 sym_Tekram_setup_target(tp, target, &nvp->data.Tekram); in sym_nvram_setup_target() 753 int sym_read_nvram(struct sym_device *np, struct sym_nvram *nvp) in sym_read_nvram() argument 755 if (!sym_read_Symbios_nvram(np, &nvp->data.Symbios)) { in sym_read_nvram() 756 nvp->type = SYM_SYMBIOS_NVRAM; in sym_read_nvram() 757 sym_display_Symbios_nvram(np, &nvp->data.Symbios); in sym_read_nvram() 758 } else if (!sym_read_Tekram_nvram(np, &nvp->data.Tekram)) { in sym_read_nvram() 759 nvp->type = SYM_TEKRAM_NVRAM; in sym_read_nvram() [all …]
|
D | sym_glue.c | 1480 static void __devinit sym_get_nvram(struct sym_device *devp, struct sym_nvram *nvp) in sym_get_nvram() argument 1482 devp->nvram = nvp; in sym_get_nvram() 1483 nvp->type = 0; in sym_get_nvram() 1485 sym_read_nvram(devp, nvp); in sym_get_nvram() 1488 static inline void sym_get_nvram(struct sym_device *devp, struct sym_nvram *nvp) in sym_get_nvram() argument
|