Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.c87 static enum nvram_parser_state brcmf_nvram_handle_idle(struct nvram_parser *nvp) in brcmf_nvram_handle_idle() argument
91 c = nvp->data[nvp->pos]; in brcmf_nvram_handle_idle()
99 nvp->entry = nvp->pos; in brcmf_nvram_handle_idle()
103 nvp->line, nvp->column); in brcmf_nvram_handle_idle()
105 nvp->column++; in brcmf_nvram_handle_idle()
106 nvp->pos++; in brcmf_nvram_handle_idle()
110 static enum nvram_parser_state brcmf_nvram_handle_key(struct nvram_parser *nvp) in brcmf_nvram_handle_key() argument
112 enum nvram_parser_state st = nvp->state; in brcmf_nvram_handle_key()
115 c = nvp->data[nvp->pos]; in brcmf_nvram_handle_key()
118 if (strncmp(&nvp->data[nvp->entry], "RAW1", 4) == 0) in brcmf_nvram_handle_key()
[all …]
/linux-6.6.21/drivers/scsi/sym53c8xx_2/
Dsym_nvram.h184 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
Dsym_nvram.c125 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 …]
Dsym_glue.c1381 static void sym_get_nvram(struct sym_device *devp, struct sym_nvram *nvp) in sym_get_nvram() argument
1383 devp->nvram = nvp; in sym_get_nvram()
1384 nvp->type = 0; in sym_get_nvram()
1386 sym_read_nvram(devp, nvp); in sym_get_nvram()
1389 static inline void sym_get_nvram(struct sym_device *devp, struct sym_nvram *nvp) in sym_get_nvram() argument
/linux-6.6.21/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c2264 int i, nvp, nvps = 0; in vop2_create_crtcs() local
2303 nvp = 0; in vop2_create_crtcs()
2325 possible_crtcs = BIT(nvp); in vop2_create_crtcs()
2327 nvp++; in vop2_create_crtcs()