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.c1188 msicap->msgctrl = PCIM_MSICTRL_64BIT | (mmc << 1); in pci_populate_msicap()
1216 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1280 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
1287 msgctrl = pci_get_cfgdata16(pi, offset); in msixcap_cfgwrite()
1288 msgctrl &= ~rwmask; in msixcap_cfgwrite()
1289 msgctrl |= val & rwmask; in msixcap_cfgwrite()
1290 val = msgctrl; in msixcap_cfgwrite()
1304 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
1313 msgctrl = pci_get_cfgdata16(pi, offset); in msicap_cfgwrite()
1314 msgctrl &= ~rwmask; in msicap_cfgwrite()
[all …]
H A Dpci_passthru.c96 int msgctrl; member
113 msi_caplen(int msgctrl) in msi_caplen() argument
119 if (msgctrl & PCIM_MSICTRL_64BIT) in msi_caplen()
127 if (msgctrl & PCIM_MSICTRL_VECTOR) in msi_caplen()
293 sc->psc_msi.msgctrl = in cfginitmsi()
296 caplen = msi_caplen(sc->psc_msi.msgctrl); in cfginitmsi()
337 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()
362 sc->psc_msi.msgctrl = pci_get_cfgdata16(pi, msiptr + 2); in cfginitmsi()
1055 caplen = msi_caplen(sc->psc_msi.msgctrl); in msicap_access()