Lines Matching defs:info
185 intr_info_t info;
217 bzero((void *)&info, sizeof (intr_info_t));
219 info.shared = 0;
227 info.pathname, sizeof (info.pathname));
240 (void) mdb_snprintf(info.driver_name,
241 sizeof (info.driver_name), "%s", name);
243 info.instance = dev.devi_instance;
244 info.inum = niumx_state.niumx_ihtable[i].ih_inum;
245 info.intr_type = DDI_INTR_TYPE_FIXED;
246 info.num = 0;
247 info.intr_state = niumx_state.niumx_ihtable[i].ih_state;
248 info.ino_ino = i;
249 info.mondo = niumx_state.niumx_ihtable[i].ih_sysino;
250 info.pil = niumx_state.niumx_ihtable[i].ih_pri;
251 info.cpuid = niumx_state.niumx_ihtable[i].ih_cpuid;
253 intr_print_elements(info);
270 intr_info_t info;
305 bzero((void *)&info, sizeof (intr_info_t));
309 info.shared = 1;
316 info.pathname, sizeof (info.pathname));
327 (void) mdb_snprintf(info.driver_name,
328 sizeof (info.driver_name), "%s", name);
330 info.instance = dev.devi_instance;
331 info.inum = ih.ih_inum;
332 info.intr_type = DDI_INTR_TYPE_FIXED;
333 info.num = 0;
334 info.intr_state = ih.ih_intr_state;
335 info.ino_ino = ino.ino_ino;
336 info.mondo = ino.ino_mondo;
337 info.pil = ipil.ipil_pil;
338 info.cpuid = ino.ino_cpuid;
340 intr_print_elements(info);
365 intr_info_t info;
394 bzero((void *)&info, sizeof (intr_info_t));
400 info.pathname, sizeof (info.pathname));
411 (void) mdb_snprintf(info.driver_name,
412 sizeof (info.driver_name), "%s", name);
414 info.instance = dev.devi_instance;
415 info.inum = ih.ih_inum;
426 info.intr_type =
432 info.shared = 1;
435 info.num = ih.ih_msg_code;
436 info.intr_state = ih.ih_intr_state;
437 info.ino_ino = ino.ino_ino;
438 info.mondo = ino.ino_sysino;
439 info.pil = ipil.ipil_pil;
440 info.cpuid = ino.ino_cpuid;
442 intr_print_elements(info);
491 intr_print_elements(intr_info_t info)
494 mdb_printf(" %11s#%d\t", info.driver_name, info.instance);
495 mdb_printf(" %s\t", intr_get_intr_type(info.intr_type));
496 if (info.intr_type == DDI_INTR_TYPE_FIXED) {
499 mdb_printf(" %4d\t", info.num);
502 info.intr_state ? "enbl" : "disbl");
503 mdb_printf(" 0x%x\t", info.ino_ino);
504 mdb_printf(" 0x%x\t", info.mondo);
506 info.shared ? "yes" : "no");
507 mdb_printf(" %4d\t", info.pil);
508 mdb_printf(" %3d \n", info.cpuid);
511 mdb_printf("Device:\t\t%s\n", info.driver_name);
512 mdb_printf("Instance:\t%d\n", info.instance);
513 mdb_printf("Path:\t\t%s\n", info.pathname);
514 mdb_printf("Inum:\t\t%d\n", info.inum);
516 intr_get_intr_type(info.intr_type));
517 if (info.intr_type == DDI_INTR_TYPE_MSI) {
518 mdb_printf("MSI Number:\t%d\n", info.num);
519 } else if (info.intr_type == DDI_INTR_TYPE_MSIX) {
520 mdb_printf("MSI-X Number:\t%d\n", info.num);
521 } else if (!info.intr_type) {
522 mdb_printf("PCIe Message #:\t%d\n", info.num);
526 info.shared ? "yes" : "no");
527 mdb_printf("State:\t\t%d (%s)\n", info.intr_state,
528 info.intr_state ? "Enabled" : "Disabled");
529 mdb_printf("INO:\t\t0x%x\n", info.ino_ino);
530 mdb_printf("Mondo:\t\t0x%x\n", info.mondo);
531 mdb_printf("Pil:\t\t%d\n", info.pil);
532 mdb_printf("CPU:\t\t%d\n", info.cpuid);
570 { "interrupts", "[-d]", "display the interrupt info registered with "