Home
last modified time | relevance | path

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

/freebsd-12.1/usr.sbin/bhyve/
H A Dpci_passthru.c91 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()
205 sc->psc_msi.msgctrl = read_config(&sel, in cfginitmsi()
208 caplen = msi_caplen(sc->psc_msi.msgctrl); in cfginitmsi()
246 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()
271 sc->psc_msi.msgctrl = pci_get_cfgdata16(pi, msiptr + 2); in cfginitmsi()
763 caplen = msi_caplen(sc->psc_msi.msgctrl); in msicap_access()
H A Dpci_emul.c811 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
875 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
883 msgctrl &= ~rwmask; in msixcap_cfgwrite()
884 msgctrl |= val & rwmask; in msixcap_cfgwrite()
885 val = msgctrl; in msixcap_cfgwrite()
899 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
909 msgctrl &= ~rwmask; in msicap_cfgwrite()
910 msgctrl |= val & rwmask; in msicap_cfgwrite()
911 val = msgctrl; in msicap_cfgwrite()
914 if (msgctrl & PCIM_MSICTRL_64BIT) in msicap_cfgwrite()
[all …]
H A Dpci_emul.h160 uint16_t msgctrl; member
170 uint16_t msgctrl; member