Home
last modified time | relevance | path

Searched refs:PCIR_COMMAND (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_passthru.c627 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); in cfginit()
638 pci_set_cfgdata16(pi, PCIR_COMMAND, cmd); in cfginit()
667 if ((error = set_pcir_handler(sc, PCIR_COMMAND, 0x04, NULL, NULL)) != 0) in cfginit()
888 if (coff == PCIR_COMMAND) { in passthru_cfgread_default()
892 pci_get_cfgdata16(pi, PCIR_COMMAND); in passthru_cfgread_default()
971 if (coff == PCIR_COMMAND) { in passthru_cfgwrite_default()
979 cmd_old = pci_get_cfgdata16(pi, PCIR_COMMAND); in passthru_cfgwrite_default()
980 pci_set_cfgdata16(pi, PCIR_COMMAND, val & 0xffff); in passthru_cfgwrite_default()
H A Dpci_emul.c684 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); in porten()
695 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); in memen()
839 const uint16_t cmd = pci_get_cfgdata16(pdi, PCIR_COMMAND); in pci_emul_alloc_bar()
840 pci_set_cfgdata16(pdi, PCIR_COMMAND, cmd | enbit); in pci_emul_alloc_bar()
1125 pci_set_cfgdata8(pdi, PCIR_COMMAND, PCIM_CMD_BUSMASTEREN); in pci_emul_init()
1128 pci_set_cfgdata8(pdi, PCIR_COMMAND, PCIM_CMD_BUSMASTEREN); in pci_emul_init()
1927 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); in pci_lintr_permitted()
2150 new = pci_get_cfgdata16(pi, PCIR_COMMAND); in pci_emul_cmd_changed()
2204 cmd = pci_get_cfgdata16(pi, PCIR_COMMAND); /* stash old value */ in pci_emul_cmdsts_write()
2378 } else if (coff >= PCIR_COMMAND && coff < PCIR_REVID) { in pci_cfgrw()
/illumos-gate/usr/src/contrib/bhyve/dev/pci/
H A Dpcireg.h79 #define PCIR_COMMAND 0x04 macro
/illumos-gate/usr/src/boot/include/dev/pci/
H A Dpcireg.h84 #define PCIR_COMMAND 0x04 macro