rev 277 arch/i386/i386/amd64errata.c cpurev_t rev; rev 287 arch/i386/i386/amd64errata.c if ((rev = cpurevs[i]) == OINK) { rev 312 arch/i386/i386/amd64errata.c if (e->e_set[j] == rev) rev 217 arch/i386/i386/bios.c printf(", BIOS32 rev. %d @ 0x%lx", h->rev, h->entry); rev 84 arch/i386/include/biosvar.h u_int8_t rev; /* 08: revision */ rev 67 arch/i386/include/smbiosvar.h u_int8_t rev; /* BCD revision */ rev 131 arch/i386/pci/elan520.c uint16_t rev, data; rev 142 arch/i386/pci/elan520.c rev = bus_space_read_2(sc->sc_memt, sc->sc_memh, MMCR_REVID); rev 147 arch/i386/pci/elan520.c (rev & REVID_PRODID) >> REVID_PRODID_SHIFT, rev 148 arch/i386/pci/elan520.c (rev & REVID_MAJSTEP) >> REVID_MAJSTEP_SHIFT, rev 149 arch/i386/pci/elan520.c (rev & REVID_MINSTEP), rev 94 arch/i386/pci/geodesc.c uint8_t sts, rev, iid; rev 114 arch/i386/pci/geodesc.c rev = bus_space_read_1(sc->sc_iot, sc->sc_ioh, GCB_REV); rev 116 arch/i386/pci/geodesc.c printf(": iid %d revision %d wdstatus %b\n", iid, rev, sts, WDSTSBITS); rev 41 arch/i386/stand/libsa/pciprobe.c u_int32_t hw_chars, rev, rc, sig; rev 46 arch/i386/stand/libsa/pciprobe.c : "=a" (hw_chars), "=b" (rev), "=c" (rc), rev 58 arch/i386/stand/libsa/pciprobe.c printf("[V%d.%d, %x 0x%x %d]", (rev>>8)&0xFF, (rev&0xFF), rev 63 arch/i386/stand/libsa/pciprobe.c bpi.pci_rev = rev & 0xFFFF; rev 207 dev/cardbus/if_rtw_cardbus.c int rev; rev 223 dev/cardbus/if_rtw_cardbus.c rev = PCI_REVISION(ca->ca_class); rev 227 dev/cardbus/if_rtw_cardbus.c (rev >> 4) & 0xf, rev & 0xf, rev 143 dev/i2c/adt7460.c u_int8_t cmd, rev, data; rev 160 dev/i2c/adt7460.c sc->sc_addr, &cmd, sizeof cmd, &rev, sizeof rev, 0)) { rev 187 dev/i2c/adt7460.c printf(": %s rev 0x%02x", ia->ia_name, rev); rev 318 dev/ic/ac97.c u_int8_t rev; rev 766 dev/ic/ac97.c if (codec >= vendor->codecs && codec->rev) rev 767 dev/ic/ac97.c printf(" rev %d", id & codec->rev); rev 2678 dev/ic/acx.c acx_get_rf(int rev) rev 2680 dev/ic/acx.c switch (rev) { rev 549 dev/ic/atw.c atw_printmac(u_int8_t rev) { rev 550 dev/ic/atw.c switch (rev) { rev 2505 dev/ic/rt2560.c rt2560_get_rf(int rev) rev 2507 dev/ic/rt2560.c switch (rev) { rev 2291 dev/ic/rt2661.c rt2661_get_rf(int rev) rev 2293 dev/ic/rt2661.c switch (rev) { rev 101 dev/isa/pas.c int rev; rev 330 dev/isa/pas.c sc->rev = pasread(BOARD_REV_ID); rev 416 dev/isa/pas.c printf(" ProAudio Spectrum %s [rev %d] ", pasnames[sc->model], sc->rev); rev 423 dev/isa/pas.c sc->rev); rev 1451 dev/pci/ahc_pci.c uint8_t rev; rev 1457 dev/pci/ahc_pci.c rev = PCI_REVISION(ahc->bd->class); rev 1458 dev/pci/ahc_pci.c if (rev >= 1) rev 1467 dev/pci/ahc_pci.c uint8_t rev; rev 1473 dev/pci/ahc_pci.c rev = PCI_REVISION(ahc->bd->class); rev 1474 dev/pci/ahc_pci.c if (rev >= 1) rev 1540 dev/pci/ahc_pci.c uint8_t rev; rev 1546 dev/pci/ahc_pci.c rev = PCI_REVISION(ahc->bd->class); rev 1547 dev/pci/ahc_pci.c if (rev >= 1) { rev 1589 dev/pci/ahc_pci.c uint8_t rev; rev 1595 dev/pci/ahc_pci.c rev = PCI_REVISION(ahc->bd->class); rev 1596 dev/pci/ahc_pci.c if (rev == 0) rev 1618 dev/pci/ahc_pci.c uint8_t rev; rev 1624 dev/pci/ahc_pci.c rev = PCI_REVISION(ahc->bd->class); rev 1625 dev/pci/ahc_pci.c if (rev >= 4) { rev 1089 dev/pci/ahd_pci.c u_int rev; rev 1091 dev/pci/ahd_pci.c rev = PCI_REVISION(pa->pa_class); rev 1093 dev/pci/ahd_pci.c printf("\n%s: aic7902 chip revision 0x%x\n", ahd_name(ahd), rev); rev 1095 dev/pci/ahd_pci.c if (rev < ID_AIC7902_PCI_REV_A4) { rev 1097 dev/pci/ahd_pci.c ahd_name(ahd), rev); rev 1103 dev/pci/ahd_pci.c if (rev < ID_AIC7902_PCI_REV_B0) { rev 1266 dev/pci/arc.c char rev[17]; rev 1330 dev/pci/arc.c scsi_strvis(rev, diskinfo->firmware_rev, rev 1334 dev/pci/arc.c model, rev); rev 1051 dev/pci/azalia.c uint32_t rev, id, result; rev 1061 dev/pci/azalia.c COP_REVISION_ID, &rev); rev 1082 dev/pci/azalia.c COP_RID_REVISION(rev), COP_RID_STEPPING(rev), rev 1083 dev/pci/azalia.c COP_RID_MAJ(rev), COP_RID_MIN(rev)); rev 365 dev/pci/bktr/bktr_core.c common_bktr_attach( bktr_ptr_t bktr, int unit, u_int pci_id, u_int rev ) rev 422 dev/pci/bktr/bktr_core.c if (rev == 0x12) rev 77 dev/pci/bktr/bktr_core.h u_int pci_id, u_int rev ); rev 164 dev/pci/bktr/bktr_os.c unsigned int rev; rev 248 dev/pci/bktr/bktr_os.c rev = PCI_REVISION(pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_CLASS_REG)); rev 250 dev/pci/bktr/bktr_os.c common_bktr_attach(bktr, unit, fun, rev); rev 1917 dev/pci/if_wpi.c wpi_read_prom_data(sc, WPI_EEPROM_REVISION, &sc->rev, 2); rev 1920 dev/pci/if_wpi.c DPRINTF(("cap=%x rev=%x type=%x\n", sc->cap, letoh16(sc->rev), rev 2757 dev/pci/if_wpi.c uint32_t rev, hw; rev 2762 dev/pci/if_wpi.c rev = pci_conf_read(sc->sc_pct, sc->sc_pcitag, PCI_CLASS_REG); rev 2763 dev/pci/if_wpi.c rev = PCI_REVISION(rev); rev 2764 dev/pci/if_wpi.c if ((rev & 0xc0) == 0x40) rev 2766 dev/pci/if_wpi.c else if (!(rev & 0x80)) rev 2773 dev/pci/if_wpi.c if ((letoh16(sc->rev) & 0xf0) == 0xd0) rev 164 dev/pci/if_wpivar.h uint16_t rev; rev 396 dev/pci/isp_pci.c u_int32_t data, rev, linesz = PCI_DFLT_LNSZ; rev 465 dev/pci/isp_pci.c rev = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_CLASS_REG) & 0xff; rev 557 dev/pci/isp_pci.c if (rev < 3) { rev 641 dev/pci/isp_pci.c isp->isp_revision = rev; rev 234 dev/pci/musyccreg.h u_int8_t rev; /* rev. of the card */ rev 2871 dev/pci/pciide.c int rev = sc->sc_rev; rev 2927 dev/pci/pciide.c if (AMD756_CHIPREV_DISABLEDMA(product, rev)) { rev 3379 dev/pci/pciide.c int rev = sc->sc_rev; rev 3415 dev/pci/pciide.c if (rev >= CMD0646U2_REV) { rev 3418 dev/pci/pciide.c } else if (rev >= CMD0646U_REV) { rev 4566 dev/pci/pciide.c u_int8_t rev; rev 4639 dev/pci/pciide.c PCI_REVISION(pa->pa_class) >= sis_hostbr_type[i].rev) rev 4660 dev/pci/pciide.c int rev = sc->sc_rev; rev 4718 dev/pci/pciide.c if (rev >= 0xd0) { rev 5321 dev/pci/pciide.c int rev = sc->sc_rev; rev 5330 dev/pci/pciide.c if (rev >= 0x20) { rev 5332 dev/pci/pciide.c if (rev >= 0xC4) rev 5334 dev/pci/pciide.c else if (rev >= 0xC2) rev 5372 dev/pci/pciide.c if (rev >= 0xC2) rev 5390 dev/pci/pciide.c (rev >= 0xC2) ? pciide_pci_intr : acer_pci_intr); rev 57 dev/pci/pciide_amd_reg.h #define AMD756_CHIPREV_DISABLEDMA(product, rev) \ rev 58 dev/pci/pciide_amd_reg.h ((product) == PCI_PRODUCT_AMD_PBC756_IDE && (rev) <= AMD756_CHIPREV_D2) rev 194 dev/pci/siop_pci_common.c siop_lookup_product(u_int32_t id, int rev) rev 203 dev/pci/siop_pci_common.c if (PCI_PRODUCT(id) == pp->product && pp->revision <= rev) rev 419 dev/pci/tga.c u_int8_t rev; rev 461 dev/pci/tga.c rev = PCI_REVISION(pa->pa_class); rev 462 dev/pci/tga.c switch (rev) { rev 466 dev/pci/tga.c printf(": DC21030 step %c", 'A' + rev - 1); rev 473 dev/pci/tga.c printf(": TGA2 pass %d", rev - 0x20); rev 477 dev/pci/tga.c printf("unknown stepping (0x%x)", rev); rev 119 dev/sbus/cgsix.c u_int32_t fhc, rev; rev 197 dev/sbus/cgsix.c rev = (fhc & FHC_REV_MASK) >> FHC_REV_SHIFT; rev 198 dev/sbus/cgsix.c cgsix_reset(sc, rev); rev 213 dev/sbus/cgsix.c if (rev < 5) rev 227 dev/sbus/cgsix.c sc->sc_sunfb.sf_height, rev); rev 725 dev/sbus/cgsix.c u_int32_t fhc, rev; rev 773 dev/sbus/cgsix.c rev = (fhc & FHC_REV_MASK) >> FHC_REV_SHIFT; rev 776 dev/sbus/cgsix.c if (rev < 1) rev 778 dev/sbus/cgsix.c if (rev < 2) rev 207 dev/sbus/stp4020.c int i, rev; rev 209 dev/sbus/stp4020.c rev = stp4020_rd_sockctl(&sc->sc_socks[0], STP4020_ISR1_IDX) & rev 211 dev/sbus/stp4020.c printf(": rev %x\n", rev); rev 267 dev/sdmmc/sdmmc_mem.c cid->rev = SD_CID_REV(resp); rev 276 dev/sdmmc/sdmmc_mem.c cid->rev = MMC_CID_REV_V1(resp); rev 302 dev/sdmmc/sdmmc_mem.c " mdt=%03x\n", cid->mid, cid->oid, cid->pnm, cid->rev, cid->psn, rev 43 dev/sdmmc/sdmmcvar.h int rev; /* product revision */ rev 1795 dev/usb/if_ral.c ural_get_rf(int rev) rev 1797 dev/usb/if_ral.c switch (rev) { rev 1828 dev/usb/if_rum.c rum_get_rf(int rev) rev 1830 dev/usb/if_rum.c switch (rev) { rev 92 dev/usb/if_zyd.c uint8_t rev; rev 291 dev/usb/if_zyd.c sc->mac_rev = zyd_lookup(uaa->vendor, uaa->product)->rev; rev 618 dev/usb/ohci.c u_int32_t rev; rev 621 dev/usb/ohci.c rev = OREAD4(sc, OHCI_REVISION); rev 622 dev/usb/ohci.c printf(" version %d.%d%s\n", OHCI_REV_HI(rev), OHCI_REV_LO(rev), rev 623 dev/usb/ohci.c OHCI_REV_LEGACY(rev) ? ", legacy support" : ""); rev 625 dev/usb/ohci.c if (OHCI_REV_HI(rev) != 1 || OHCI_REV_LO(rev) != 0) { rev 55 dev/usb/ohcireg.h #define OHCI_REV_LO(rev) ((rev)&0xf) rev 56 dev/usb/ohcireg.h #define OHCI_REV_HI(rev) (((rev)>>4)&0xf) rev 57 dev/usb/ohcireg.h #define OHCI_REV_LEGACY(rev) ((rev) & 0x100) rev 902 net/if_ethersubr.c static const u_int8_t rev[] = { rev 919 net/if_ethersubr.c crc = (crc << 4) ^ crctab[(crc >> 28) ^ rev[data & 0xf]]; rev 920 net/if_ethersubr.c crc = (crc << 4) ^ crctab[(crc >> 28) ^ rev[data >> 4]];