Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dpci_emul.c1187 msicap->msgctrl = PCIM_MSICTRL_64BIT | (mmc << 1); in pci_populate_msicap()
1215 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1279 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
1286 msgctrl = pci_get_cfgdata16(pi, offset); in msixcap_cfgwrite()
1287 msgctrl &= ~rwmask; in msixcap_cfgwrite()
1288 msgctrl |= val & rwmask; in msixcap_cfgwrite()
1289 val = msgctrl; in msixcap_cfgwrite()
1303 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
1312 msgctrl = pci_get_cfgdata16(pi, offset); in msicap_cfgwrite()
1313 msgctrl &= ~rwmask; in msicap_cfgwrite()
[all …]
H A Dpci_passthru.c87 int msgctrl; member
101 msi_caplen(int msgctrl) in msi_caplen() argument
107 if (msgctrl & PCIM_MSICTRL_64BIT) in msi_caplen()
115 if (msgctrl & PCIM_MSICTRL_VECTOR) in msi_caplen()
281 sc->psc_msi.msgctrl = in cfginitmsi()
284 caplen = msi_caplen(sc->psc_msi.msgctrl); in cfginitmsi()
325 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()
350 sc->psc_msi.msgctrl = pci_get_cfgdata16(pi, msiptr + 2); in cfginitmsi()
1001 caplen = msi_caplen(sc->psc_msi.msgctrl); in msicap_access()