Home
last modified time | relevance | path

Searched refs:id32 (Results 1 – 2 of 2) sorted by relevance

/drivers/net/dsa/microchip/
Dksz_common.c2718 u32 id32; in ksz_switch_detect() local
2752 ret = ksz_read32(dev, REG_CHIP_ID0, &id32); in ksz_switch_detect()
2756 dev->chip_rev = FIELD_GET(SW_REV_ID_M, id32); in ksz_switch_detect()
2757 id32 &= ~0xFF; in ksz_switch_detect()
2759 switch (id32) { in ksz_switch_detect()
2769 dev->chip_id = id32; in ksz_switch_detect()
2785 "unsupported switch detected %x)\n", id32); in ksz_switch_detect()
/drivers/net/dsa/b53/
Db53_common.c2684 u32 id32; in b53_switch_detect() local
2717 ret = b53_read32(dev, B53_MGMT_PAGE, B53_DEVICE_ID, &id32); in b53_switch_detect()
2721 switch (id32) { in b53_switch_detect()
2730 dev->chip_id = id32; in b53_switch_detect()
2735 id8, id32); in b53_switch_detect()