Searched refs:msgctrl (Results 1 – 3 of 3) sorted by relevance
73 int msgctrl; member88 msi_caplen(int msgctrl) in msi_caplen() argument94 if (msgctrl & PCIM_MSICTRL_64BIT) in msi_caplen()102 if (msgctrl & PCIM_MSICTRL_VECTOR) in msi_caplen()224 mmc = sc->psc_msi.msgctrl & PCIM_MSICTRL_MMC_MASK; in passthru_intr_limit()227 sc->psc_msi.msgctrl &= ~PCIM_MSICTRL_MMC_MASK; in passthru_intr_limit()228 sc->psc_msi.msgctrl |= msi_limit; in passthru_intr_limit()229 pci_set_cfgdata16(pi, off + 2, sc->psc_msi.msgctrl); in passthru_intr_limit()235 if (MSIX_TABLE_COUNT(msixcap->msgctrl) > sc->msix_limit) { in passthru_intr_limit()236 msixcap->msgctrl &= ~PCIM_MSIXCTRL_TABLE_SIZE; in passthru_intr_limit()[all …]
1157 msicap->msgctrl = PCIM_MSICTRL_64BIT | (mmc << 1); in pci_populate_msicap()1186 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()1250 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local1257 msgctrl = pci_get_cfgdata16(pi, offset); in msixcap_cfgwrite()1258 msgctrl &= ~rwmask; in msixcap_cfgwrite()1259 msgctrl |= val & rwmask; in msixcap_cfgwrite()1260 val = msgctrl; in msixcap_cfgwrite()1274 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local1283 msgctrl = pci_get_cfgdata16(pi, offset); in msicap_cfgwrite()1284 msgctrl &= ~rwmask; in msicap_cfgwrite()[all …]
186 uint16_t msgctrl; member196 uint16_t msgctrl; member