Lines Matching refs:msi_count
1847 int cap, msi_count, error = 0;
1862 msi_count = 1;
1863 if ((error = pci_alloc_msi(dev, &msi_count)) != 0) {
1882 msi_count = pci_msix_count(dev);
1883 if (msi_count > AAC_MAX_MSIX)
1884 msi_count = AAC_MAX_MSIX;
1885 if (msi_count > sc->aac_max_msix)
1886 msi_count = sc->aac_max_msix;
1887 if (msi_count == 0 || (error = pci_alloc_msix(dev, &msi_count)) != 0) {
1888 device_printf(dev, "alloc msix failed - msi_count=%d, err=%d; "
1889 "will try MSI\n", msi_count, error);
1894 msi_count);
1898 msi_count = 1;
1899 if ((error = pci_alloc_msi(dev, &msi_count)) != 0) {
1924 if (sc->aac_max_msix > msi_count)
1925 sc->aac_max_msix = msi_count;
1976 int i, msi_count, rid;
1980 msi_count = sc->aac_max_msix;
1983 for (i = 0; i < msi_count; i++, rid++) {