/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malo_pci.c | 156 int error = ENXIO, i, msic, reg; in malo_pci_attach() local 180 msic = pci_msi_count(dev); in malo_pci_attach() 182 device_printf(dev, "MSI count : %d\n", msic); in malo_pci_attach() 184 msic = 0; in malo_pci_attach() 187 if (msic == MALO_MSI_MESSAGES && msi_disable == 0) { in malo_pci_attach() 188 if (pci_alloc_msi(dev, &msic) == 0) { in malo_pci_attach() 189 if (msic == MALO_MSI_MESSAGES) { in malo_pci_attach() 191 msic); in malo_pci_attach()
|
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/ |
H A D | if_ale.c | 456 int error, i, msic, msixc, pmc; in ale_attach() local 545 msic = pci_msi_count(dev); in ale_attach() 548 device_printf(dev, "MSI count : %d\n", msic); in ale_attach() 564 msic == ALE_MSI_MESSAGES && in ale_attach() 565 pci_alloc_msi(dev, &msic) == 0) { in ale_attach() 566 if (msic == ALE_MSI_MESSAGES) { in ale_attach() 568 msic); in ale_attach() 675 msic = ALE_MSIX_MESSAGES; in ale_attach() 677 msic = ALE_MSI_MESSAGES; in ale_attach() 679 msic = 1; in ale_attach() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/age/ |
H A D | if_age.c | 465 int error, i, msic, msixc, pmc; in age_attach() local 527 msic = pci_msi_count(dev); in age_attach() 530 device_printf(dev, "MSI count : %d\n", msic); in age_attach() 537 if (msic == AGE_MSIX_MESSAGES) { in age_attach() 546 msic == AGE_MSI_MESSAGES && in age_attach() 547 pci_alloc_msi(dev, &msic) == 0) { in age_attach() 548 if (msic == AGE_MSI_MESSAGES) { in age_attach() 550 msic); in age_attach() 649 msic = AGE_MSIX_MESSAGES; in age_attach() 651 msic = AGE_MSI_MESSAGES; in age_attach() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/ |
H A D | if_alc.c | 1375 int base, error, i, msic, msixc; in alc_attach() local 1512 msic = pci_msi_count(dev); in alc_attach() 1515 device_printf(dev, "MSI count : %d\n", msic); in alc_attach() 1519 if (msic > 1) in alc_attach() 1520 msic = 1; in alc_attach() 1530 if (msic == 1) { in alc_attach() 1539 msic > 0 && pci_alloc_msi(dev, &msic) == 0) { in alc_attach() 1540 if (msic == 1) { in alc_attach() 1542 "Using %d MSI message(s).\n", msic); in alc_attach() 1638 msic = ALC_MSIX_MESSAGES; in alc_attach() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/re/ |
H A D | if_re.c | 1220 int capmask, error = 0, hwrev, i, msic, msixc, in re_attach() local 1273 msic = pci_msi_count(dev); in re_attach() 1280 device_printf(dev, "MSI count : %d\n", msic); in re_attach() 1286 msic = 0; in re_attach() 1315 if (msixc == 0 && msic > 0) { in re_attach() 1316 msic = RL_MSI_MESSAGES; in re_attach() 1317 if (pci_alloc_msi(dev, &msic) == 0) { in re_attach() 1318 if (msic == RL_MSI_MESSAGES) { in re_attach() 1320 msic); in re_attach() 1332 msic = 0; in re_attach()
|
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/jme/ |
H A D | if_jme.c | 629 int error, i, mii_flags, msic, msixc, pmc; in jme_attach() local 659 msic = pci_msi_count(dev); in jme_attach() 662 device_printf(dev, "MSI count : %d\n", msic); in jme_attach() 668 if (msic > 1) in jme_attach() 669 msic = 1; in jme_attach() 683 msic > 0 && pci_alloc_msi(dev, &msic) == 0) { in jme_attach() 684 if (msic == 1) { in jme_attach() 686 msic); in jme_attach()
|
/haiku/src/add-ons/kernel/drivers/network/ether/vt612x/dev/vge/ |
H A D | if_vge.c | 998 int error = 0, cap, i, msic, rid; in vge_attach() local 1032 msic = pci_msi_count(dev); in vge_attach() 1033 if (msi_disable == 0 && msic > 0) { in vge_attach() 1034 msic = 1; in vge_attach() 1035 if (pci_alloc_msi(dev, &msic) == 0) { in vge_attach() 1036 if (msic == 1) { in vge_attach() 1039 msic); in vge_attach()
|
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/ |
H A D | if_nfe.c | 364 int error = 0, i, msic, phyloc, reg, rid; in nfe_attach() local 415 (msic = pci_msix_count(dev)) == NFE_MSI_MESSAGES) in nfe_attach() 416 nfe_alloc_msix(sc, msic); in nfe_attach() 418 (msic = pci_msi_count(dev)) == NFE_MSI_MESSAGES && in nfe_attach() 419 pci_alloc_msi(dev, &msic) == 0) { in nfe_attach() 420 if (msic == NFE_MSI_MESSAGES) { in nfe_attach() 423 "Using %d MSI messages\n", msic); in nfe_attach()
|
/haiku/src/add-ons/kernel/drivers/network/ether/marvell_yukon/dev/msk/ |
H A D | if_msk.c | 1742 int error, msic, msir, reg; in mskc_attach() local 1912 msic = pci_msi_count(dev); in mskc_attach() 1914 device_printf(dev, "MSI count : %d\n", msic); in mskc_attach() 1917 if (msi_disable == 0 && msic > 0) { in mskc_attach()
|