| /freebsd-12.1/sys/sparc64/pci/ |
| H A 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()
|
| H A 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.1/sys/dev/aic7xxx/ |
| H A 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()
|
| H A 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()
|
| H A D | aic79xx.c | 5559 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset()
|
| /freebsd-12.1/usr.sbin/pciconf/ |
| H A D | err.c | 149 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in list_errors()
|
| H A D | cap.c | 731 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in list_caps() 1032 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in pci_find_cap()
|
| /freebsd-12.1/sys/dev/twe/ |
| H A 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.1/usr.sbin/bhyve/ |
| H A D | pci_emul.c | 690 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_add_capability() 703 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT); in pci_emul_add_capability() 1038 sts = pci_get_cfgdata16(pi, PCIR_STATUS); in pci_emul_iscap()
|
| H A D | pci_passthru.c | 194 sts = read_config(&sel, PCIR_STATUS, 2); in cfginitmsi()
|
| /freebsd-12.1/sys/dev/bhnd/bhndb/ |
| H A 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.1/sys/dev/pci/ |
| H A D | pcireg.h | 96 #define PCIR_STATUS 0x06 macro
|
| H A D | pci.c | 686 cfg->statreg = REG(PCIR_STATUS, 2); in pci_fill_devinfo() 706 if (REG(PCIR_STATUS, 2) & PCIM_STATUS_CAPPRESENT) in pci_fill_devinfo() 1474 status = pci_read_config(child, PCIR_STATUS, 2); in pci_find_cap_method() 6520 status = pci_read_config(dev, PCIR_STATUS, 2); in pci_print_faulted_dev() 6606 status1 = status = pci_read_config(dev, PCIR_STATUS, 2); in DB_COMMAND() 6612 pci_write_config(dev, PCIR_STATUS, status, 2); in DB_COMMAND()
|
| /freebsd-12.1/sys/powerpc/powermac/ |
| H A D | cpcht.c | 252 if (!(PCIB_READ_CONFIG(dev, b, s, f, PCIR_STATUS, 2) in cpcht_configure_htbridge()
|
| /freebsd-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_pci.c | 832 val = pci_read_config(ocs->dev, PCIR_STATUS, 2); in ocs_pci_intx_filter()
|
| /freebsd-12.1/sys/dev/msk/ |
| H A 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.1/sys/dev/vr/ |
| H A 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.1/sys/dev/cas/ |
| H A 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.1/sys/dev/bwi/ |
| H A D | if_bwi.c | 681 status = pci_read_config(sc->sc_dev, PCIR_STATUS, 2); in bwi_power_on() 683 pci_write_config(sc->sc_dev, PCIR_STATUS, status, 2); in bwi_power_on()
|
| /freebsd-12.1/sys/dev/iwm/ |
| H A D | if_iwm.c | 5697 reg = pci_read_config(dev, PCIR_STATUS, sizeof(reg)); in iwm_pci_attach() 5702 pci_write_config(dev, PCIR_STATUS, reg, sizeof(reg)); in iwm_pci_attach()
|
| /freebsd-12.1/sys/dev/sym/ |
| H A 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.1/sys/dev/aacraid/ |
| H A D | aacraid.c | 1922 status = pci_read_config(dev, PCIR_STATUS, 2); in aac_find_pci_capability()
|
| /freebsd-12.1/sys/dev/cxgb/ |
| H A D | cxgb_main.c | 1159 status = pci_read_config(dev, PCIR_STATUS, 2); in t3_os_find_pci_capability()
|