Home
last modified time | relevance | path

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

/freebsd-13.1/usr.sbin/bhyve/
H A Dpci_passthru.c87 int msgctrl; member
97 msi_caplen(int msgctrl) in msi_caplen() argument
103 if (msgctrl & PCIM_MSICTRL_64BIT) in msi_caplen()
111 if (msgctrl & PCIM_MSICTRL_VECTOR) in msi_caplen()
201 sc->psc_msi.msgctrl = read_config(&sel, in cfginitmsi()
204 caplen = msi_caplen(sc->psc_msi.msgctrl); in cfginitmsi()
242 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()
267 sc->psc_msi.msgctrl = pci_get_cfgdata16(pi, msiptr + 2); in cfginitmsi()
733 caplen = msi_caplen(sc->psc_msi.msgctrl); in msicap_access()
H A Dpci_emul.c946 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1010 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
1018 msgctrl &= ~rwmask; in msixcap_cfgwrite()
1019 msgctrl |= val & rwmask; in msixcap_cfgwrite()
1020 val = msgctrl; in msixcap_cfgwrite()
1034 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
1044 msgctrl &= ~rwmask; in msicap_cfgwrite()
1045 msgctrl |= val & rwmask; in msicap_cfgwrite()
1046 val = msgctrl; in msicap_cfgwrite()
1052 if (msgctrl & PCIM_MSICTRL_64BIT) in msicap_cfgwrite()
[all …]
H A Dpci_emul.h174 uint16_t msgctrl; member
184 uint16_t msgctrl; member