Lines Matching refs:msixcap
208 passthru_intr_limit(struct passthru_softc *sc, struct msixcap *msixcap) in passthru_intr_limit() argument
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()
237 msixcap->msgctrl |= sc->msix_limit - 1; in passthru_intr_limit()
238 pci_set_cfgdata16(pi, off + 2, msixcap->msgctrl); in passthru_intr_limit()
249 struct msixcap msixcap; in cfginitmsi() local
285 msixcap_ptr = (char *)&msixcap; in cfginitmsi()
301 passthru_intr_limit(sc, &msixcap); in cfginitmsi()
305 msixcap.pba_info & PCIM_MSIX_BIR_MASK; in cfginitmsi()
307 msixcap.pba_info & ~PCIM_MSIX_BIR_MASK; in cfginitmsi()
309 msixcap.table_info & PCIM_MSIX_BIR_MASK; in cfginitmsi()
311 msixcap.table_info & ~PCIM_MSIX_BIR_MASK; in cfginitmsi()
312 pi->pi_msix.table_count = MSIX_TABLE_COUNT(msixcap.msgctrl); in cfginitmsi()