Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/bhyve/
H A Dpci_emul.c1188 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1252 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
1260 msgctrl &= ~rwmask; in msixcap_cfgwrite()
1261 msgctrl |= val & rwmask; in msixcap_cfgwrite()
1262 val = msgctrl; in msixcap_cfgwrite()
1278 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
1288 msgctrl &= ~rwmask; in msicap_cfgwrite()
1289 msgctrl |= val & rwmask; in msicap_cfgwrite()
1290 val = msgctrl; in msicap_cfgwrite()
1296 if (msgctrl & PCIM_MSICTRL_64BIT) in msicap_cfgwrite()
[all …]
H A Dpci_passthru.c88 int msgctrl; member
102 msi_caplen(int msgctrl) in msi_caplen() argument
108 if (msgctrl & PCIM_MSICTRL_64BIT) in msi_caplen()
116 if (msgctrl & PCIM_MSICTRL_VECTOR) in msi_caplen()
239 sc->psc_msi.msgctrl = pci_host_read_config(&sel, in cfginitmsi()
242 caplen = msi_caplen(sc->psc_msi.msgctrl); in cfginitmsi()
283 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()
308 sc->psc_msi.msgctrl = pci_get_cfgdata16(pi, msiptr + 2); in cfginitmsi()
961 caplen = msi_caplen(sc->psc_msi.msgctrl); in msicap_access()
H A Dpci_emul.h173 uint16_t msgctrl; member
183 uint16_t msgctrl; member