Lines Matching defs:rev
491 ((sc->rev & 0xf0) == 0xd0) ? 'D': '?');
495 /* XXX hw_config uses the PCIDEV for the Hardware rev. Must
496 check what sc->rev really represents - benjsc 20070615 */
1351 WPI_CHK(wpi_read_prom_data(sc, WPI_EEPROM_REVISION, &sc->rev,
1352 sizeof(sc->rev)));
1356 sc->rev = le16toh(sc->rev);
1357 DPRINTF(sc, WPI_DEBUG_EEPROM, "cap=%x rev=%x type=%x\n", sc->cap,
1358 sc->rev, sc->type);
5226 uint32_t rev;
5231 rev = pci_read_config(sc->sc_dev, PCIR_REVID, 1);
5232 if ((rev & 0xc0) == 0x40)
5234 else if (!(rev & 0x80))
5240 if ((sc->rev & 0xf0) == 0xd0)