Lines Matching refs:e2
221 const struct bcm47xx_board_type_list2 *e2; in bcm47xx_board_get_nvram() local
240 for (e2 = bcm47xx_board_list_hw_version_num; e2->value1; e2++) { in bcm47xx_board_get_nvram()
241 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram()
242 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
243 return &e2->board; in bcm47xx_board_get_nvram()
272 for (e2 = bcm47xx_board_list_boot_hw; e2->value1; e2++) { in bcm47xx_board_get_nvram()
273 if (!strcmp(buf1, e2->value1) && in bcm47xx_board_get_nvram()
274 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
275 return &e2->board; in bcm47xx_board_get_nvram()
300 for (e2 = bcm47xx_board_list_board_type_rev; e2->value1; e2++) { in bcm47xx_board_get_nvram()
301 if (!strcmp(buf1, e2->value1) && in bcm47xx_board_get_nvram()
302 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
303 return &e2->board; in bcm47xx_board_get_nvram()
307 for (e2 = bcm47xx_board_list_key_value; e2->value1; e2++) { in bcm47xx_board_get_nvram()
308 if (bcm47xx_nvram_getenv(e2->value1, buf1, sizeof(buf1)) >= 0) { in bcm47xx_board_get_nvram()
309 if (!strcmp(buf1, e2->value2)) in bcm47xx_board_get_nvram()
310 return &e2->board; in bcm47xx_board_get_nvram()