Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bhyve/
H A Dpci_emul.c1190 msicap->msgctrl = PCIM_MSICTRL_64BIT | (mmc << 1); in pci_populate_msicap()
1218 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1282 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
1289 msgctrl = pci_get_cfgdata16(pi, offset); in msixcap_cfgwrite()
1290 msgctrl &= ~rwmask; in msixcap_cfgwrite()
1291 msgctrl |= val & rwmask; in msixcap_cfgwrite()
1292 val = msgctrl; in msixcap_cfgwrite()
1306 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
1315 msgctrl = pci_get_cfgdata16(pi, offset); in msicap_cfgwrite()
1316 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()
H A Dpci_emul.h172 uint16_t msgctrl; member
182 uint16_t msgctrl; member