Home
last modified time | relevance | path

Searched refs:affd (Results 1 – 8 of 8) sorted by relevance

/linux/kernel/irq/
A Daffinity.c404 affd->nr_sets = 1; in default_calc_sets()
405 affd->set_size[0] = affvecs; in default_calc_sets()
427 if (nvecs > affd->pre_vectors + affd->post_vectors) in irq_create_affinity_masks()
428 affvecs = nvecs - affd->pre_vectors - affd->post_vectors; in irq_create_affinity_masks()
436 if (!affd->calc_sets) in irq_create_affinity_masks()
437 affd->calc_sets = default_calc_sets; in irq_create_affinity_masks()
440 affd->calc_sets(affd, affvecs); in irq_create_affinity_masks()
477 curvec = affd->pre_vectors + affvecs; in irq_create_affinity_masks()
484 for (i = affd->pre_vectors; i < nvecs - affd->post_vectors; i++) in irq_create_affinity_masks()
499 unsigned int resv = affd->pre_vectors + affd->post_vectors; in irq_calc_affinity_vectors()
[all …]
/linux/drivers/pci/
A Dmsi.c471 if (affd) in msi_setup_entry()
618 if (affd) in msix_setup_entries()
1003 struct irq_affinity *affd) in __pci_enable_msi_range() argument
1033 if (affd) { in __pci_enable_msi_range()
1076 if (affd) { in __pci_enable_msix_range()
1143 if (!affd) in pci_alloc_irq_vectors_affinity()
1144 affd = &msi_default_affd; in pci_alloc_irq_vectors_affinity()
1146 if (WARN_ON(affd)) in pci_alloc_irq_vectors_affinity()
1147 affd = NULL; in pci_alloc_irq_vectors_affinity()
1152 affd, flags); in pci_alloc_irq_vectors_affinity()
[all …]
/linux/drivers/scsi/csiostor/
A Dcsio_isr.c477 static void csio_calc_sets(struct irq_affinity *affd, unsigned int nvecs) in csio_calc_sets() argument
479 struct csio_hw *hw = affd->priv; in csio_calc_sets()
486 affd->nr_sets = 1; in csio_calc_sets()
487 affd->set_size[0] = nvecs; in csio_calc_sets()
491 affd->nr_sets = hw->num_pports; in csio_calc_sets()
493 affd->set_size[i] = nvecs / hw->num_pports; in csio_calc_sets()
/linux/include/linux/
A Dinterrupt.h340 irq_create_affinity_masks(unsigned int nvec, struct irq_affinity *affd);
343 const struct irq_affinity *affd);
383 irq_create_affinity_masks(unsigned int nvec, struct irq_affinity *affd) in irq_create_affinity_masks() argument
390 const struct irq_affinity *affd) in irq_calc_affinity_vectors() argument
A Dplatform_device.h75 struct irq_affinity *affd,
A Dpci.h1536 struct irq_affinity *affd);
/linux/drivers/base/
A Dplatform.c331 struct irq_affinity *affd, in devm_platform_get_irqs_affinity() argument
341 if (!affd) in devm_platform_get_irqs_affinity()
354 nvec = irq_calc_affinity_vectors(minvec, nvec, affd); in devm_platform_get_irqs_affinity()
378 desc = irq_create_affinity_masks(nvec, affd); in devm_platform_get_irqs_affinity()
/linux/drivers/nvme/host/
A Dpci.c2185 static void nvme_calc_irq_sets(struct irq_affinity *affd, unsigned int nrirqs) in nvme_calc_irq_sets() argument
2187 struct nvme_dev *dev = affd->priv; in nvme_calc_irq_sets()
2213 affd->set_size[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()
2215 affd->set_size[HCTX_TYPE_READ] = nr_read_queues; in nvme_calc_irq_sets()
2216 affd->nr_sets = nr_read_queues ? 2 : 1; in nvme_calc_irq_sets()
2222 struct irq_affinity affd = { in nvme_setup_irqs() local
2252 PCI_IRQ_ALL_TYPES | PCI_IRQ_AFFINITY, &affd); in nvme_setup_irqs()

Completed in 30 milliseconds