Searched refs:id32 (Results 1 – 2 of 2) sorted by relevance
2718 u32 id32; in ksz_switch_detect() local2752 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()
2684 u32 id32; in b53_switch_detect() local2717 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()