Lines Matching refs:num_vectors
63 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dw_handle_msi_irq()
194 bit = bitmap_find_free_region(pp->msi_irq_in_use, pp->num_vectors, in dw_pcie_irq_domain_alloc()
236 pp->irq_domain = irq_domain_create_linear(fwnode, pp->num_vectors, in dw_pcie_allocate_domains()
313 if (pp->num_vectors > max_vectors) { in dw_pcie_parse_split_msi_irq()
316 pp->num_vectors = max_vectors; in dw_pcie_parse_split_msi_irq()
318 if (!pp->num_vectors) in dw_pcie_parse_split_msi_irq()
319 pp->num_vectors = max_vectors; in dw_pcie_parse_split_msi_irq()
342 if (!pp->num_vectors) in dw_pcie_msi_host_init()
343 pp->num_vectors = MSI_DEF_NUM_VECTORS; in dw_pcie_msi_host_init()
344 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dw_pcie_msi_host_init()
355 dev_dbg(dev, "Using %d MSI vectors\n", pp->num_vectors); in dw_pcie_msi_host_init()
457 if (!pp->has_msi_ctrl && !pp->num_vectors) { in dw_pcie_host_init()
458 pp->num_vectors = MSI_DEF_NUM_VECTORS; in dw_pcie_host_init()
459 } else if (pp->num_vectors > MAX_MSI_IRQS) { in dw_pcie_host_init()
747 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dw_pcie_setup_rc()