/linux-4.19.296/drivers/base/ |
D | platform-msi.c | 109 static void platform_msi_free_descs(struct device *dev, int base, int nvec) in platform_msi_free_descs() argument 115 desc->platform.msi_index < (base + nvec)) { in platform_msi_free_descs() 123 int nvec, in platform_msi_alloc_descs_with_irq() argument 136 for (i = 0; i < nvec; i++) { in platform_msi_alloc_descs_with_irq() 148 if (i != nvec) { in platform_msi_alloc_descs_with_irq() 150 platform_msi_free_descs(dev, base, nvec); in platform_msi_alloc_descs_with_irq() 158 static int platform_msi_alloc_descs(struct device *dev, int nvec, in platform_msi_alloc_descs() argument 162 return platform_msi_alloc_descs_with_irq(dev, 0, nvec, data); in platform_msi_alloc_descs() 196 platform_msi_alloc_priv_data(struct device *dev, unsigned int nvec, in platform_msi_alloc_priv_data() argument 206 if (!dev->msi_domain || !write_msi_msg || !nvec || nvec > MAX_DEV_MSIS) in platform_msi_alloc_priv_data() [all …]
|
/linux-4.19.296/drivers/pci/ |
D | msi.c | 35 static int pci_msi_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in pci_msi_setup_msi_irqs() argument 41 return msi_domain_alloc_irqs(domain, &dev->dev, nvec); in pci_msi_setup_msi_irqs() 43 return arch_setup_msi_irqs(dev, nvec, type); in pci_msi_setup_msi_irqs() 90 int __weak arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs() argument 97 return chip->setup_irqs(chip, dev, nvec, type); in arch_setup_msi_irqs() 102 if (type == PCI_CAP_ID_MSI && nvec > 1) in arch_setup_msi_irqs() 556 msi_setup_entry(struct pci_dev *dev, int nvec, const struct irq_affinity *affd) in msi_setup_entry() argument 563 masks = irq_create_affinity_masks(nvec, affd); in msi_setup_entry() 567 entry = alloc_msi_entry(&dev->dev, nvec, masks); in msi_setup_entry() 582 entry->msi_attrib.multiple = ilog2(__roundup_pow_of_two(nvec)); in msi_setup_entry() [all …]
|
D | xen-pcifront.c | 249 int vector[], int nvec) in pci_frontend_enable_msix() argument 258 .value = nvec, in pci_frontend_enable_msix() 264 if (nvec > SH_INFO_MAX_VEC) { in pci_frontend_enable_msix() 266 " Increase SH_INFO_MAX_VEC\n", nvec); in pci_frontend_enable_msix() 283 for (i = 0; i < nvec; i++) { in pci_frontend_enable_msix()
|
/linux-4.19.296/drivers/pci/pcie/ |
D | portdrv_core.c | 48 u32 nvec = 0, pos; in pcie_message_numbers() local 61 nvec = *pme + 1; in pcie_message_numbers() 73 nvec = max(nvec, *aer + 1); in pcie_message_numbers() 84 nvec = max(nvec, *dpc + 1); in pcie_message_numbers() 88 return nvec; in pcie_message_numbers() 102 int nr_entries, nvec; in pcie_port_enable_irq_vec() local 112 nvec = pcie_message_numbers(dev, mask, &pme, &aer, &dpc); in pcie_port_enable_irq_vec() 113 if (nvec > nr_entries) { in pcie_port_enable_irq_vec() 129 if (nvec != nr_entries) { in pcie_port_enable_irq_vec() 132 nr_entries = pci_alloc_irq_vectors(dev, nvec, nvec, in pcie_port_enable_irq_vec()
|
/linux-4.19.296/include/linux/ |
D | msi.h | 146 struct msi_desc *alloc_msi_entry(struct device *dev, int nvec, 182 int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type); 198 int nvec, int type); 246 struct device *dev, int nvec, 311 int nvec); 318 int platform_msi_domain_alloc_irqs(struct device *dev, unsigned int nvec, 324 int nvec, msi_alloc_info_t *args); 326 int virq, int nvec, msi_alloc_info_t *args); 329 unsigned int nvec, 336 unsigned int nvec);
|
D | interrupt.h | 302 struct cpumask *irq_create_affinity_masks(int nvec, const struct irq_affinity *affd); 337 irq_create_affinity_masks(int nvec, const struct irq_affinity *affd) in irq_create_affinity_masks() argument
|
D | pci.h | 1381 struct msix_entry *entries, int nvec) in pci_enable_msix_exact() argument 1383 int rc = pci_enable_msix_range(dev, entries, nvec, nvec); in pci_enable_msix_exact() 1410 struct msix_entry *entries, int nvec) in pci_enable_msix_exact() argument
|
/linux-4.19.296/drivers/irqchip/ |
D | irq-gic-v3-its-pci-msi.c | 65 int nvec, msi_alloc_info_t *info) in its_pci_msi_prepare() argument 96 nvec = max(nvec, alias_count); in its_pci_msi_prepare() 99 nvec = max_t(int, minnvec, roundup_pow_of_two(nvec)); in its_pci_msi_prepare() 100 return msi_info->ops->msi_prepare(domain->parent, dev, nvec, info); in its_pci_msi_prepare()
|
D | irq-gic-v3-its-fsl-mc-msi.c | 28 int nvec, msi_alloc_info_t *info) in its_fsl_mc_msi_prepare() argument 50 nvec = max_t(int, 32, roundup_pow_of_two(nvec)); in its_fsl_mc_msi_prepare() 51 return msi_info->ops->msi_prepare(msi_domain->parent, dev, nvec, info); in its_fsl_mc_msi_prepare()
|
D | irq-gic-v3-its-platform-msi.c | 58 int nvec, msi_alloc_info_t *info) in its_pmsi_prepare() argument 77 nvec = max_t(int, 32, roundup_pow_of_two(nvec)); in its_pmsi_prepare() 79 dev, nvec, info); in its_pmsi_prepare()
|
D | irq-gic-v3-its.c | 2372 int nvec, msi_alloc_info_t *info) in its_msi_prepare() argument 2414 its_dev = its_create_device(its, dev_id, nvec, true); in its_msi_prepare() 2420 pr_debug("ITT %d entries, %d bits\n", nvec, ilog2(nvec)); in its_msi_prepare()
|
/linux-4.19.296/drivers/thunderbolt/ |
D | nhi.c | 984 int res, irq, nvec; in nhi_init_msi() local 999 nvec = pci_alloc_irq_vectors(pdev, MSIX_MIN_VECS, MSIX_MAX_VECS, in nhi_init_msi() 1001 if (nvec < 0) { in nhi_init_msi() 1002 nvec = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_MSI); in nhi_init_msi() 1003 if (nvec < 0) in nhi_init_msi() 1004 return nvec; in nhi_init_msi()
|
/linux-4.19.296/include/xen/ |
D | events.h | 132 int pirq, int nvec, const char *name, domid_t domid);
|
/linux-4.19.296/drivers/xen/events/ |
D | events_base.c | 635 static int __must_check xen_allocate_irqs_dynamic(int nvec) in xen_allocate_irqs_dynamic() argument 637 int i, irq = irq_alloc_descs(-1, 0, nvec, -1); in xen_allocate_irqs_dynamic() 640 for (i = 0; i < nvec; i++) in xen_allocate_irqs_dynamic() 984 int pirq, int nvec, const char *name, domid_t domid) in xen_bind_pirq_msi_to_irq() argument 990 irq = xen_allocate_irqs_dynamic(nvec); in xen_bind_pirq_msi_to_irq() 994 for (i = 0; i < nvec; i++) { in xen_bind_pirq_msi_to_irq() 1010 while (nvec--) in xen_bind_pirq_msi_to_irq() 1011 __unbind_from_irq(irq + nvec); in xen_bind_pirq_msi_to_irq()
|
/linux-4.19.296/drivers/pci/controller/ |
D | pcie-rcar.c | 803 struct pci_dev *pdev, int nvec, int type) in rcar_msi_setup_irqs() argument 820 hwirq = rcar_msi_alloc_region(msi, nvec); in rcar_msi_setup_irqs() 828 for (i = 0; i < nvec; i++) { in rcar_msi_setup_irqs() 842 desc->nvec_used = nvec; in rcar_msi_setup_irqs() 843 desc->msi_attrib.multiple = order_base_2(nvec); in rcar_msi_setup_irqs()
|
D | vmd.c | 268 int nvec, msi_alloc_info_t *arg) in vmd_msi_prepare() argument 273 if (nvec > vmd->msix_count) in vmd_msi_prepare()
|
D | pci-hyperv.c | 908 int nvec, msi_alloc_info_t *info) in hv_msi_prepare() argument 910 int ret = pci_msi_prepare(domain, dev, nvec, info); in hv_msi_prepare()
|
/linux-4.19.296/fs/cifs/ |
D | transport.c | 235 int nvec; in smb_rqst_len() local 241 nvec = rqst->rq_nvec - 1; in smb_rqst_len() 244 nvec = rqst->rq_nvec; in smb_rqst_len() 248 for (i = 0; i < nvec; i++) in smb_rqst_len()
|
D | smb2misc.c | 829 smb311_update_preauth_hash(struct cifs_ses *ses, struct kvec *iov, int nvec) in smb311_update_preauth_hash() argument 864 for (i = 0; i < nvec; i++) { in smb311_update_preauth_hash()
|
D | smb2proto.h | 243 struct kvec *iov, int nvec);
|
D | cifsproto.h | 431 unsigned int *nbytes, struct kvec *iov, const int nvec);
|
/linux-4.19.296/drivers/misc/cxl/ |
D | vphb.c | 30 static int cxl_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in cxl_setup_msi_irqs() argument
|
/linux-4.19.296/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 570 struct amd_ntb_vec *nvec = dev; in ndev_vec_isr() local 572 return ndev_interrupt(nvec->ndev, nvec->num); in ndev_vec_isr()
|
/linux-4.19.296/fs/dlm/ |
D | lowcomms.c | 633 int nvec; in receive_from_sock() local 664 nvec = 1; in receive_from_sock() 674 nvec = 2; in receive_from_sock() 677 iov_iter_kvec(&msg.msg_iter, READ | ITER_KVEC, iov, nvec, len); in receive_from_sock()
|
/linux-4.19.296/drivers/ntb/hw/intel/ |
D | ntb_hw_gen1.c | 349 struct intel_ntb_vec *nvec = dev; in ndev_vec_isr() local 351 dev_dbg(&nvec->ndev->ntb.pdev->dev, "irq: %d nvec->num: %d\n", in ndev_vec_isr() 352 irq, nvec->num); in ndev_vec_isr() 354 return ndev_interrupt(nvec->ndev, nvec->num); in ndev_vec_isr()
|