/freebsd-13-stable/sys/dev/e1000/ |
H A D | e1000_osdep.c | 59 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND, 66 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
|
H A D | e1000_osdep.h | 121 #define PCI_COMMAND_REGISTER PCIR_COMMAND
|
/freebsd-13-stable/sys/i386/i386/ |
H A D | mp_clock.c | 118 d = pci_read_config(dev, PCIR_COMMAND, 2);
|
/freebsd-13-stable/sys/arm/versatile/ |
H A D | versatile_pci.c | 213 val = versatile_pci_conf_read_4((slot << 11) + PCIR_COMMAND); 215 versatile_pci_conf_write_4((slot << 11) + PCIR_COMMAND, val); 251 val = versatile_pci_conf_read_4((12 << 11) + PCIR_COMMAND); 264 val = versatile_pci_conf_read_4((slot << 11) + PCIR_COMMAND); 266 versatile_pci_conf_write_4((slot << 11) + PCIR_COMMAND, val);
|
/freebsd-13-stable/sys/mips/atheros/ |
H A D | ar724x_pci.c | 232 ar724x_pci_write(AR724X_PCI_CRP_BASE, PCIR_COMMAND, reg, 2); 299 val = ar724x_pci_read_config(dev, 0, 0, 0, PCIR_COMMAND, 2); 301 ar724x_pci_write_config(dev, 0, 0, 0, PCIR_COMMAND, val, 2); 318 val = ar724x_pci_read_config(dev, 0, 0, 0, PCIR_COMMAND, 2); 320 ar724x_pci_write_config(dev, 0, 0, 0, PCIR_COMMAND, val, 2); 434 ar724x_pci_write_config(dev, 0, 0, 0, PCIR_COMMAND,
|
H A D | ar71xx_pci.c | 307 val = ar71xx_pci_read_config(dev, bus, slot, func, PCIR_COMMAND, 2); 309 ar71xx_pci_write_config(dev, bus, slot, func, PCIR_COMMAND, val, 2); 324 val = ar71xx_pci_read_config(dev, bus, slot, func, PCIR_COMMAND, 2); 326 ar71xx_pci_write_config(dev, bus, slot, func, PCIR_COMMAND, val, 2); 449 ar71xx_pci_local_write(dev, PCIR_COMMAND,
|
H A D | qca955x_pci.c | 230 qca955x_pci_write(sc->sc_pci_crp_base, PCIR_COMMAND, reg, 2); 358 qca955x_pci_write_config(dev, 0, 0, 0, PCIR_COMMAND,
|
/freebsd-13-stable/usr.sbin/bhyve/ |
H A D | pci_passthru.c | 610 pci_set_cfgdata16(pi, PCIR_COMMAND, read_config(&sc->psc_sel, 611 PCIR_COMMAND, 2)); 779 if (coff == PCIR_COMMAND) { 783 pci_get_cfgdata16(pi, PCIR_COMMAND); 856 if (coff == PCIR_COMMAND && bytes == 2) 862 if (coff == PCIR_COMMAND) { 863 cmd_old = pci_get_cfgdata16(pi, PCIR_COMMAND); 865 pci_set_cfgdata8(pi, PCIR_COMMAND, val); 867 pci_set_cfgdata16(pi, PCIR_COMMAND, val);
|
H A D | pci_emul.c | 532 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); 543 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); 676 cmd = pci_get_cfgdata16(pdi, PCIR_COMMAND); 678 pci_set_cfgdata16(pdi, PCIR_COMMAND, cmd | enbit); 764 pci_set_cfgdata8(pdi, PCIR_COMMAND, PCIM_CMD_BUSMASTEREN); 1495 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); 1713 new = pci_get_cfgdata16(pi, PCIR_COMMAND); 1762 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); /* stash old value */ 1914 } else if (coff >= PCIR_COMMAND && coff < PCIR_REVID) {
|
/freebsd-13-stable/sys/dev/mpt/ |
H A D | mpt_pci.c | 385 val = pci_read_config(dev, PCIR_COMMAND, 2); 388 pci_write_config(dev, PCIR_COMMAND, val, 2); 734 mpt->pci_cfg.Command = pci_read_config(mpt->dev, PCIR_COMMAND, 2); 762 MPT_CHECK(Command, PCIR_COMMAND, 2); 775 pci_write_config(mpt->dev, PCIR_COMMAND, mpt->pci_cfg.Command, 2);
|
/freebsd-13-stable/sys/dev/aic7xxx/ |
H A D | aic79xx_pci.c | 409 command = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); 411 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, /*bytes*/2); 474 cmd = aic_pci_read_config(ahd->dev_softc, PCIR_COMMAND, /*bytes*/2); 475 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, 544 aic_pci_write_config(ahd->dev_softc, PCIR_COMMAND, cmd, /*bytes*/2); 991 aic_pci_write_config(pci, PCIR_COMMAND, 0, /*bytes*/2);
|
H A D | aic7xxx_pci.c | 840 command = aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2); 843 aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, /*bytes*/2); 1011 aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/1); 1267 cmd = aic_pci_read_config(ahc->dev_softc, PCIR_COMMAND, /*bytes*/2); 1268 aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, 1334 aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, cmd, /*bytes*/2); 2127 aic_pci_write_config(ahc->dev_softc, PCIR_COMMAND, 2352 command = aic_pci_read_config(pci, PCIR_COMMAND, /*bytes*/1); 2354 aic_pci_write_config(pci, PCIR_COMMAND, command, /*bytes*/1);
|
/freebsd-13-stable/sys/dev/firewire/ |
H A D | fwohci_pci.c | 209 cmd = pci_read_config(self, PCIR_COMMAND, 2); 214 pci_write_config(self, PCIR_COMMAND, cmd, 2);
|
/freebsd-13-stable/sys/dev/aacraid/ |
H A D | aacraid_pci.c | 174 command = pci_read_config(sc->aac_dev, PCIR_COMMAND, 2);
|
/freebsd-13-stable/sys/mips/cavium/ |
H A D | octopci.c | 566 command = octopci_read_config(dev, b, s, f, PCIR_COMMAND, 1); 568 octopci_write_config(dev, b, s, f, PCIR_COMMAND, command, 1); 597 octopci_write_config(dev, b, s, f, PCIR_COMMAND, command, 1); 654 octopci_write_config(dev, b, s, f, PCIR_COMMAND, command, 1);
|
/freebsd-13-stable/sys/dev/ixgbe/ |
H A D | ixgbe_osdep.h | 123 #define PCI_COMMAND_REGISTER PCIR_COMMAND
|
/freebsd-13-stable/sys/dev/ixl/ |
H A D | i40e_osdep.h | 94 #define PCI_COMMAND_REGISTER PCIR_COMMAND
|
/freebsd-13-stable/sys/arm/mv/ |
H A D | mv_pci.c | 601 val = bus_space_read_4(sc->sc_bst, sc->sc_bsh, PCIR_COMMAND); 604 bus_space_write_4(sc->sc_bst, sc->sc_bsh, PCIR_COMMAND, val); 825 func, PCIR_COMMAND, 1); 828 PCIR_COMMAND, command, 1); 839 PCIR_COMMAND, command, 1);
|
/freebsd-13-stable/sys/dev/pci/ |
H A D | pci.c | 717 cfg->cmdreg = REG(PCIR_COMMAND, 2); 2890 command = PCI_READ_CONFIG(dev, child, PCIR_COMMAND, 2); 2892 PCI_WRITE_CONFIG(dev, child, PCIR_COMMAND, command, 2); 2900 command = PCI_READ_CONFIG(dev, child, PCIR_COMMAND, 2); 2902 PCI_WRITE_CONFIG(dev, child, PCIR_COMMAND, command, 2); 3022 return (pci_read_config(dev, PCIR_COMMAND, 2) & PCIM_CMD_PORTEN) != 0; 3028 return (pci_read_config(dev, PCIR_COMMAND, 2) & PCIM_CMD_MEMEN) != 0; 3068 cmd = pci_read_config(dev, PCIR_COMMAND, 2); 3069 pci_write_config(dev, PCIR_COMMAND, 3100 pci_write_config(dev, PCIR_COMMAND, cm [all...] |
H A D | vga_pci.c | 127 config = pci_read_config(dev, PCIR_COMMAND, 2); 136 pci_write_config(dev, PCIR_COMMAND, config | PCIM_CMD_INTxDIS, 2);
|
/freebsd-13-stable/sys/dev/ocs_fc/ |
H A D | ocs_pci.c | 835 val = pci_read_config(ocs->dev, PCIR_COMMAND, 2); 837 pci_write_config(ocs->dev, PCIR_COMMAND, val, 2);
|
/freebsd-13-stable/sys/dev/isp/ |
H A D | isp_pci.c | 118 #ifndef PCIR_COMMAND 119 #define PCIR_COMMAND 0x04 macro 572 cmd = pci_read_config(dev, PCIR_COMMAND, 2); 575 pci_write_config(dev, PCIR_COMMAND, cmd, 2);
|
/freebsd-13-stable/sys/dev/ath/ |
H A D | if_ath_pci.c | 321 (void) pci_read_config(dev, PCIR_COMMAND, 4);
|
/freebsd-13-stable/sys/dev/mn/ |
H A D | if_mn.c | 1347 u = pci_read_config(self, PCIR_COMMAND, 2); 1349 pci_write_config(self, PCIR_COMMAND, u | PCIM_CMD_PERRESPEN | PCIM_CMD_BUSMASTEREN, 2); 1351 pci_write_config(self, PCIR_COMMAND, 0x02800046, 4); 1353 u = pci_read_config(self, PCIR_COMMAND, 1);
|
/freebsd-13-stable/sys/dev/aac/ |
H A D | aac_pci.c | 360 if (!(pci_read_config(dev, PCIR_COMMAND, 2) & PCIM_CMD_BUSMASTEREN)) {
|