Searched refs:nvram_var (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/firmware/broadcom/ |
H A D | bcm47xx_nvram.c | 219 char nvram_var[] = "gpioXX"; in bcm47xx_nvram_gpio_pin() local 224 err = snprintf(nvram_var, sizeof(nvram_var), "gpio%i", i); in bcm47xx_nvram_gpio_pin() 227 err = bcm47xx_nvram_getenv(nvram_var, buf, sizeof(buf)); in bcm47xx_nvram_gpio_pin()
|
H A D | bcm47xx_sprom.c | 628 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()
|