Home
last modified time | relevance | path

Searched refs:msgctrl (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_passthru.c73 int msgctrl; member
88 msi_caplen(int msgctrl) in msi_caplen() argument
94 if (msgctrl & PCIM_MSICTRL_64BIT) in msi_caplen()
102 if (msgctrl & PCIM_MSICTRL_VECTOR) in msi_caplen()
224 mmc = sc->psc_msi.msgctrl & PCIM_MSICTRL_MMC_MASK; in passthru_intr_limit()
227 sc->psc_msi.msgctrl &= ~PCIM_MSICTRL_MMC_MASK; in passthru_intr_limit()
228 sc->psc_msi.msgctrl |= msi_limit; in passthru_intr_limit()
229 pci_set_cfgdata16(pi, off + 2, sc->psc_msi.msgctrl); in passthru_intr_limit()
235 if (MSIX_TABLE_COUNT(msixcap->msgctrl) > sc->msix_limit) { in passthru_intr_limit()
236 msixcap->msgctrl &= ~PCIM_MSIXCTRL_TABLE_SIZE; in passthru_intr_limit()
[all …]
H A Dpci_emul.c1152 msicap->msgctrl = PCIM_MSICTRL_64BIT | (mmc << 1); in pci_populate_msicap()
1180 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1244 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
1251 msgctrl = pci_get_cfgdata16(pi, offset); in msixcap_cfgwrite()
1252 msgctrl &= ~rwmask; in msixcap_cfgwrite()
1253 msgctrl |= val & rwmask; in msixcap_cfgwrite()
1254 val = msgctrl; in msixcap_cfgwrite()
1268 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
1277 msgctrl = pci_get_cfgdata16(pi, offset); in msicap_cfgwrite()
1278 msgctrl &= ~rwmask; in msicap_cfgwrite()
[all …]
H A Dpci_emul.h174 uint16_t msgctrl; member
184 uint16_t msgctrl; member