Lines Matching defs:req
665 int req;
700 err = ddi_intr_get_nintrs(dip, DDI_INTR_TYPE_MSI, &req);
711 f, driver, instance, iommu->aiomt_idx, req);
714 if (req == 0) {
742 if (avail < req) {
746 req, avail);
751 iommu->aiomt_intr_htable_sz = req * sizeof (ddi_intr_handle_t);
757 /* Convert req to a power of two as required by ddi_intr_alloc */
759 while (1<<p2req <= req)
762 req = 1<<p2req;
767 f, driver, instance, iommu->aiomt_idx, p2req, req);
771 DDI_INTR_TYPE_MSI, 0, req, &actual, DDI_INTR_ALLOC_STRICT);
789 if (iommu->aiomt_actual_intrs < req) {
791 "ddi_intr_alloc failed: actual (%d) < req (%d)",
793 iommu->aiomt_actual_intrs, req);