Searched refs:nvp (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 83 static enum nvram_parser_state brcmf_nvram_handle_idle(struct nvram_parser *nvp) in brcmf_nvram_handle_idle() argument 87 c = nvp->data[nvp->pos]; in brcmf_nvram_handle_idle() 95 nvp->entry = nvp->pos; in brcmf_nvram_handle_idle() 99 nvp->line, nvp->column); in brcmf_nvram_handle_idle() 101 nvp->column++; in brcmf_nvram_handle_idle() 102 nvp->pos++; in brcmf_nvram_handle_idle() 106 static enum nvram_parser_state brcmf_nvram_handle_key(struct nvram_parser *nvp) in brcmf_nvram_handle_key() argument 108 enum nvram_parser_state st = nvp->state; in brcmf_nvram_handle_key() 111 c = nvp->data[nvp->pos]; in brcmf_nvram_handle_key() 114 if (strncmp(&nvp->data[nvp->entry], "RAW1", 4) == 0) in brcmf_nvram_handle_key() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
D | sym_nvram.h | 184 void sym_nvram_setup_target (struct sym_tcb *tp, int target, struct sym_nvram *nvp); 185 int sym_read_nvram (struct sym_device *np, struct sym_nvram *nvp); 186 char *sym_nvram_type(struct sym_nvram *nvp); 190 static inline int sym_read_nvram(struct sym_device *np, struct sym_nvram *nvp) in sym_read_nvram() argument 192 nvp->type = 0; in sym_read_nvram() 195 static inline char *sym_nvram_type(struct sym_nvram *nvp) in sym_nvram_type() argument
|
D | sym_nvram.c | 125 void sym_nvram_setup_target(struct sym_tcb *tp, int target, struct sym_nvram *nvp) in sym_nvram_setup_target() argument 127 switch (nvp->type) { in sym_nvram_setup_target() 129 sym_Symbios_setup_target(tp, target, &nvp->data.Symbios); in sym_nvram_setup_target() 132 sym_Tekram_setup_target(tp, target, &nvp->data.Tekram); in sym_nvram_setup_target() 741 int sym_read_nvram(struct sym_device *np, struct sym_nvram *nvp) in sym_read_nvram() argument 743 if (!sym_read_Symbios_nvram(np, &nvp->data.Symbios)) { in sym_read_nvram() 744 nvp->type = SYM_SYMBIOS_NVRAM; in sym_read_nvram() 745 sym_display_Symbios_nvram(np, &nvp->data.Symbios); in sym_read_nvram() 746 } else if (!sym_read_Tekram_nvram(np, &nvp->data.Tekram)) { in sym_read_nvram() 747 nvp->type = SYM_TEKRAM_NVRAM; in sym_read_nvram() [all …]
|
D | sym_glue.c | 1386 static void sym_get_nvram(struct sym_device *devp, struct sym_nvram *nvp) in sym_get_nvram() argument 1388 devp->nvram = nvp; in sym_get_nvram() 1389 nvp->type = 0; in sym_get_nvram() 1391 sym_read_nvram(devp, nvp); in sym_get_nvram() 1394 static inline void sym_get_nvram(struct sym_device *devp, struct sym_nvram *nvp) in sym_get_nvram() argument
|