Searched refs:nvram_var (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/firmware/broadcom/ |
H A D | bcm47xx_nvram.c | 209 char nvram_var[] = "gpioXX"; bcm47xx_nvram_gpio_pin() local 214 err = snprintf(nvram_var, sizeof(nvram_var), "gpio%i", i); bcm47xx_nvram_gpio_pin() 217 err = bcm47xx_nvram_getenv(nvram_var, buf, sizeof(buf)); bcm47xx_nvram_gpio_pin()
|
/linux-4.4.14/arch/mips/bcm47xx/ |
H A D | sprom.c | 637 char nvram_var[10]; bcm47xx_sprom_apply_prefix_alias() local 646 if (snprintf(nvram_var, sizeof(nvram_var), "devpath%d", i) <= 0) bcm47xx_sprom_apply_prefix_alias() 648 if (bcm47xx_nvram_getenv(nvram_var, buf, sizeof(buf)) < 0) bcm47xx_sprom_apply_prefix_alias()
|
Completed in 66 milliseconds