Home
last modified time | relevance | path

Searched refs:msic (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/malo/
H A Dif_malo_pci.c152 int error = ENXIO, i, msic, reg; in malo_pci_attach() local
176 msic = pci_msi_count(dev); in malo_pci_attach()
178 device_printf(dev, "MSI count : %d\n", msic); in malo_pci_attach()
180 msic = 0; in malo_pci_attach()
183 if (msic == MALO_MSI_MESSAGES && msi_disable == 0) { in malo_pci_attach()
184 if (pci_alloc_msi(dev, &msic) == 0) { in malo_pci_attach()
185 if (msic == MALO_MSI_MESSAGES) { in malo_pci_attach()
187 msic); in malo_pci_attach()
/freebsd/sys/dev/ale/
H A Dif_ale.c455 int error, i, msic, msixc, pmc; in ale_attach() local
544 msic = pci_msi_count(dev); in ale_attach()
547 device_printf(dev, "MSI count : %d\n", msic); in ale_attach()
563 msic == ALE_MSI_MESSAGES && in ale_attach()
564 pci_alloc_msi(dev, &msic) == 0) { in ale_attach()
565 if (msic == ALE_MSI_MESSAGES) { in ale_attach()
567 msic); in ale_attach()
662 msic = ALE_MSIX_MESSAGES; in ale_attach()
664 msic = ALE_MSI_MESSAGES; in ale_attach()
666 msic = 1; in ale_attach()
[all …]
/freebsd/sys/dev/age/
H A Dif_age.c463 int error, i, msic, msixc, pmc; in age_attach() local
525 msic = pci_msi_count(dev); in age_attach()
528 device_printf(dev, "MSI count : %d\n", msic); in age_attach()
535 if (msic == AGE_MSIX_MESSAGES) { in age_attach()
544 msic == AGE_MSI_MESSAGES && in age_attach()
545 pci_alloc_msi(dev, &msic) == 0) { in age_attach()
546 if (msic == AGE_MSI_MESSAGES) { in age_attach()
548 msic); in age_attach()
635 msic = AGE_MSIX_MESSAGES; in age_attach()
637 msic = AGE_MSI_MESSAGES; in age_attach()
[all …]
/freebsd/sys/dev/alc/
H A Dif_alc.c1380 int base, error, i, msic, msixc; in alc_attach() local
1533 msic = pci_msi_count(dev); in alc_attach()
1536 device_printf(dev, "MSI count : %d\n", msic); in alc_attach()
1540 if (msic > 1) in alc_attach()
1541 msic = 1; in alc_attach()
1551 if (msic == 1) { in alc_attach()
1560 msic > 0 && pci_alloc_msi(dev, &msic) == 0) { in alc_attach()
1561 if (msic == 1) { in alc_attach()
1563 "Using %d MSI message(s).\n", msic); in alc_attach()
1647 msic = ALC_MSIX_MESSAGES; in alc_attach()
[all …]
/freebsd/sys/dev/et/
H A Dif_et.c225 int cap, error, msic; in et_attach() local
257 msic = 0; in et_attach()
261 msic = pci_msi_count(dev); in et_attach()
263 device_printf(dev, "MSI count: %d\n", msic); in et_attach()
265 if (msic > 0 && msi_disable == 0) { in et_attach()
266 msic = 1; in et_attach()
267 if (pci_alloc_msi(dev, &msic) == 0) { in et_attach()
268 if (msic == 1) { in et_attach()
270 msic); in et_attach()
/freebsd/sys/dev/re/
H A Dif_re.c1220 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/sys/dev/jme/
H A Dif_jme.c628 int error, i, mii_flags, msic, msixc, pmc; in jme_attach() local
658 msic = pci_msi_count(dev); in jme_attach()
661 device_printf(dev, "MSI count : %d\n", msic); in jme_attach()
667 if (msic > 1) in jme_attach()
668 msic = 1; in jme_attach()
682 msic > 0 && pci_alloc_msi(dev, &msic) == 0) { in jme_attach()
683 if (msic == 1) { in jme_attach()
685 msic); in jme_attach()
/freebsd/sys/dev/vge/
H A Dif_vge.c998 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/sys/dev/nfe/
H A Dif_nfe.c364 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/sys/dev/msk/
H A Dif_msk.c1735 int error, msic, msir, reg; in mskc_attach() local
1905 msic = pci_msi_count(dev); in mskc_attach()
1907 device_printf(dev, "MSI count : %d\n", msic); in mskc_attach()
1910 if (msi_disable == 0 && msic > 0) { in mskc_attach()