/freebsd/sys/dev/ofw/ |
H A D | ofw_bus_subr.c | 643 int err, i, irqnum, nintr, rid; in ofw_bus_intr_to_rl() local 646 nintr = OF_getencprop_alloc_multi(node, "interrupts", sizeof(*intr), in ofw_bus_intr_to_rl() 648 if (nintr > 0) { in ofw_bus_intr_to_rl() 662 if (icells < 1 || icells > nintr) { in ofw_bus_intr_to_rl() 669 nintr = OF_getencprop_alloc_multi(node, "interrupts-extended", in ofw_bus_intr_to_rl() 671 if (nintr <= 0) in ofw_bus_intr_to_rl() 677 for (i = 0; i < nintr; i += icells) { in ofw_bus_intr_to_rl() 687 if (icells < 1 || (i + icells) > nintr) { in ofw_bus_intr_to_rl() 709 int err, i, nintr, rid; in ofw_bus_intr_by_rid() local 712 nintr in ofw_bus_intr_by_rid() [all...] |
/freebsd/usr.bin/systat/ |
H A D | vmstat.c | 139 static int nintr; variable 201 if (nintr == 0) { in initkre() 207 nintr = sz / sizeof(u_long); in initkre() 208 intrloc = calloc(nintr, sizeof (long)); in initkre() 209 intrname = calloc(nintr, sizeof (char *)); in initkre() 220 nintr = 0; in initkre() 223 for (cp = intrnamebuf, i = 0; i < nintr; i++) { in initkre() 353 for (i = 0; i < nintr; i++) { in labelkre() 407 for (i = 0; i < nintr; i++) { in showkre() 772 getsysctl("hw.intrcnt", ls->intrcnt, nintr * sizeof(u_long)); in getinfo() [all …]
|
/freebsd/sys/arm/annapurna/alpine/ |
H A D | alpine_pci_msix.c | 136 int nintr, i, rid; in al_msix_attach() local 186 nintr = OF_getencprop_alloc_multi(node, "interrupts", sizeof(*intr), in al_msix_attach() 188 if (nintr == 0) { in al_msix_attach() 191 } else if ((nintr / icells) != INTR_RANGE_COUNT) { in al_msix_attach()
|
/freebsd/sys/powerpc/powermac/ |
H A D | uninorth.c | 165 int i, nintr; in unin_chip_add_intr() local 173 nintr = OF_getprop_alloc_multi(devnode, "interrupts", sizeof(*intr), in unin_chip_add_intr() 175 if (nintr == -1) { in unin_chip_add_intr() 176 nintr = OF_getprop_alloc_multi(devnode, "AAPL,interrupts", in unin_chip_add_intr() 178 if (nintr == -1) in unin_chip_add_intr() 193 for (i = 0; i < nintr; i+=icells) { in unin_chip_add_intr()
|
H A D | macio.c | 208 int i, nintr; in macio_add_intr() local 216 nintr = OF_getprop_alloc_multi(devnode, "interrupts", sizeof(*intr), in macio_add_intr() 218 if (nintr == -1) { in macio_add_intr() 219 nintr = OF_getprop_alloc_multi(devnode, "AAPL,interrupts", in macio_add_intr() 221 if (nintr == -1) in macio_add_intr() 236 for (i = 0; i < nintr; i+=icells) { in macio_add_intr()
|
/freebsd/sys/riscv/riscv/ |
H A D | plic.c | 302 int nintr; in plic_attach() local 377 nintr = OF_getencprop_alloc_multi(node, "interrupts-extended", in plic_attach() 379 if (nintr <= 0) { in plic_attach() 386 for (i = 0, context = 0; i < nintr; i += 2, context++) { in plic_attach()
|
H A D | aplic.c | 325 int cpu, hartid, rid, i, nintr, idc; in aplic_setup_direct_mode() local 373 nintr = OF_getencprop_alloc_multi(node, "interrupts-extended", in aplic_setup_direct_mode() 375 if (nintr <= 0) { in aplic_setup_direct_mode() 381 for (i = 0, idc = 0; i < nintr; i += 2, idc++) { in aplic_setup_direct_mode()
|
/freebsd/usr.sbin/mptable/ |
H A D | mptable.c | 149 static int nintr; variable 518 nintr = 16; in MPConfigDefault() 587 nintr = 0; in MPConfigTableHeader() 833 ++nintr; in intEntry()
|
/freebsd/usr.bin/vmstat/ |
H A D | vmstat.c | 1219 char *intrnames, unsigned int nintr, size_t istrnamlen, long long period_ms) in print_intrcnts() argument 1228 for (i = 0; i < nintr; i++) { in print_intrcnts() 1258 unsigned int nintr; in dointr() local 1303 nintr = read_intrcnts(&intrcnts); in dointr() 1309 old_intrcnts = calloc(nintr, sizeof(unsigned long)); in dointr() 1314 print_intrcnts(intrcnts, old_intrcnts, intrnames, nintr, in dointr()
|
/freebsd/sys/dev/vmware/vmxnet3/ |
H A D | if_vmxreg.h | 244 uint8_t nintr; member
|
H A D | if_vmx.c | 1100 ds->nintr = (scctx->isc_vectors == 1) ? in vmxnet3_init_shared_data() 1105 for (i = 0; i < ds->nintr; i++) in vmxnet3_init_shared_data()
|
/freebsd/sys/dev/cxgbe/ |
H A D | adapter.h | 215 int nintr; member
|
H A D | t4_main.c | 6690 vi->nintr++; in t4_setup_intr_handlers() 6706 vi->nintr++; in t4_setup_intr_handlers() 6718 vi->nintr++; in t4_setup_intr_handlers()
|