Searched refs:rev_type (Results 1 – 7 of 7) sorted by relevance
/openbmc/u-boot/board/raspberrypi/rpi/ |
H A D | rpi.c | 243 static uint32_t rev_type; variable 364 snprintf(s, sizeof(s), "0x%X", rev_type); in set_board_info() 438 rev_type = (revision >> 4) & 0xff; in get_board_rev() 443 rev_type = revision & 0xff; in get_board_rev() 447 if (rev_type >= models_count) { in get_board_rev() 448 printf("RPI: Board rev 0x%x outside known range\n", rev_type); in get_board_rev() 450 } else if (!models[rev_type].name) { in get_board_rev() 451 printf("RPI: Board rev 0x%x unknown\n", rev_type); in get_board_rev() 454 model = &models[rev_type]; in get_board_rev()
|
/openbmc/linux/arch/mips/lantiq/ |
H A D | prom.h | 16 unsigned char rev_type[LTQ_SYS_REV_LEN]; member
|
H A D | prom.c | 105 soc_info.name, soc_info.rev_type); in prom_init()
|
/openbmc/linux/drivers/net/ethernet/cirrus/ |
H A D | mac89x0.c | 169 unsigned rev_type = 0; in mac89x0_device_probe() local 221 rev_type = readreg(dev, PRODUCT_ID_ADD); in mac89x0_device_probe() 222 lp->chip_type = rev_type &~ REVISON_BITS; in mac89x0_device_probe() 223 lp->chip_revision = ((rev_type & REVISON_BITS) >> 8) + 'A'; in mac89x0_device_probe()
|
H A D | cs89x0.c | 1316 unsigned rev_type = 0; in cs89x0_probe1() local 1353 rev_type = readreg(dev, PRODUCT_ID_ADD); in cs89x0_probe1() 1354 lp->chip_type = rev_type & ~REVISON_BITS; in cs89x0_probe1() 1355 lp->chip_revision = ((rev_type & REVISON_BITS) >> 8) + 'A'; in cs89x0_probe1()
|
/openbmc/linux/arch/mips/lantiq/falcon/ |
H A D | prom.c | 61 sprintf(i->rev_type, "%c%d%d", (i->srev & 0x4) ? ('B') : ('A'), in ltq_soc_detect()
|
/openbmc/linux/arch/mips/lantiq/xway/ |
H A D | prom.c | 45 sprintf(i->rev_type, "1.%d", i->rev); in ltq_soc_detect()
|