| /freebsd-12-stable/sys/sparc64/pci/ |
| D | psycho.c | 549 PCIR_STATUS, PCIB_READ_CONFIG(dev, sc->sc_ops.sc_pci_secbus, in psycho_attach() 550 PCS_DEVICE, PCS_FUNC, PCIR_STATUS, 2), 2); in psycho_attach() 615 for (i = PCIR_VENDOR; i < PCIR_STATUS; i += sizeof(uint16_t)) in psycho_attach() 897 if ((reg < PCIR_STATUS && reg + width > PCIR_STATUS) || in psycho_read_config() 898 reg == PCIR_STATUS || reg == PCIR_STATUS + 1) in psycho_read_config() 899 le16enc(&sc->sc_pci_hpbcfg[PCIR_STATUS], in psycho_read_config() 903 PCS_DEVICE, PCS_FUNC, PCIR_STATUS))); in psycho_read_config()
|
| D | schizo.c | 556 STX_CS_FUNC, PCIR_STATUS, PCIB_READ_CONFIG(dev, in schizo_attach() 557 sc->sc_ops.sc_pci_secbus, STX_CS_DEVICE, STX_CS_FUNC, PCIR_STATUS, in schizo_attach() 812 STX_CS_DEVICE, STX_CS_FUNC, PCIR_STATUS, 2); in schizo_pci_bus() 853 STX_CS_FUNC, PCIR_STATUS, status, 2); in schizo_pci_bus()
|
| /freebsd-12-stable/sys/dev/aic7xxx/ |
| D | aic79xx_pci.c | 508 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() 539 PCIR_STATUS + 1, /*bytes*/1); in ahd_pci_test_register_access() 540 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_pci_test_register_access() 880 PCIR_STATUS + 1, /*bytes*/1); in ahd_pci_intr() 881 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_pci_intr()
|
| D | aic7xxx_pci.c | 1312 PCIR_STATUS + 1, /*bytes*/1); in ahc_pci_test_register_access() 1313 aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1, in ahc_pci_test_register_access() 1324 PCIR_STATUS + 1, /*bytes*/1); in ahc_pci_test_register_access() 1333 PCIR_STATUS + 1, /*bytes*/1); in ahc_pci_test_register_access() 1334 aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1, in ahc_pci_test_register_access() 2025 PCIR_STATUS + 1, /*bytes*/1); in ahc_pci_intr() 2058 aic_pci_write_config(ahc->dev_softc, PCIR_STATUS + 1, in ahc_pci_intr()
|
| D | aic79xx.c | 5559 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset()
|
| /freebsd-12-stable/usr.sbin/pciconf/ |
| D | err.c | 149 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in list_errors()
|
| D | cap.c | 760 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in list_caps() 1098 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in pci_find_cap()
|
| /freebsd-12-stable/usr.sbin/bhyve/ |
| D | pci_passthru.c | 194 sts = read_config(&sel, PCIR_STATUS, 2); in cfginitmsi() 817 *rv = read_config(&sc->psc_sel, PCIR_STATUS, 2) << 16 | in passthru_cfgread()
|
| D | pci_emul.c | 686 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_add_capability() 699 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT); in pci_emul_add_capability() 1033 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_iscap()
|
| /freebsd-12-stable/sys/dev/twe/ |
| D | twe_freebsd.c | 643 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-12-stable/sys/dev/bhnd/bhndb/ |
| D | bhndb_pci.c | 1086 pci_status = pci_read_config(pci_dev, PCIR_STATUS, 2); in bhndb_enable_pci_clocks() 1088 pci_write_config(pci_dev, PCIR_STATUS, pci_status, 2); in bhndb_enable_pci_clocks()
|
| /freebsd-12-stable/sys/dev/pci/ |
| D | pcireg.h | 96 #define PCIR_STATUS 0x06 macro
|
| D | pci.c | 695 cfg->statreg = REG(PCIR_STATUS, 2); in pci_fill_devinfo() 715 if (REG(PCIR_STATUS, 2) & PCIM_STATUS_CAPPRESENT) in pci_fill_devinfo() 1483 status = pci_read_config(child, PCIR_STATUS, 2); in pci_find_cap_method() 6645 status = pci_read_config(dev, PCIR_STATUS, 2); in pci_print_faulted_dev() 6731 status1 = status = pci_read_config(dev, PCIR_STATUS, 2); in DB_COMMAND() 6737 pci_write_config(dev, PCIR_STATUS, status, 2); in DB_COMMAND()
|
| /freebsd-12-stable/sys/powerpc/powermac/ |
| D | cpcht.c | 252 if (!(PCIB_READ_CONFIG(dev, b, s, f, PCIR_STATUS, 2) in cpcht_configure_htbridge()
|
| /freebsd-12-stable/sys/dev/ocs_fc/ |
| D | ocs_pci.c | 886 val = pci_read_config(ocs->dev, PCIR_STATUS, 2); in ocs_pci_intx_filter()
|
| /freebsd-12-stable/sys/dev/msk/ |
| D | if_msk.c | 1383 status = pci_read_config(sc->msk_dev, PCIR_STATUS, 2); in mskc_reset() 1386 pci_write_config(sc->msk_dev, PCIR_STATUS, status | in mskc_reset() 3506 v16 = pci_read_config(sc->msk_dev, PCIR_STATUS, 2); in msk_intr_hwerr() 3508 pci_write_config(sc->msk_dev, PCIR_STATUS, v16 | in msk_intr_hwerr()
|
| /freebsd-12-stable/sys/dev/vr/ |
| D | if_vr.c | 1754 pcis = pci_read_config(sc->vr_dev, PCIR_STATUS, 2); in vr_error() 1757 pci_write_config(sc->vr_dev, PCIR_STATUS, pcis, 2); in vr_error()
|
| /freebsd-12-stable/sys/dev/cas/ |
| D | if_cas.c | 1935 status = pci_read_config(sc->sc_dev, PCIR_STATUS, 2); in cas_eint() 1937 pci_write_config(sc->sc_dev, PCIR_STATUS, status, 2); in cas_eint()
|
| /freebsd-12-stable/sys/dev/bwi/ |
| D | if_bwi.c | 680 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-12-stable/sys/dev/iwm/ |
| D | if_iwm.c | 5955 reg = pci_read_config(dev, PCIR_STATUS, sizeof(reg)); in iwm_pci_attach() 5960 pci_write_config(dev, PCIR_STATUS, reg, sizeof(reg)); in iwm_pci_attach()
|
| /freebsd-12-stable/sys/dev/sym/ |
| D | sym_hipd.c | 3742 pci_sts = pci_read_config(np->device, PCIR_STATUS, 2); in sym_log_hard_error() 3744 pci_write_config(np->device, PCIR_STATUS, pci_sts, 2); in sym_log_hard_error()
|
| /freebsd-12-stable/sys/dev/cxgb/ |
| D | cxgb_main.c | 1159 status = pci_read_config(dev, PCIR_STATUS, 2); in t3_os_find_pci_capability()
|
| /freebsd-12-stable/sys/dev/aacraid/ |
| D | aacraid.c | 1951 status = pci_read_config(dev, PCIR_STATUS, 2); in aac_find_pci_capability()
|