Home
last modified time | relevance | path

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

/freebsd-12.1/sys/sparc64/pci/
H A Dpsycho.c549 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 Dschizo.c556 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 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()
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 Daic7xxx_pci.c1312 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 Daic79xx.c5559 aic_pci_write_config(ahd->dev_softc, PCIR_STATUS + 1, in ahd_reset()
/freebsd-12.1/usr.sbin/pciconf/
H A Derr.c149 sta = read_config(fd, &p->pc_sel, PCIR_STATUS, 2); in list_errors()
H A Dcap.c731 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 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-12.1/usr.sbin/bhyve/
H A Dpci_emul.c690 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 Dpci_passthru.c194 sts = read_config(&sel, PCIR_STATUS, 2); in cfginitmsi()
/freebsd-12.1/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c1086 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 Dpcireg.h96 #define PCIR_STATUS 0x06 macro
H A Dpci.c686 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 Dcpcht.c252 if (!(PCIB_READ_CONFIG(dev, b, s, f, PCIR_STATUS, 2) in cpcht_configure_htbridge()
/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_pci.c832 val = pci_read_config(ocs->dev, PCIR_STATUS, 2); in ocs_pci_intx_filter()
/freebsd-12.1/sys/dev/msk/
H A Dif_msk.c1383 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 Dif_vr.c1754 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 Dif_cas.c1935 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 Dif_bwi.c681 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 Dif_iwm.c5697 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 Dsym_hipd.c3742 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 Daacraid.c1922 status = pci_read_config(dev, PCIR_STATUS, 2); in aac_find_pci_capability()
/freebsd-12.1/sys/dev/cxgb/
H A Dcxgb_main.c1159 status = pci_read_config(dev, PCIR_STATUS, 2); in t3_os_find_pci_capability()