Lines Matching refs:n_msi
16 static int n_msi = 3; variable
17 module_param(n_msi, int, 0444);
18 MODULE_PARM_DESC(n_msi, " Use MSI interrupt: 0 - use INTx, 1 - single, or 3 - (default) ");
148 if (wil->n_msi == 3) { in wil_disable_irq()
159 if (wil->n_msi == 3) { in wil_enable_irq()
195 switch (n_msi) { in wil_if_pcie_enable()
198 wil_dbg_misc(wil, "Setup %d MSI interrupts\n", n_msi); in wil_if_pcie_enable()
204 wil_err(wil, "Invalid n_msi=%d, default to 1\n", n_msi); in wil_if_pcie_enable()
205 n_msi = 1; in wil_if_pcie_enable()
208 if (n_msi == 3 && in wil_if_pcie_enable()
209 pci_alloc_irq_vectors(pdev, n_msi, n_msi, PCI_IRQ_MSI) < n_msi) { in wil_if_pcie_enable()
211 n_msi = 1; in wil_if_pcie_enable()
214 if (n_msi == 1 && pci_enable_msi(pdev)) { in wil_if_pcie_enable()
216 n_msi = 0; in wil_if_pcie_enable()
219 wil->n_msi = n_msi; in wil_if_pcie_enable()
221 if (wil->n_msi == 0 && msi_only) { in wil_if_pcie_enable()