Home
last modified time | relevance | path

Searched refs:PCIR_REVID (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/dev/qlxgb/
H A Dqla_ioctl.c137 pci_ids->rev_id = pci_read_config(pci_dev, PCIR_REVID, 1); in qla_eioctl()
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_lpc.c544 revid = pci_config_read_reg(confp, nvl, PCIR_REVID, 1, LPC_REVID); in pci_lpc_init()
555 pci_set_cfgdata8(pi, PCIR_REVID, revid); in pci_lpc_init()
/freebsd/sys/dev/aic7xxx/
H A Daic7xxx_pci.c2153 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic785X_setup()
2171 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic7860_setup()
2246 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic7880_setup()
2297 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic7890_setup()
2328 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic7895_setup()
H A Daic79xx_pci.c980 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahd_aic790X_setup()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_mgmt.c337 dev_info.pci_info.revision = pci_read_config(softc->dev, PCIR_REVID, 1); in bnxt_mgmt_get_dev_info()
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_input.c734 pci_set_cfgdata8(pi, PCIR_REVID, VIRTIO_REV_INPUT); in pci_vtinput_init()
H A Dpci_emul.c379 case PCIR_REVID: in pci_config_read_reg()
2419 } else if (coff >= PCIR_COMMAND && coff < PCIR_REVID) { in pci_cfgrw()
/freebsd/sys/dev/pci/
H A Dpcireg.h111 #define PCIR_REVID 0x08 macro
H A Dpci.c764 cfg->revid = REG(PCIR_REVID, 1); in pci_fill_devinfo()
6297 pci_write_config(dev, PCIR_REVID, dinfo->cfg.revid, 1); in pci_cfg_restore()
6421 dinfo->cfg.revid = pci_read_config(dev, PCIR_REVID, 1); in pci_cfg_save()
/freebsd/sys/dev/qlxgbe/
H A Dql_ioctl.c340 pci_ids->rev_id = pci_read_config(pci_dev, PCIR_REVID, 1); in ql_eioctl()
/freebsd/sys/dev/hyperv/pcib/
H A Dvmbus_pcib.c1296 } else if (where >= PCIR_REVID && where + size <= in _hv_pcifront_read_config()
1299 PCIR_REVID, size); in _hv_pcifront_read_config()
/freebsd/sys/dev/iavf/
H A Diavf_lib.c141 hw->revision_id = pci_read_config(dev, PCIR_REVID, 1); in iavf_init_hw()
/freebsd/sys/dev/ixl/
H A Dif_ixl.c380 hw->revision_id = pci_read_config(dev, PCIR_REVID, 1); in ixl_allocate_pci_resources()
/freebsd/sys/dev/bce/
H A Dif_bce.c699 PCIR_REVID, 4) & 0xf0) >> 4) + 'A'), in bce_probe()
700 (pci_read_config(dev, PCIR_REVID, 4) & 0xf)); in bce_probe()
1174 (((pci_read_config(dev, PCIR_REVID, 4) & in bce_attach()
1176 PCIR_REVID, 4) & 0xf)); in bce_attach()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_app.c2096 adpinfo.pci_dev_hw_rev = pci_read_config(sc->mpi3mr_dev, PCIR_REVID, 1); in mpi3mr_get_adpinfo()
/freebsd/sys/dev/sis/
H A Dif_sis.c918 sc->sis_rev = pci_read_config(dev, PCIR_REVID, 1); in sis_attach()
/freebsd/sys/dev/mpr/
H A Dmpr_user.c1198 data->PCIDeviceHwRev = pci_read_config(sc->mpr_dev, PCIR_REVID, 1); in mpr_user_get_adapter_data()
/freebsd/sys/dev/mps/
H A Dmps_user.c1088 data->PCIDeviceHwRev = pci_read_config(sc->mps_dev, PCIR_REVID, 1); in mps_user_get_adapter_data()
/freebsd/sys/dev/hptmv/
H A Dentry.c1318 pMvSataAdapter->pciConfigRevisionId = pci_read_config(pAdapter->hpt_dev, PCIR_REVID, 1); in init_adapter()
/freebsd/sys/dev/igc/
H A Dif_igc.c1479 sc->hw.revision_id = pci_read_config(dev, PCIR_REVID, 1); in igc_identify_hardware()
/freebsd/sys/dev/al_eth/
H A Dal_eth.c370 PCIR_REVID, &rev_id); in al_attach()
/freebsd/sys/dev/wpi/
H A Dif_wpi.c5226 rev = pci_read_config(sc->sc_dev, PCIR_REVID, 1); in wpi_nic_config()
/freebsd/sys/dev/e1000/
H A Dif_em.c2378 sc->hw.revision_id = pci_read_config(dev, PCIR_REVID, 1); in em_identify_hardware()
/freebsd/sys/dev/bxe/
H A Dbxe.c2510 (((pci_read_config(dev, PCIR_REVID, 4) & in bxe_probe()
2512 (pci_read_config(dev, PCIR_REVID, 4) & 0xf), in bxe_probe()