| /freebsd-14.2/sys/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()
|
| /freebsd-14.2/sys/dev/ale/ |
| H A D | if_ale.c | 545 msic = pci_msi_count(dev); in ale_attach() 568 msic); in ale_attach() 663 msic = ALE_MSIX_MESSAGES; in ale_attach() 665 msic = ALE_MSI_MESSAGES; in ale_attach() 667 msic = 1; in ale_attach() 668 for (i = 0; i < msic; i++) { in ale_attach() 695 int i, msic; in ale_detach() local 728 msic = ALE_MSIX_MESSAGES; in ale_detach() 730 msic = ALE_MSI_MESSAGES; in ale_detach() 732 msic = 1; in ale_detach() [all …]
|
| /freebsd-14.2/sys/dev/age/ |
| H A D | if_age.c | 526 msic = pci_msi_count(dev); in age_attach() 549 msic); in age_attach() 636 msic = AGE_MSIX_MESSAGES; in age_attach() 638 msic = AGE_MSI_MESSAGES; in age_attach() 640 msic = 1; in age_attach() 641 for (i = 0; i < msic; i++) { in age_attach() 668 int i, msic; in age_detach() local 703 msic = AGE_MSIX_MESSAGES; in age_detach() 705 msic = AGE_MSI_MESSAGES; in age_detach() 707 msic = 1; in age_detach() [all …]
|
| /freebsd-14.2/sys/dev/alc/ |
| H A D | if_alc.c | 1534 msic = pci_msi_count(dev); in alc_attach() 1541 if (msic > 1) in alc_attach() 1542 msic = 1; in alc_attach() 1552 if (msic == 1) { in alc_attach() 1561 msic > 0 && pci_alloc_msi(dev, &msic) == 0) { in alc_attach() 1562 if (msic == 1) { in alc_attach() 1650 msic = ALC_MSI_MESSAGES; in alc_attach() 1652 msic = 1; in alc_attach() 1683 int i, msic; in alc_detach() local 1718 msic = ALC_MSI_MESSAGES; in alc_detach() [all …]
|
| /freebsd-14.2/sys/dev/et/ |
| H A D | if_et.c | 226 int cap, error, msic; in et_attach() local 258 msic = 0; in et_attach() 262 msic = pci_msi_count(dev); in et_attach() 264 device_printf(dev, "MSI count: %d\n", msic); in et_attach() 266 if (msic > 0 && msi_disable == 0) { in et_attach() 267 msic = 1; in et_attach() 268 if (pci_alloc_msi(dev, &msic) == 0) { in et_attach() 269 if (msic == 1) { in et_attach() 271 msic); in et_attach()
|
| /freebsd-14.2/sys/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()
|
| /freebsd-14.2/sys/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()
|
| /freebsd-14.2/sys/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()
|
| /freebsd-14.2/sys/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()
|
| /freebsd-14.2/sys/dev/msk/ |
| H A D | if_msk.c | 1734 int error, msic, msir, reg; in mskc_attach() local 1904 msic = pci_msi_count(dev); in mskc_attach() 1906 device_printf(dev, "MSI count : %d\n", msic); in mskc_attach() 1909 if (msi_disable == 0 && msic > 0) { in mskc_attach()
|