Lines Matching defs:intr_info
287 apic_get_intr_t intr_info;
331 intr_info.avgi_dip_list = NULL;
332 intr_info.avgi_req_flags =
339 info_hdl.ih_private = &intr_info;
351 intr_info.avgi_req_flags |= PSMGI_REQ_GET_DEVS;
378 if (intr_info.avgi_req_flags & PSMGI_REQ_GET_DEVS) {
395 if (intr_info.avgi_cpu_id == IRQ_UNBOUND ||
396 intr_info.avgi_cpu_id == IRQ_UNINIT)
399 iget->cpu_id = intr_info.avgi_cpu_id & ~PSMGI_CPU_USER_BOUND;
402 iget->num_devs = intr_info.avgi_num_devs;
405 if (intr_info.avgi_req_flags & PSMGI_REQ_GET_DEVS) {
411 iget->num_devs_ret = min(num_devs_ret, intr_info.avgi_num_devs);
418 pcitool_get_intr_dev_info(intr_info.avgi_dip_list[i],
422 kmem_free(intr_info.avgi_dip_list,
423 intr_info.avgi_num_devs * sizeof (dev_info_t *));
428 if (intr_info.avgi_req_flags & PSMGI_REQ_GET_DEVS) {
449 pcitool_intr_info_t intr_info;
455 if (ddi_copyin(arg, &intr_info, sizeof (pcitool_intr_info_t), mode) !=
462 if (intr_info.flags & PCITOOL_INTR_FLAG_GET_MSI)
470 intr_info.ctlr_type = PCITOOL_CTLR_TYPE_UPPC;
471 intr_info.ctlr_version = 0;
472 intr_info.num_intr = APIC_MAX_VECTOR;
474 intr_info.ctlr_version = (uint32_t)info_hdl.ih_ver;
475 intr_info.num_cpu = type_info.avgi_num_cpu;
478 intr_info.ctlr_type = PCITOOL_CTLR_TYPE_PCPLUSMP;
479 intr_info.num_intr = type_info.avgi_num_intr;
482 intr_info.ctlr_type = PCITOOL_CTLR_TYPE_APIX;
483 intr_info.num_intr = type_info.avgi_num_intr;
485 intr_info.ctlr_type = PCITOOL_CTLR_TYPE_UNKNOWN;
486 intr_info.num_intr = APIC_MAX_VECTOR;
490 intr_info.drvr_version = PCITOOL_VERSION;
491 if (ddi_copyout(&intr_info, arg, sizeof (pcitool_intr_info_t), mode) !=