Home
last modified time | relevance | path

Searched refs:nvram_var (Results 1 – 2 of 2) sorted by relevance

/drivers/firmware/broadcom/
Dbcm47xx_nvram.c201 char nvram_var[] = "gpioXX"; in bcm47xx_nvram_gpio_pin() local
206 err = snprintf(nvram_var, sizeof(nvram_var), "gpio%i", i); in bcm47xx_nvram_gpio_pin()
209 err = bcm47xx_nvram_getenv(nvram_var, buf, sizeof(buf)); in bcm47xx_nvram_gpio_pin()
Dbcm47xx_sprom.c628 char nvram_var[10]; in bcm47xx_sprom_apply_prefix_alias() local
637 if (snprintf(nvram_var, sizeof(nvram_var), "devpath%d", i) <= 0) in bcm47xx_sprom_apply_prefix_alias()
639 if (bcm47xx_nvram_getenv(nvram_var, buf, sizeof(buf)) < 0) in bcm47xx_sprom_apply_prefix_alias()