Lines Matching refs:id1
323 u8 id0, id1, ksz8864_id; in ks8995_get_revision() local
343 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision()
350 if ((get_chip_id(id1) == CHIPID_M) && in ks8995_get_revision()
351 (get_chip_id(id1) == ks->chip->chip_id)) { in ks8995_get_revision()
353 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
354 } else if (get_chip_id(id1) != CHIPID_M) { in ks8995_get_revision()
364 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
369 id1); in ks8995_get_revision()
375 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision()
381 if (get_chip_id(id1) == ks->chip->chip_id) { in ks8995_get_revision()
382 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
385 id1); in ks8995_get_revision()