Home
last modified time | relevance | path

Searched refs:msgnum (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/pciconf/
H A Dcap.c129 int msgnum; in cap_msi() local
132 msgnum = 1 << ((ctrl & PCIM_MSICTRL_MMC_MASK) >> 1); in cap_msi()
133 printf("MSI supports %d message%s%s%s ", msgnum, in cap_msi()
134 (msgnum == 1) ? "" : "s", in cap_msi()
138 msgnum = 1 << ((ctrl & PCIM_MSICTRL_MME_MASK) >> 4); in cap_msi()
139 printf("enabled with %d message%s", msgnum, in cap_msi()
140 (msgnum == 1) ? "" : "s"); in cap_msi()
692 int msgnum, pba_bar, table_bar; in cap_ea()
696 msgnum = (ctrl & PCIM_MSIXCTRL_TABLE_SIZE) + 1; in cap_ea()
706 printf("MSI-X supports %d message%s%s\n", msgnum, in cap_ea()
580 int msgnum, pba_bar, table_bar; cap_msix() local
[all...]
/freebsd/usr.sbin/bhyve/
H A Dpci_emul.c1176 pci_populate_msicap(struct msicap *msicap, int msgnum, int nextptr) in pci_populate_msicap() argument
1181 assert((msgnum & (msgnum - 1)) == 0 && msgnum >= 1 && msgnum <= 32); in pci_populate_msicap()
1182 mmc = ffs(msgnum) - 1; in pci_populate_msicap()
1191 pci_emul_add_msicap(struct pci_devinst *pi, int msgnum) in pci_emul_add_msicap() argument
1195 pci_populate_msicap(&msicap, msgnum, 0); in pci_emul_add_msicap()
1201 pci_populate_msixcap(struct msixcap *msixcap, int msgnum, int barnum, in pci_populate_msixcap() argument
1215 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1243 pci_emul_add_msixcap(struct pci_devinst *pi, int msgnum, int barnum) in pci_emul_add_msixcap() argument
1248 assert(msgnum >= 1 && msgnum <= MAX_MSIX_TABLE_ENTRIES); in pci_emul_add_msixcap()
1251 tab_size = msgnum * MSIX_TABLE_ENTRY_SIZE; in pci_emul_add_msixcap()
[all …]
H A Dpci_passthru.c187 passthru_add_msicap(struct pci_devinst *pi, int msgnum, int nextptr) in passthru_add_msicap() argument
193 pci_populate_msicap(&msicap, msgnum, nextptr); in passthru_add_msicap()
/freebsd/contrib/file/magic/Magdir/
H A Dos289 # msgnum; message number