Lines Matching refs:msgctrl
1152 msicap->msgctrl = PCIM_MSICTRL_64BIT | (mmc << 1); in pci_populate_msicap()
1180 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1244 uint16_t msgctrl, rwmask; in msixcap_cfgwrite() local
1251 msgctrl = pci_get_cfgdata16(pi, offset); in msixcap_cfgwrite()
1252 msgctrl &= ~rwmask; in msixcap_cfgwrite()
1253 msgctrl |= val & rwmask; in msixcap_cfgwrite()
1254 val = msgctrl; in msixcap_cfgwrite()
1268 uint16_t msgctrl, rwmask, msgdata, mme; in msicap_cfgwrite() local
1277 msgctrl = pci_get_cfgdata16(pi, offset); in msicap_cfgwrite()
1278 msgctrl &= ~rwmask; in msicap_cfgwrite()
1279 msgctrl |= val & rwmask; in msicap_cfgwrite()
1280 val = msgctrl; in msicap_cfgwrite()
1284 msgctrl = pci_get_cfgdata16(pi, capoff + 2); in msicap_cfgwrite()
1286 if (msgctrl & PCIM_MSICTRL_64BIT) in msicap_cfgwrite()
1291 mme = msgctrl & PCIM_MSICTRL_MME_MASK; in msicap_cfgwrite()
1292 pi->pi_msi.enabled = msgctrl & PCIM_MSICTRL_MSI_ENABLE ? 1 : 0; in msicap_cfgwrite()