Lines Matching refs:id1
324 u8 id0, id1, ksz8864_id; in ks8995_get_revision() local
344 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision()
351 if ((get_chip_id(id1) == CHIPID_M) && in ks8995_get_revision()
352 (get_chip_id(id1) == ks->chip->chip_id)) { in ks8995_get_revision()
354 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
355 } else if (get_chip_id(id1) != CHIPID_M) { in ks8995_get_revision()
365 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
370 id1); in ks8995_get_revision()
376 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision()
382 if (get_chip_id(id1) == ks->chip->chip_id) { in ks8995_get_revision()
383 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
386 id1); in ks8995_get_revision()