Home
last modified time | relevance | path

Searched refs:PCIR_STATUS (Results 1 – 21 of 21) sorted by relevance

/freebsd-13.1/sys/dev/aic7xxx/
H A Daic79xx_pci.c508 PCIR_STATUS + 1, /*bytes*/1); in ahd_pci_test_register_access()
509 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_pci_test_register_access()
538 PCIR_STATUS + 1, /*bytes*/1); in ahd_pci_test_register_access()
539 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_pci_test_register_access()
877 PCIR_STATUS + 1, /*bytes*/1); in ahd_pci_intr()
878 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_pci_intr()
H A Daic7xxx_pci.c1308 PCIR_STATUS + 1, /*bytes*/1); in ahc_pci_test_register_access()
1309 aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1, in ahc_pci_test_register_access()
1320 PCIR_STATUS + 1, /*bytes*/1); in ahc_pci_test_register_access()
1329 PCIR_STATUS + 1, /*bytes*/1); in ahc_pci_test_register_access()
1330 aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1, in ahc_pci_test_register_access()
2020 PCIR_STATUS + 1, /*bytes*/1); in ahc_pci_intr()
2053 aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1, in ahc_pci_intr()
H A Daic79xx.c5527 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset()
/freebsd-13.1/usr.sbin/pciconf/
H A Derr.c149 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in list_errors()
H A Dcap.c765 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in list_caps()
1127 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in pci_find_cap()
/freebsd-13.1/sys/dev/twe/
H A Dtwe_freebsd.c643 pci_write_config(sc->twe_dev, PCIR_STATUS, TWE_PCI_CLEAR_PARITY_ERROR, 2); in twe_clear_pci_parity_error()
653 pci_write_config(sc->twe_dev, PCIR_STATUS, TWE_PCI_CLEAR_PCI_ABORT, 2); in twe_clear_pci_abort()
/freebsd-13.1/usr.sbin/bhyve/
H A Dpci_passthru.c190 sts = read_config(&sel, PCIR_STATUS, 2); in cfginitmsi()
785 *rv = read_config(&sc->psc_sel, PCIR_STATUS, 2) << 16 | in passthru_cfgread()
H A Dpci_emul.c826 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_add_capability()
839 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT); in pci_emul_add_capability()
1173 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_iscap()
/freebsd-13.1/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c1085 pci_status = pci_read_config(pci_dev, PCIR_STATUS, 2); in bhndb_enable_pci_clocks()
1087 pci_write_config(pci_dev, PCIR_STATUS, pci_status, 2); in bhndb_enable_pci_clocks()
/freebsd-13.1/sys/dev/pci/
H A Dpcireg.h95 #define PCIR_STATUS 0x06 macro
H A Dpci.c719 cfg->statreg = REG(PCIR_STATUS, 2); in pci_fill_devinfo()
739 if (REG(PCIR_STATUS, 2) & PCIM_STATUS_CAPPRESENT) in pci_fill_devinfo()
1536 status = pci_read_config(child, PCIR_STATUS, 2); in pci_find_cap_method()
6718 status = pci_read_config(dev, PCIR_STATUS, 2); in pci_print_faulted_dev()
6804 status1 = status = pci_read_config(dev, PCIR_STATUS, 2); in DB_COMMAND()
6810 pci_write_config(dev, PCIR_STATUS, status, 2); in DB_COMMAND()
/freebsd-13.1/sys/powerpc/powermac/
H A Dcpcht.c255 if (!(PCIB_READ_CONFIG(dev, b, s, f, PCIR_STATUS, 2) in cpcht_configure_htbridge()
/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_pci.c880 val = pci_read_config(ocs->dev, PCIR_STATUS, 2); in ocs_pci_intx_filter()
/freebsd-13.1/sys/dev/msk/
H A Dif_msk.c1385 status = pci_read_config(sc->msk_dev, PCIR_STATUS, 2); in mskc_reset()
1388 pci_write_config(sc->msk_dev, PCIR_STATUS, status | in mskc_reset()
3512 v16 = pci_read_config(sc->msk_dev, PCIR_STATUS, 2); in msk_intr_hwerr()
3514 pci_write_config(sc->msk_dev, PCIR_STATUS, v16 | in msk_intr_hwerr()
/freebsd-13.1/sys/dev/vr/
H A Dif_vr.c1767 pcis = pci_read_config(sc->vr_dev, PCIR_STATUS, 2); in vr_error()
1770 pci_write_config(sc->vr_dev, PCIR_STATUS, pcis, 2); in vr_error()
/freebsd-13.1/sys/dev/cas/
H A Dif_cas.c1934 status = pci_read_config(sc->sc_dev, PCIR_STATUS, 2); in cas_eint()
1936 pci_write_config(sc->sc_dev, PCIR_STATUS, status, 2); in cas_eint()
/freebsd-13.1/sys/dev/bwi/
H A Dif_bwi.c680 status = pci_read_config(sc->sc_dev, PCIR_STATUS, 2); in bwi_power_on()
682 pci_write_config(sc->sc_dev, PCIR_STATUS, status, 2); in bwi_power_on()
/freebsd-13.1/sys/dev/iwm/
H A Dif_iwm.c5962 reg = pci_read_config(dev, PCIR_STATUS, sizeof(reg)); in iwm_pci_attach()
5967 pci_write_config(dev, PCIR_STATUS, reg, sizeof(reg)); in iwm_pci_attach()
/freebsd-13.1/sys/dev/sym/
H A Dsym_hipd.c3728 pci_sts = pci_read_config(np->device, PCIR_STATUS, 2); in sym_log_hard_error()
3730 pci_write_config(np->device, PCIR_STATUS, pci_sts, 2); in sym_log_hard_error()
/freebsd-13.1/sys/dev/aacraid/
H A Daacraid.c1943 status = pci_read_config(dev, PCIR_STATUS, 2); in aac_find_pci_capability()
/freebsd-13.1/sys/dev/cxgb/
H A Dcxgb_main.c1165 status = pci_read_config(dev, PCIR_STATUS, 2); in t3_os_find_pci_capability()