Home
last modified time | relevance | path

Searched refs:msgctrl (Results 1 – 3 of 3) sorted by last modified time

/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_emul.c1145 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1209 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
1217 msgctrl &= ~rwmask; in msixcap_cfgwrite()
1218 msgctrl |= val & rwmask; in msixcap_cfgwrite()
1219 val = msgctrl; in msixcap_cfgwrite()
1233 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
1243 msgctrl &= ~rwmask; in msicap_cfgwrite()
1244 msgctrl |= val & rwmask; in msicap_cfgwrite()
1245 val = msgctrl; in msicap_cfgwrite()
1251 if (msgctrl & PCIM_MSICTRL_64BIT) in msicap_cfgwrite()
[all …]
H A Dpci_emul.h174 uint16_t msgctrl; member
184 uint16_t msgctrl; member
H A Dpci_passthru.c74 int msgctrl; member
89 msi_caplen(int msgctrl) in msi_caplen() argument
95 if (msgctrl & PCIM_MSICTRL_64BIT) in msi_caplen()
103 if (msgctrl & PCIM_MSICTRL_VECTOR) in msi_caplen()
228 sc->psc_msi.msgctrl &= ~PCIM_MSICTRL_MMC_MASK; in passthru_intr_limit()
229 sc->psc_msi.msgctrl |= msi_limit; in passthru_intr_limit()
237 msixcap->msgctrl &= ~PCIM_MSIXCTRL_TABLE_SIZE; in passthru_intr_limit()
238 msixcap->msgctrl |= sc->msix_limit - 1; in passthru_intr_limit()
268 sc->psc_msi.msgctrl = passthru_read_config(sc, in cfginitmsi()
271 caplen = msi_caplen(sc->psc_msi.msgctrl); in cfginitmsi()
[all …]