Home
last modified time | relevance | path

Searched refs:msi_vecs (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/s390/pci/
Dpci_irq.c274 unsigned int hwirq, msi_vecs, cpu; in arch_setup_msi_irqs() local
285 msi_vecs = min_t(unsigned int, nvec, zdev->max_msi); in arch_setup_msi_irqs()
289 bit = airq_iv_alloc(zpci_ibv[0], msi_vecs); in arch_setup_msi_irqs()
300 zdev->aibv = airq_iv_create(msi_vecs, AIRQ_IV_DATA | AIRQ_IV_BITLOCK, NULL); in arch_setup_msi_irqs()
314 if (hwirq - bit >= msi_vecs) in arch_setup_msi_irqs()
350 zdev->msi_nr_irqs = msi_vecs; in arch_setup_msi_irqs()
356 return (msi_vecs == nvec) ? 0 : msi_vecs; in arch_setup_msi_irqs()
/linux-6.6.21/arch/s390/kvm/
Dpci.c228 unsigned int msi_vecs, idx; in kvm_s390_pci_aif_enable() local
243 msi_vecs = min_t(unsigned int, fib->fmt0.noi, zdev->max_msi); in kvm_s390_pci_aif_enable()
289 zdev->aibv = airq_iv_create(msi_vecs, AIRQ_IV_DATA | in kvm_s390_pci_aif_enable()