Home
last modified time | relevance | path

Searched refs:rev_type (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/board/raspberrypi/rpi/
H A Drpi.c243 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 Dprom.h16 unsigned char rev_type[LTQ_SYS_REV_LEN]; member
H A Dprom.c105 soc_info.name, soc_info.rev_type); in prom_init()
/openbmc/linux/drivers/net/ethernet/cirrus/
H A Dmac89x0.c169 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 Dcs89x0.c1316 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 Dprom.c61 sprintf(i->rev_type, "%c%d%d", (i->srev & 0x4) ? ('B') : ('A'), in ltq_soc_detect()
/openbmc/linux/arch/mips/lantiq/xway/
H A Dprom.c45 sprintf(i->rev_type, "1.%d", i->rev); in ltq_soc_detect()