Searched refs:msi_vecs (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/s390/pci/ |
H A D | pci_irq.c | 271 static int __alloc_airq(struct zpci_dev *zdev, int msi_vecs, in __alloc_airq() argument 276 *bit = airq_iv_alloc(zpci_ibv[0], msi_vecs); in __alloc_airq() 287 zdev->aibv = airq_iv_create(msi_vecs, AIRQ_IV_DATA | AIRQ_IV_BITLOCK, NULL); in __alloc_airq() 301 unsigned int hwirq, msi_vecs, irqs_per_msi, i, cpu; in arch_setup_msi_irqs() local 312 msi_vecs = min_t(unsigned int, nvec, zdev->max_msi); in arch_setup_msi_irqs() 313 if (msi_vecs < nvec) { in arch_setup_msi_irqs() 318 rc = __alloc_airq(zdev, msi_vecs, &bit); in arch_setup_msi_irqs() 335 if (hwirq - bit >= msi_vecs) in arch_setup_msi_irqs() 337 irqs_per_msi = min_t(unsigned int, msi_vecs, msi->nvec_used); in arch_setup_msi_irqs()
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pci.c | 228 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()
|